Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!Apple.COM!lsr From: lsr@Apple.COM (Larry Rosenstein) Newsgroups: comp.sys.mac.programmer Subject: Re: Window Manager Problem... Message-ID: <2375@internal.Apple.COM> Date: 15 Jun 89 02:02:50 GMT References: <14618@pasteur.Berkeley.EDU> Sender: usenet@Apple.COM Distribution: na Organization: Objects-R-Us, Apple Computer, Inc. Lines: 19 In article <14618@pasteur.Berkeley.EDU> pfile@cory.Berkeley.EDU (Rob Pfile) writes: > SetWindowPic(window2,myPicHandle); > > has no effect on the window's grafport, according to LSC's debugger. The picture field is in the Window Manager portion of the data. WindowPtr is declared as being the same as a grafPort, so if LSC is using this definition as the basis of what to show, then you won't see any change. If you cast the WindowPtr to a WindowPeek, then you should see the change. (I haven't used LSC, but in LSP 2.0, there is a debugging tool to cast a value to a different type.) Larry Rosenstein, Apple Computer, Inc. Object Specialist Internet: lsr@Apple.com UUCP: {nsc, sun}!apple!lsr AppleLink: Rosenstein1