Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!labrea!Portia!Jessica!rdsesq From: rdsesq@Jessica.stanford.edu (Rob Snevely) Newsgroups: comp.sys.mac.programmer Subject: Re: Ptrs, Handles, & Stuff Keywords: LSP, Pascal, problem Message-ID: <425@Portia.Stanford.EDU> Date: 21 Feb 89 23:21:29 GMT References: <7208@spool.cs.wisc.edu> <2466@ilium.cs.swarthmore.edu> Sender: news@Portia.Stanford.EDU Reply-To: rdsesq@Jessica.stanford.edu (Rob Snevely) Distribution: usa Organization: Stanford University Lines: 21 Hello, I hope that someone out there can help me. I seem to be having a problem In short: I call SetWindowPic to put a pict in to a window, this stores the picHandle in the window record. When I call disposeWindow, It disposes the window but does not dispose the picHandle. I can use disposHandle, but I can't figure out where SetWindowPic is putting the handle in the window record. And inside Mac does'nt want to tell me where SetWindowPic is putting the picHandle in the window record. This is all from inside mac Vol 1. Any ideas or does someone know where I can find a solution. I would think that disposeWindow should get rid of it, but according to inside Mac if you are reading the picture from a resource, it does not. Please e-mail me or post if you think it would be of general interest. Thanx in advance, Hope to hear from somebody. rob snevely rdsesq@jessica.stanford.edu