Path: utzoo!dciem!trigraph!john From: john@trigraph.UUCP (John Chew) Newsgroups: comp.sys.mac.programmer Subject: Re: Centering Dialogs Message-ID: <402@trigraph.UUCP> Date: 20 Sep 88 16:44:22 GMT Article-I.D.: trigraph.402 References:Reply-To: poslfit@gpu.utcs.toronto.edu Organization: Trigraph Inc., Toronto, Canada Lines: 30 Summary: a bad way of doing it In article rj0z+@andrew.cmu.edu (Robert George Johnston, Jr.) writes: > Centering alert and dialog boxes is relative straight forward >on a single screen system, but what do you do when there are two or >more screens connected to the system? I tried to find some mention >of how this should be handled in IM, but did not. I've seen this mentioned before here, and your suggestion (centred on the screen containing the mouse) seems the most reasonable, but since you ask for alternatives, how about this for brain-damaged? The first time your application is run, obtain the size of the main (menu bar) screen and store it in a configuration file. Thereafter, refer to that file for screen size information, even if the physical monitor configuration changes. Who would do such a thing? I don't want to name names, but I must say I get tired of having to re-build configuration files for a well- known MICROcomputer SOFTware house's WORD-processing package... (I apologize for the reference to the above-unmentioned software and fervently hope that this does not trigger another futile discussion of its merits and faults....) John Chew -- john j. chew, iii poslfit@utorgpu.bitnet trigraph, inc. poslfit@gpu.utcs.toronto.edu toronto, canada {uunet!mnetor!utzoo,utgpu,utcsri}!trigraph!john [it is my opinion that these are solely my opinions.]