Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!swrinde!emory!mephisto!udel!princeton!cs!idunno!ginger.princeton.edu!larsen From: larsen@ginger.princeton.edu (Michael Larsen) Newsgroups: comp.sys.mac.programmer Subject: Re: Drawing all over the desktop Message-ID: <997@idunno.Princeton.EDU> Date: 29 Jun 90 20:52:12 GMT References: <995@idunno.Princeton.EDU> Sender: news@idunno.Princeton.EDU Reply-To: larsen@ginger.Princeton.EDU (Michael Larsen) Organization: Princeton University Lines: 19 In article <995@idunno.Princeton.EDU> larsen@ginger.Princeton.EDU (Michael Larsen) writes: > >THE PROBLEM: Before you open any windows, you can draw freely on the desktop. >Once you open a window, however, all quickdrawing is clipped to its structure >region. Thanks to all the people who replied, and enough already! The answers I received suggested two approaches. One was to set thePort to DeskPort, as documented in IM I. Unfortunately, I can't find DeskPort in the index of my copy of Inside Macintosh, nor is it defined in any of the obvious .h files in Think C 3.0, so I can't comment on this approach. The second suggestion was to change the *clipRgn* of thePort. Apparently, NewWindow sets the clipRgn of the WMgrPort to the structure region of the newborn window. Set the clipRgn to screenBits.bounds, and you can tromp all over the complement of the menu bar at will. Thanks again to those who responded. -Michael Larsen