Path: utzoo!attcan!uunet!lll-winken!lll-ncis!helios.ee.lbl.gov!pasteur!ucbvax!decwrl!labrea!polya!chao From: chao@polya.Stanford.EDU (Chih-Chao Lam) Newsgroups: comp.sys.mac.programmer Subject: SFPGetFile Question Keywords: accessing vRefNum in dlgHook Message-ID: <5959@polya.Stanford.EDU> Date: 8 Jan 89 07:18:06 GMT Organization: Stanford University Lines: 10 I am using my own dlgHook in a SFPGetFile call. I need to access the vRefNum of the current file being selected in the Standard Open File Dialog box. I know it's file name from sfReply.fname but sfReply.vRefNum doesn't seem to be giving me the right information. How can I get the vRefNum of the current file before the user chooses "open" or "cancel"? Thanks in advance, Chih Chao