Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ukma!gatech!dcatla!dlmnm From: dlmnm@dcatla.UUCP (Michael N. Moran) Newsgroups: comp.sys.mac.programmer Subject: TransSkel update events Message-ID: <16127@dcatla.UUCP> Date: 30 Mar 89 20:52:10 GMT Reply-To: dlmnm@dcatla.UUCP () Organization: DCA Inc., Alpharetta, GA Lines: 24 I'm trying to use TransSkel for the first time to create an application. I would like to use a common update procedure for all windows of a particular type. I plan to keep the particulars for a given window in a structure pointed to by the refCon field of the window record. 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? Any ideas? I could modify my version of TransSkel ... but ... Comments? Suggestions? thanks, mike