Re: Set background color to NSToolbar
Re: Set background color to NSToolbar
- Subject: Re: Set background color to NSToolbar
- From: Fritz Anderson <email@hidden>
- Date: Sat, 30 Jun 2007 18:47:41 -0500
On 30 Jun 2007, at 11:42 AM, Lorenzo wrote:
How to set the background color to a NSToolbar?
You can't. It's not an NSView, it doesn't expose an NSView, and it
doesn't have an API for drawing or changing colors.
Unpublished API may make an NSView or drawing code accessible (you
may want to play with, or search the net for, the _toolbarView
mentioned in the header). But it may not be easy, and Apple may some
day make it impossible. Or (I don't know Apple's plans), Apple may
change the appearance of windows and toolbars in a way that makes
your innovation look bad.
I believe people in your position use their own toolbar views, and
not NSToolbar.
— F
_______________________________________________
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