Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!ucbvax!THUMPER.BELLCORE.COM!nsb From: nsb@THUMPER.BELLCORE.COM (Nathaniel Borenstein) Newsgroups: comp.soft-sys.andrew Subject: Re: Parents, just don't understand. Message-ID: Date: 26 Jul 90 17:20:11 GMT References: <4afktOe0z7FZMKvUUa@informatics.noname> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 10 For any subclass of view, you should be able to do: ((struct view *) self)->parent Of course, there should be a method (macromethod) for this, so that you could instead do fooview_GetParent(self) but in the absence of that method, the hack above should work. -- NB