Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!gatech!prism!vsserv!loligo!pepke From: pepke@loligo (Eric Pepke) Newsgroups: comp.sys.mac.programmer Subject: Re: window madness Message-ID: <244@vsserv.scri.fsu.edu> Date: 4 Oct 89 19:37:39 GMT References: <2485@dogie.macc.wisc.edu> <3143@ilium.cs.swarthmore.edu> <1989Oct4.184445.4500@agate.berkeley.edu> Sender: news@vsserv.scri.fsu.edu Reply-To: pepke@loligo.UUCP (Eric Pepke) Organization: Supercomputer Computations Research Institute Lines: 21 In article <1989Oct4.184445.4500@agate.berkeley.edu> lippin@math.berkeley.edu writes: >A safer way is to make your own port, using OpenPort. This gives you >the whole screen to play with, and you don't have to worry about the >system depending on the port's fields in some obscure way. ... >Finally, there is a tech note on this subject; it would be best to >read it before trying any of this. Tech note 194. Basically you declare a port, open it with OpenPort, and set its visRgn to the return value of GetGrayRgn and its portRect to the bounds of the region. That's roughly what it says, anyway. Eric Pepke INTERNET: pepke@gw.scri.fsu.edu Supercomputer Computations Research Institute MFENET: pepke@fsu Florida State University SPAN: scri::pepke Tallahassee, FL 32306-4052 BITNET: pepke@fsu Disclaimer: My employers seldom even LISTEN to my opinions. Meta-disclaimer: Any society that needs disclaimers has too many lawyers.