cote@subsys.enet.dec.com (12/03/90)
I am trying to modify a SFGetFile dialog box to allow me to select a list of files rather than just a single file. I have the actual dialog modified and use a dialog hook routine to process the extra button in the dialog. All of this works fine. The problem that I am having is that when the dialog hook is called the fName field in the SFReply record is filled in correctly but the vRefNum field is not. Inside MAC says that the directory ID of the directory being displayed is stored in the global variable CurDirStore and that this variable can be used instead of the vRefNum during a dialog hook routine. That is well and good. The question is "What do I do with CurDirStore?" The value in the global does not correspond to any value that I receive in the SFReply record after the SFGetFile dialog ends. Do I have to go down to the driver level and set a working directory? I would much rather be able to use the high level routines provided. All I need to do is to execute FSOpen on each of the files selected. MPAC