Path: utzoo!utgpu!watserv1!watmath!att!att!rutgers!usc!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!alberta!cpsc.ucalgary.ca!news From: wieser@cs-sun-fsd.cpsc.ucalgary.ca (Bernhard Wieser) Newsgroups: comp.sys.mac.programmer Subject: Re: SFPGetFile Keywords: A4 SFGetFile dlgHook Message-ID: <1990Nov3.165421.16708@cpsc.ucalgary.ca> Date: 3 Nov 90 16:54:21 GMT References: <1990Nov3.032143.27001@cpsc.ucalgary.ca> Organization: U. of Calgary Computer Science Lines: 7 Nntp-Posting-Host: cs-sun-fsd Maybe I should also mention, that reply->fType contains the directory ID if it is a folder, and not the file type. What I ended up doing, was doing a call to PBGetCatInfo with this ID, hence getting the name and volume which I set before returning to SFGetFile. If it was a file, I just returned getOkay instead of getCancel. Seems to work charmingly.