Re: Change titlecolor from NSWindow
Re: Change titlecolor from NSWindow
- Subject: Re: Change titlecolor from NSWindow
- From: Marcus Karlsson <email@hidden>
- Date: Tue, 3 Oct 2006 16:54:56 +0200
On 3 okt 2006, at 16.48, Stephen Deken wrote:
But just in case that a black background on the toolbar would be a
good idea, how would one do to change the title color?
I'm not clear on what's being asked here, really. Are we talking
about the title bar of the window (e.g., with the close buttons and
whatnot), or are we talking about the actual toolbar (e.g.,
NSToolbarItem)?
Sorry. I meant the title bar of the window.
Changing the color of the window's title bar relies on private classes
that could change in the future, and so it's problematic and difficult
at best. It would be easier for you to just use
NSBorderlessWindowMask and draw the title bar and other stuff
yourself. There's some good discussion about that on CocoaDev:
http://www.cocoadev.com/index.pl?BorderlessWindow
Thank you.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden