Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!amdahl!twg.com!lefty From: lefty@twg.com (David N. Schlesinger) Newsgroups: comp.sys.mac.programmer Subject: Re: Help figuring screen size in a DA! Message-ID: <170@gollum.twg.com> Date: 21 Feb 90 00:59:16 GMT Sender: news@twg.com Distribution: usa Organization: The Wollongong Group Lines: 21 References:<1990Feb15.164818.24121@ncsuvx.ncsu.edu> <168@gollum.twg.com> In article <168@gollum.twg.com> I wrote: > What I'd do is use the GrafPort pointed to by the low-memory global > WMgrPort (at location 0x9DE). As Tom Dowdy of Apple (dowdy@apple.COM) has pointed out to me, there's a perfectly good ROM call, GetWMgrPort(), which will return a pointer to the Window Manager's GrafPort. As Tom says, "Using low memory when there is a ROM call available is a really bad idea." I agree. Mea culpa, mea maxima culpa... Lefty =========================================================================== David N. Schlesinger || "There's a word for it: words don't The Wollongong Group || mean a thing. There's a name for it; Internet: Lefty@twg.com || names make all the difference in the POTS: 415/962-7219 || world..." -- David Byrne ===========================================================================