Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!olivea!samsung!zaphod.mps.ohio-state.edu!wuarchive!kuhub.cc.ukans.edu!mlab2 From: mlab2@kuhub.cc.ukans.edu Newsgroups: comp.sys.mac.programmer Subject: Problem: QuickDraw doesn't (offscreen drawing) Message-ID: <27924.279351b1@kuhub.cc.ukans.edu> Date: 16 Jan 91 01:02:09 GMT Organization: University of Kansas Academic Computing Services Lines: 23 I have a number of offscreen bitmaps going in LSP. Now for something really strange... One of my offscreen maps is called offVirginPort. So, calling SetPort(offVirginPort); and then framing and filling rectangles, should give me said graphics offscreen. A quick CopyBits from the offscreen to the screen should show me my handiwork. It doesn't. But it did for a while. It worked for all of two days. Then one day, it's not drawing. It will do it to the ONscreen if the main window is the active port, but not offscreen. CopyBits bring me nothing more than what was already in the offscreen. No rectangles. My clipRect is large, I have the memory allocated for my project bumped way up, all I did was add some more PICT resources to the programs resource fork. When the resource map is read in, can it write over an open port? Is there a way to protect a port? Has anyone ever had this problem? Perhaps I'll rehash the whole app from scratch and watch it very carefully. I thought perhaps if someone had encountered this anommally before it could save me a lot of time and frustration. Thanks in advance. john calhoun