Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!dewey.soe.berkeley.edu!oster From: oster@dewey.soe.berkeley.edu (David Phillip Oster) Newsgroups: comp.sys.mac.programmer Subject: Re: Window classes Message-ID: <29684@ucbvax.BERKELEY.EDU> Date: 15 Jun 89 02:39:10 GMT References: <3949@hacgate.scg.hac.com> <32367@apple.Apple.COM> <5202@pt.cs.cmu.edu> <5209@pt.cs.cmu.edu> <2478@molokai.sw.mcc.com> <2480@molokai.sw.mcc.com> Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: oster@dewey.soe.berkeley.edu.UUCP (David Phillip Oster) Distribution: usa Organization: School of Education, UC-Berkeley Lines: 7 Inside Mac vol 1. says: the window kind holds the refNum of d.a. windows (that aren't dialogs.) It also says the application may store integers >= userkind into the windowKind field. I use it this way as one way of telling my windows from other windows, and telling them apart. Note, the d.a. version means that you can implement a menu command "close" that will close not only your windows, but also desk accessory windows: (send them a CloseDeskAcc( (((WindowPeek) FrontWindow())->windowKind); ).