Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!usc!snorkelwacker.mit.edu!bloom-beacon!vaxeline!bootsie!olson From: olson@bootsie.uucp (Eric K. Olson) Newsgroups: comp.sys.mac.programmer Subject: Re: bug in the pedestal Message-ID: <1991Feb27.212057.18234@bootsie.uucp> Date: 27 Feb 91 21:20:57 GMT References: <1991Feb26.223231.3046@vax5.cit.cornell.edu> Distribution: comp Organization: Lexington Software Design, Lexington, MA Lines: 24 In article <1991Feb26.223231.3046@vax5.cit.cornell.edu> a5uy@vax5.cit.cornell.edu writes: >In the sample application Pedestal included with THINK C, there is an override >of CView::DoClick given in CPedestalPane. This method CPedestalPane::DoClick >never gets called. I am trying to use Pedestal as a skeleton for my >application; my application has inherited the bug - my DoClick does not work. >I have traced it with the debugger and found that for some reason the override >is ignored so CView::DoClick (which does nothing) gets called whenever the >mouse is clicked. This is because the CPedestalPane is a subclass of CPanorama, which, by default, has wantsClicks set to FALSE. Add: SetWantsClicks(TRUE); after the CPanorama::IPanorama() call in CPedestalPane::IPedestalPane. -Eric -- Eric K. Olson, Editor, Prepare() NOTE: olson@bootsie.uucp doesn't work Lexington Software Design Internet: olson@endor.harvard.edu 72A Lowell St., Lexington, MA 02173 Uucp: harvard!endor!olson (617) 863-9624 Bitnet: OLSON@HARVARD