• 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: Jerry Krinock <email@hidden>
  • Date: Sun, 1 Feb 2009 05:43:05 -0800


On 2009 Feb 01, at 2:50, Graham Cox wrote:

The...

colour set in System Preferences > Appearance > Highlight Color (for selected text)


is returned by +[NSColor selectedTextBackgroundColor].

Thanks - indeed it is. And I found another one all by myself, with a good guess!...


The method which, I would say, "returns the gray background color used behind selected text when its view is not the key view", +secondarySelectedControlColor, is described in the documentation as "returns the system color used in non-key views." ?!?!?!?

I sent 'em a little Feedback on that one.

_______________________________________________

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


  • Follow-Ups:
    • Re: +[NSColor highlightColor] returns white instead of actual color
      • From: Jerry Krinock <email@hidden>
References: 
 >Re: +[NSColor highlightColor] returns white instead of actual color (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Serial IO seems to be starving UI
  • Next by Date: Re: +[NSColor highlightColor] returns white instead of actual color
  • Previous by thread: Re: +[NSColor highlightColor] returns white instead of actual color
  • Next by thread: Re: +[NSColor highlightColor] returns white instead of actual color
  • Index(es):
    • Date
    • Thread