[comp.sys.mac.programmer] centering Alerts and/or StandardFile on the screen

oster@well.sf.ca.us (David Phillip Oster) (04/11/90)

In article <Apr.6.09.27.09.1990.15486@athos.rutgers.edu> wiechman@athos.rutgers.edu (NightMeower) writes:
>To remain compatible you will not want to use screenbits.
He is completely wrong about this. Consider the following 3 screen 
configuration:

+--------+------------+
|        |            |
|        |            |
|        |            |
|        +------------+
|        |    
|        | 
|        |    
|        +------------+
|        |            |
|        |            |
|        |            |
+--------+------------+

If you center over the whole desktop, you'll put your dialogs in the hole,
where they will be invisible. If your center with respect to screenBits.bounds
your dialogs will be in the cente4r of the main screen (the one with the
menu bar.)
-- 
-- David Phillip Oster - Note new address. Old one has gone Bye Bye.
-- oster@well.sf.ca.us = {backbone}!well!oster