Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!wuarchive!psuvax1!psuvm!cxt105 From: CXT105@psuvm.psu.edu (Christopher Tate) Newsgroups: comp.sys.mac.misc Subject: Re: Centering Dialog Boxes on the Macintosh Message-ID: <90257.165534CXT105@psuvm.psu.edu> Date: 14 Sep 90 20:55:34 GMT References: <11818@chaph.usc.edu> <378@disuns2.epfl.ch> <1990Sep14.005540.13570@midway.uchicago.edu> Followup-To: comp.sys.mac.programmer Organization: Penn State University Lines: 18 Apple's Human Interface Notes discuss the appropriate positioning of alerts and dialogs. In summary, you place the dialog such that it is centered left-to-right, and placed top-to-bottom such that 1/3 of the remaining Y-axis space on the screen (excluding what's taken up by the dialog itself) is above the dialog. This is pretty easy to accomplish; somebody already posted a method for twiddling with the dialog's definition before you display it, using DialogTHndl's, etc. (Followups directed to comp.sys.mac.programmer) ------- Christopher Tate | "Oh wow: not only is 57 | prime, but it's also Bitnet: cxt105@psuvm | divisible by three!" Uucp: ...!psuvax1!psuvm.bitnet!cxt105 | Internet: cxt105@psuvm.psu.edu | - a very sincere math major