• 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: +[NSColor highlightColor] returns white instead of actual color
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: +[NSColor highlightColor] returns white instead of actual color


  • Subject: Re: +[NSColor highlightColor] returns white instead of actual color
  • From: "Stephen J. Butler" <email@hidden>
  • Date: Sun, 1 Feb 2009 01:26:51 -0600

On Sun, Feb 1, 2009 at 1:11 AM, Jerry Krinock <email@hidden> wrote:
> I'm overriding -[NSTableView highlightSelectionInClipRect:] because I don't
> want all the columns of the selected row to be highlighted.  Works fine
> except +[NSColor highlightColor] returns white instead of actual highlight
> color I have set in System Preferences > Appearance, which is green.

>From the docs: "Returns the system color that represents the virtual
light source on the screen."

You want +[NSColor controlHighlightColor].
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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

References: 
 >+[NSColor highlightColor] returns white instead of actual color (From: Jerry Krinock <email@hidden>)

  • Prev by Date: +[NSColor highlightColor] returns white instead of actual color
  • Previous by thread: +[NSColor highlightColor] returns white instead of actual color
  • Index(es):
    • Date
    • Thread