On Nov 15, 2008, at 12:58 PM, Knut Lorenzen wrote:
is there a way to obtain the background color of Finder's sidebar programmatically?
Yes, if you have an NSOutlineView instance in SourceList display mode you can just use its -backgroundColor is to get the correct color. Refreshing whatever you draw whenever your window receives a NSWindowDidBecomeMainNotification or NSWindowDidResignMainNotification notification will keep it in sync with the outline view background when the window becomes active and inactive.
Regards Markus -- __________________________________________ Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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]