Path: utzoo!attcan!uunet!cs.utexas.edu!execu!sequoia!natinst!brian From: brian@natinst.com (Brian H. Powell) Newsgroups: comp.sys.mac.programmer Subject: FilterProc with Standard File Message-ID: <2768@natinst.natinst.com> Date: 11 May 89 15:07:27 GMT Organization: National Instruments, Austin, TX Lines: 26 We want to use our own FilterProc (not the file-filter type, but the modal dialog type) with Standard file (SFPGetFile, SFPPutFile). The problem is that we lose the ability to handle things like * typing scrolls the list of files * arrow keys scrolling the list of files * tab switches disks * popup on the folder name shows you a list of folders * etc. (You know, all the normal stuff you usually see.) How can we get all this behavior and have our own filterProc also? It appears that Standard File is using it's own filterProc if you don't supply one, and it does most of this stuff for you. The Proc is in the middle of the PACK resource somewhere, so there's no convenient way of programmatically getting to the right code. Any suggestions, either on how to get the Mac to do what we want directly, or on how to duplicate the operation of the Standard File filter in our own filter? Thanks in advance. Brian H. Powell National Instruments Corp. brian@natinst.com 12109 Technology Blvd. uunet!cs.utexas.edu!natinst!brian Austin, Texas 78727-6204 AppleLink:NATINST (512) 250-9119