Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!casbah.acns.nwu.edu!jln From: jln@casbah.acns.nwu.edu (John Norstad) Newsgroups: comp.sys.mac.programmer Subject: Re: MacApp model dialogs (was Re: Scrolling lists in dialogs) Message-ID: <2218@casbah.acns.nwu.edu> Date: 18 Dec 90 22:20:29 GMT Sender: news@casbah.acns.nwu.edu Organization: Northwestern University Lines: 16 References:<22233@well.sf.ca.us> <3607@uakari.primate.wisc.edu> Apple's Human Interface Note #6 gives guidelines for the centering of dialogs and alerts. Dialogs and alerts should sometimes be centered on the "main" screen (the one containing the menu bar), and sometimes on the screen which has the maximum intersection with the frontmost window. I have a reusable MPW C routine which does this centering according to the guidelines. It's part of my Disinfectant sample source code (module utl, routine utl_CenterDlogRect). Write to me if you'd like a copy. Sorry - this has nothing to do with either MacApp or srolling lists in dialogs :-) John Norstad Academic Computing and Network Services Northwestern University jln@casbah.acns.nwu.edu