Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!usc!apple!agate!saturn!ssyx.ucsc.edu!sirkm From: sirkm@ssyx.ucsc.edu (Greg Anderson) Newsgroups: comp.sys.mac.programmer Subject: Re: Finding the size of the screen under Multifinder/Color QD Message-ID: <10276@saturn.ucsc.edu> Date: 11 Jan 90 05:45:43 GMT References: <10139@saturn.ucsc.edu> <9429@hoptoad.uucp> <1102@urbana.mcd.mot.com> <10164@saturn.ucsc.edu> <9490@hoptoad.uucp> <1990Jan5.234652.4485@santra.uucp> <9530@hoptoad.uucp> <4594@helios.ee.lbl.gov> <9591@hoptoad.uucp> Sender: usenet@saturn.ucsc.edu Reply-To: sirkm@ssyx.ucsc.edu (Greg Anderson) Organization: UC Santa Cruz; Division of Social Sciences Lines: 20 In article <9591@hoptoad.uucp> tim@hoptoad.UUCP (Tim Maroney) writes: >In article <4594@helios.ee.lbl.gov> beard@ux1.lbl.gov (Patrick C Beard) writes: >>I've used the OpenPort strategy before and it does work. >True enough, but the comments about stack space, heap space, and >processing overhead still apply. It's far more efficient to just look >at screenBits.bounds than it is to open and close a port on the stack. The OpenPort method worked fine for me too, but for the reasons previously mentioned, I'd like to try looking directly at the QuickDraw variables. My question is, how do you reference the A5 register from MPW C? Think's "CurrentA5" isn't recognized in MPW. >Tim Maroney, Mac Software Consultant, sun!hoptoad!tim, tim@toad.com ___\ /___ Greg Anderson ___\ /___ \ \ / / Social Sciences Computing \ \ / / \ /\/\ / University of California, Santa Cruz \ /\/\ / \/ \/ sirkm@ssyx.ucsc.edu \/ \/