Description
This article is from the Mac Programming
FAQ, by Jon Watte h+@austin.metrowerks.com with numerous
contributions by others.
4.12) How do I set what folder should initially be shown in the SFGetFile boxes? (Files - Mac Programming)
You stuff the dirID you want to show into the lo-mem global
CurDirStore, and the NEGATIVE of the vRefNum you want into the lo-mem
global SFSaveDisk.
If you are using CustomGetFile and return sfSelectionChanged from an
"init" message handler, you must remember to clear the script code, else
the selection will not change.
 
Continue to:
Share and Enjoy
Bookmark this story so others can enjoy it:
Tags
os, Mac, macintosh, apple, programming, software