Re: What is the highlight color for a selected row in a table/outline view?
Re: What is the highlight color for a selected row in a table/outline view?
- Subject: Re: What is the highlight color for a selected row in a table/outline view?
- From: PGM <email@hidden>
- Date: Wed, 15 Aug 2007 23:23:08 -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;
It actually is alternateSelectedControlColor. However, the name and
description in the docs do not really seem to be very well appropriate.
Cheers, Patrick
_______________________________________________
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