Re:NSBrowserCell state and isHighlighted -- Solution
Re:NSBrowserCell state and isHighlighted -- Solution
- Subject: Re:NSBrowserCell state and isHighlighted -- Solution
- From: Greg Hoover <email@hidden>
- Date: Sun, 28 Jan 2007 02:18:52 -0800
I found a solution. Apparently you need to check the state as well
as isHighlighted. This works for me:
if ([self state] || [self isHighlighted])
[[self highlightControlInView:controlView] set]
Greg
I've run into this same problem overriding drawInteriorWithFrame.
Any solution?
Thanks.
Greg
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden