• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re:NSBrowserCell state and isHighlighted -- Solution
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Globally modify "new document" behavior in document-based applications
  • Next by Date: [ANN] Macresearch has interview with Aaron Hillegass
  • Previous by thread: Re: Globally modify "new document" behavior in document-based applications
  • Next by thread: [ANN] Macresearch has interview with Aaron Hillegass
  • Index(es):
    • Date
    • Thread