Article View: comp.sys.next.programmer
Article #612Re: NXBrowser highlighting probs
From: Ray Spalding
Date: Fri, 10 Apr 1992 17:49
Date: Fri, 10 Apr 1992 17:49
22 lines
1331 bytes
1331 bytes
In article <1992Apr7.060045.3044@talon.ucs.orst.edu> mcgredo@bluto.ie.orst.edu writes:
>I've got a problem with a subclass of NXBrowserCell.
>I've reimplemented the drawInside:inView: method and am using it in a normal
>NXBrowser. The highlighting of selected cells seems to work inconsistently.
I had the same problem. My workaround was to override the
highlight:inView:lit: method, also--
- highlight:(const NXRect *)cellFrame inView:controlView lit:(BOOL)lit
{
cFlags1.highlighted = lit != 0;
[self drawSelf:cellFrame inView:controlView];
return self;
}
It appears that the NXBrowserCell method of the same name doesn't
use drawInside:inView:
--
Ray Spalding, Technical Services, Office of Information Technology
Georgia Institute of Technology, Atlanta Georgia, 30332-0715
uucp: ...!{allegra,amd,hplabs,ut-ngp}!gatech!prism!cc100aa
Internet: cc100aa@prism.gatech.edu
Technical Details
Message-ID:
<54201@hydra.gatech.EDU>Path:
arc1-ca.pugleaf.net!sparky!news.UU.NET!ogicse!uwm.edu!cs.utexas.edu!swrinde!gatech!prism!cc100aaReferences:
<1992Apr7.060045.3044@talon.ucs.orst.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!news.UU.NET!ogicse!uwm.edu!cs.utexas.edu!swrinde!gatech!prism!cc100aa From: cc100aa@prism.gatech.EDU (Ray Spalding) Newsgroups: comp.sys.next.programmer Subject: Re: NXBrowser highlighting probs Message-ID: <54201@hydra.gatech.EDU> Date: 10 Apr 92 17:49:25 GMT Article-I.D.: hydra.54201 References: <1992Apr7.060045.3044@talon.ucs.orst.edu> Organization: Georgia Institute of Technology Lines: 22