Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!labrea!polya!kaufman From: kaufman@polya.Stanford.EDU (Marc T. Kaufman) Newsgroups: comp.sys.mac.programmer Subject: Re: TransSkel update events Message-ID: <8099@polya.Stanford.EDU> Date: 31 Mar 89 02:44:04 GMT References: <16127@dcatla.UUCP> Sender: Marc T. Kaufman Reply-To: kaufman@polya.Stanford.EDU (Marc T. Kaufman) Organization: Stanford University Lines: 18 In article <16127@dcatla.UUCP> dlmnm@dcatla.UUCP () writes: .The problem is that TransSkel does not provide the window update .procedure with the window pointer. I suppose it assumes the .update procedure is associated with a particular window. For most .events this works fine since FrontWindow can be used to get the .window pointer. In the case where a window other than the one .in front receives an update event, there is no way for the update .procedure to know with which window the event is associated. .Why isn't the window pointer passed as an argument to this procedure? .Or... am *I* missing something? The Current Grafport [c.f: Getport(&thisport)] is the port you want, not the front window. You should check the source code when you have questions of this type. Marc Kaufman (kaufman@polya.stanford.edu)