Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!agate!pasteur!cory.Berkeley.EDU!pfile From: pfile@cory.Berkeley.EDU (Rob Pfile) Newsgroups: comp.sys.mac.programmer Subject: Window Manager Problem... Message-ID: <14618@pasteur.Berkeley.EDU> Date: 14 Jun 89 01:45:30 GMT Sender: news@pasteur.Berkeley.EDU Reply-To: pfile@cory.Berkeley.EDU (Rob Pfile) Followup-To: comp.sys.mac.programmer Distribution: na Organization: University of California, Berkeley Lines: 36 I am using LSC 3.0 to finally begin programming on the Mac. I have a Mac II with 2MB memory... I am having a problem calling SetWindowPic() from LSC. I have generated a PICT, and have a handle to the picture, as well as a pointer to a window... WindowPtr window2; PicHandle myPicHandle; SetWindowPic(window2,myPicHandle); has no effect on the window's grafport, according to LSC's debugger. I tried using casts to make sure the function was getting the right types, but that did not work either.... What gives here? I know the version of LSC is a bit old, but I have not upgraded yet. Is this the problem? What I am trying to do here is play around with different ways to save images in windows for refresh during updateevents and activateevents. I have already managed to save the image in an offscreen PixMap, but I was just trying out different techniques. Does anyone know what the fastest way to restore and save pixmap data from the screen? Would if be faster to record a PICT or use the Offscreen techniques? Thanks. I'm totally stumped. Rob Pfile pfile@cory.berkeley.edu ...!ucbvax!cory!pfile