Path: utzoo!attcan!uunet!husc6!mailrus!ames!elroy!cit-vax!tybalt.caltech.edu!sho From: sho@tybalt.caltech.edu (Sho Kuwamoto) Newsgroups: comp.sys.mac.programmer Subject: Re: Centering alerts Message-ID: <6998@cit-vax.Caltech.Edu> Date: 20 Jun 88 09:34:42 GMT References: <3222@polyslo.UUCP> Sender: news@cit-vax.Caltech.Edu Reply-To: sho@tybalt.caltech.edu.UUCP (Sho Kuwamoto) Organization: California Institute of Technology Lines: 27 In article <3222@polyslo.UUCP> dorourke@polyslo.UUCP (David O'Rourke) writes: > > It's not very difficult to implment a routine to do this, I have! I have >a call called "CenterNewDialog" which takes the same parameters as GetNewDialog >but it centers the dialog before returning to the caller. I think it's about >8 - 12 lines of pascal. > > I don't really think it's a rough spot on the Mac's OS. It's such a simple >routine I don't think it warrents ROM space. >-- >David M. O'Rourke What happens when there is more than one screen? Programmers may have different ideas about how to deal with this, and other questions, which leads inevitably to a less consistent user interface. BTW, is there some compelling reason why SF(Get/Put)File use regular windows instead of color ones on a Mac II? Maybe you need it to insure that it works with modified SF dialog boxes. I have never actually put custom fields into the SF dialog box, and I don't have my Inside Mac handy with me, but I'm assuming that the OS should be able to tell whether or not the user has changed something... The upshoot of all of this is that when I use all 256 colors, they have to be swapped out to make room for the old style QD colors. -Sho (sho@tybalt.caltech.edu, sho@caltech.bitnet, ...!cit-vax!tybalt!sho)