Path: utzoo!attcan!uunet!mcvax!unido!iraun1!smurf!urlichs From: urlichs@smurf.UUCP (Matthias Urlichs) Newsgroups: comp.sys.mac.programmer Subject: Re: Dialogs in Init Code Message-ID: <742@smurf.UUCP> Date: 18 Jan 89 21:08:27 GMT References: <20488@ames.arc.nasa.gov> <10050065@accuvax.nwu.edu> <11712@dartvax.Dartmouth.EDU> <23784@apple.Apple.COM> Reply-To: urlichs@smurf.ira.uka.de (Matthias Urlichs) Organization: Smurf-O-Box Karlsruhe, FRG Lines: 33 In comp.sys.mac.programmer parent@Apple.COM (Sean Parent) writes: < In article <11712@dartvax.Dartmouth.EDU>, erics@eleazar.dartmouth.edu (Eric Schlegel) writes: < > < > I recall hearing that Mac DTS recommends not using the Dialog Manager during < > INIT time. A better solution is simply to use QuickDraw directly to draw < > the dialog. < < I would also not recommend putting up a dialog at init time because it will < blast out the show init icons. Like AppleShare, for instance? :-) Seriously, Apple should consider keeping to its own guidelines and recommendations. I would rather want to know exactly how AppleShare does go about displaying its dialog box, instead of telling us "you're not supposed to do that". < [...] display a dialog after the machine is fully started. This could < be done with a patch to GetNextEvent or SystemTask. If you just want to display something, I think you could use the Notification manager. Would probably leave a small memory block lying around, but patching GNE/ST would do that also. (You can't unpatch it because you never know what went on after your patch.) If it's more complicated, then it's probably a driver and doesn't need to patch GNE/ST at all because it gets called at SystemTask time anyway... < Disclaimer: I do not recommend any of the above methods and they may break on < some future release. So is AppleShare? Disclaimer: This is just as chaotic as trying to get a dialog showing at INIT time, although I wouldn't mind being proved wrong. -- Matthias Urlichs -- Humboldtstrasse 7 -- 7500 Karlsruhe 1 -- FRG urlichs@smurf.ira.uka.de -- ++49+721-621127@PTT