Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!boulder!pratt From: pratt@csn.org (Jonathan Pratt) Newsgroups: comp.sys.mac.programmer Subject: Changes to Standard File under System 7 Message-ID: <1991May31.055056.13676@colorado.edu> Date: 31 May 91 05:50:56 GMT References: <16448@reed.UUCP> Sender: news@colorado.edu (The Daily Planet) Organization: University of Colorado Boulder, OCS Lines: 22 Nntp-Posting-Host: fred.colorado.edu I'd like someone in the know to tell me the reasoning behind a couple of annoying changes to the old standard file calls under the new system. In SFPGetFile and SFPPutFile the supplied filterprocs no longer receive update events for windows other than the standard file box. This causes a cosmetic breakage in quite a few apps that used these events to update their back windows. Is there now a non-painful way to provide this updating under both System 7 and 6.0.x? In SFPGetFile, when you enter zero for the number of file types you now get all the files, whereas before you got none, which was convenient for setting directories. I know you can easily work around this by supplying a file filter, but what's the point of this change? You could already use numTypes = -1 if you wanted to see all the files. Jonathan -- /* Jonathan Pratt Internet: pratt@boulder.colorado.edu * * UCHSC, Box A034 uucp: ..!ncar!boulder!pratt * * 4200 E. Ninth Ave. * * Denver, CO 80262 Phone: (303) 270-7801 */