Path: utzoo!attcan!uunet!cs.utexas.edu!usc!wuarchive!julius.cs.uiuc.edu!apple!agate!ucbvax!andrew.cmu.edu!tpn+ From: tpn+@andrew.cmu.edu (Tom Neuendorffer) Newsgroups: comp.soft-sys.andrew Subject: Re: how to get class info from a celview? Message-ID: Date: 17 Oct 90 16:13:41 GMT References: <0b6mkAn02mCPQVATpT@gargoyle> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 22 Excerpts from mail: 16-Oct-90 how to get class info from .. Bill Schell@allegra.temp (1140+1) > When the routines connected to the menu items get called, they are called > with a celview pointer. However, what I want to access from those > menu routines is the class data for the class I've defined with ADEW. > (called testlist in my case). Can I get there from here? The static FindSelf() routine, created by createcon and included in your testlist object, can be used by your menu routine. When passed a pointer to any view in the application, FindSelf() will return a pointer to the relevant testlist object. Tom Neuendorffer (tpn@andrew.cmu.edu) Information Technology Center Carnegie Mellon University 4910 Forbes Ave. Pittsburgh, Pa. 15213-3890 Phone: (412) 268-6108 Fax: (412) 268-6787