• 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
What is the highlight color for a selected row in a table/outline view?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What is the highlight color for a selected row in a table/outline view?


  • Subject: What is the highlight color for a selected row in a table/outline view?
  • From: "Doug Knowles" <email@hidden>
  • Date: Wed, 15 Aug 2007 22:27:59 -0400

I'm probably missing something fundamental, but how do I find the color used
to highlight the selected row(s) in an NSTableView/NSOutlineView?
I've tried [NSColor selectedTextBackgroundColor] (the text highlight color
from the Appearance Preferences), and it's the correct color, but too light.
 None of the other similar NSColor methods I've tried seem to deliver this
color, either.

I need it because I've implemented a heavy-weight table cell (using an
NSView; I know this is discouraged, but I really need it), and I need to
render my cells the same as those in neighboring columns with normal cells.

Can someone put me out of my misery?

TIA,
Doug K;
_______________________________________________

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: What is the highlight color for a selected row in a table/outline view?
      • From: PGM <email@hidden>
  • Prev by Date: Re: Copyright Info from InfoPlist.strings
  • Next by Date: Re: What is the highlight color for a selected row in a table/outline view?
  • Previous by thread: Re: Copyright Info from InfoPlist.strings
  • Next by thread: Re: What is the highlight color for a selected row in a table/outline view?
  • Index(es):
    • Date
    • Thread