Hi list,

is there a way to obtain the background color of Finder's sidebar programmatically? In active (i.e. frontmost) and inactive state? I've searched the documentation and looked up NSColorList to no avail.

Of course it it rather easy to "steal" the colors from Finder and set them to [NSColor colorWithDeviceRed: 214/256.0 green: 221/256.0 blue: 229/256.0 alpha: 1.0 ] and [NSColor colorWithDeviceRed: 232/256.0 green: 232/256.0 blue: 232/256.0 alpha: 1.0 ] respectively,
but I'd rather not hard-wire this.

Cheers,

Knut

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to