Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!sun-barr!decwrl!ucbvax!hoptoad!tim From: tim@hoptoad.uucp (Tim Maroney) Newsgroups: comp.sys.mac.programmer Subject: Re: Finding the size of the screen under Multifinder/Color QD Message-ID: <9591@hoptoad.uucp> Date: 10 Jan 90 09:23:48 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> Reply-To: tim@hoptoad.UUCP (Tim Maroney) Organization: Eclectic Software, San Francisco Lines: 13 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. In fact, if you >just open a classic GrafPort, you don't need to go through the tests you >show above. 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. -- Tim Maroney, Mac Software Consultant, sun!hoptoad!tim, tim@toad.com "Genuinely skillful use of obscenities is uniformly absent on the Internet." -- Karl Kleinpaste on gnu.gcc