Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!stjhmc!p88.f15.n300.z1.fidonet.org!Lawson.English From: Lawson.English@p88.f15.n300.z1.fidonet.org (Lawson English) Newsgroups: comp.sys.mac.programmer Subject: Multiple Inheritance in Think C (help!) Message-ID: <5092.27E39C9A@stjhmc.fidonet.org> Date: 13 Mar 91 17:16:24 GMT Sender: ufgate@stjhmc.fidonet.org (newsout1.26) Organization: FidoNet node 1:300/15.88 - Tucson Apple Core, Tucson AZ Lines: 19 Bassel Soudan writes in a message to All BS> The whole problem is that I need to cast the entries in the itsElements BS> list to be able to pass them the Draw message that I got. If BS> anyone knows a way to bypass this casting requirement, that might BS> solve my problem Are all of your elements sub-classes of CPane? If so, just cast them to CPane. If not, well, why not? All the ones that you mentioned are? Is there a special reason not to have them all CPane-based? Lawson -- Uucp: ...{gatech,ames,rutgers}!ncar!asuvax!stjhmc!300!15.88!Lawson.English Internet: Lawson.English@p88.f15.n300.z1.fidonet.org