Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucsd!rutgers!njin!princeton!cs!idunno!ginger.princeton.edu!larsen From: larsen@ginger.princeton.edu (Michael Larsen) Newsgroups: comp.sys.mac.programmer Subject: Drawing all over the desktop Message-ID: <995@idunno.Princeton.EDU> Date: 29 Jun 90 13:45:08 GMT Sender: news@idunno.Princeton.EDU Reply-To: larsen@ginger.Princeton.EDU (Michael Larsen) Organization: Princeton University Lines: 19 I know that Apple doesn't want applications to draw all over the desktop. Since I'm doing it anyway, though, I need advice in order to do it as cleanly as possible. At the moment I'm checking screen depth and writing into video memory, but I would prefer a quickdraw solution. 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. WHAT DOESN'T WORK: I've tried (temporarily) setting WindowList to 0. I've tried setting the strucRgn of the window to a screen-sized rectangle. I've traced LineTo with MacsBugs to see where it finds the window dimension, but the memory location doesn't seem to correspond to any of my global variables or any low-memory global I know about. This is a very basic quickdraw question, but none of the documentation I have (Inside Macintosh, Tech Notes) seems to address it. Anyone know the answer? -Michael Larsen