[comp.sys.mac.programmer] How to select folders from within SFPGetFile?

jtn@ADS.COM (John T. Nelson) (02/09/91)

The subject says it all.  I'd like to use SFPGetFile and a dialogHook
function to select not files but folders from within the SF file list.
I've tried doing this and its really rough.  You can decend into a
directory and then hit a custom button in your own dialog resource
which gets you, at best, the vRefNum of the folder you were in but
this doesn't seem like a very good solution.

SFGet stuff doesn't seem to be at all geared towards selecting folders
and that's a real oversight because there are many instances when you
want to select afolder, for example to process all the files in the
folder.

Anyone got any code or pointers they can share that would help me to
accomplish this task?




--
ORGANIZATION:  Advanced Decision Systems   GEOGRAPHIC: Arlington, VA
UUCP:          kzin!speaker@mimsy.umd.edu  INTERNET:   jtn@potomac.ads.com
SPOKEN:        John T. Nelson              PHONE:      (703) 243-1611