home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-07-15 | 714 b | 24 lines | [TEXT/ttxt] |
- StandardGetFolder example
-
- Steve Falkenburg -- MacDTS
-
- This sample uses the new System 7 CustomGetFile routine
- to provide a StandardGetFolder call to be used by applications
- when the user needs to select a folder instead of a file.
-
- It's written in Think C, but should work in MPW if a few #include
- files are added.
-
- The style of the dialog box is taken from the Human Interface note
- on folder selection.
-
- 10/30/91
-
- -------------------
-
- 5/2/92 -- added check for refCon==sfMainDialogRefCon in filter and hook routines
- for compatibility with things which throw up windows in front of standard file.
-
- 5/2/92 -- added MakeFSSpec call to insure that the filename field in the fsspec gets
- filled in.
-