Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ames!ll-xn!mit-eddie!bu-cs!dartvax!eleazar.dartmouth.edu!erics From: erics@eleazar.dartmouth.edu (Eric Schlegel) Newsgroups: comp.sys.mac.programmer Subject: Re: Centering Dialogs Message-ID: <10132@dartvax.Dartmouth.EDU> Date: 20 Sep 88 18:45:42 GMT References:Sender: news@dartvax.Dartmouth.EDU Reply-To: erics@eleazar.dartmouth.edu (Eric Schlegel) Organization: Dartmouth College, Hanover, NH Lines: 22 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. > There are several ways this could be done: (1) Center over >ScreenBits.Bounds, which would probably put the dialog between screens. >(2) Always center on the main screen (the one with the menu bar). (3) >Try to locate the screen with the frontmost window, and center on it. >(4) Center the dialog on the screen that the cursor is currently >pointing on. I would use either 2 or 4; probably 2, since it seems to me that stuff like dialogs should come up on the main screen; but I don't have two screens, and if the cursor were on another screen perhaps this would be inconvenient. Just a personal opinion...what do others think? ------ Eric Schlegel | DISCLAIMER: I'm just a poor college student, eric.schlegel@dartmouth.edu | which means I'm not responsible for what I | say and I can't pay you if you sue me anyway.