• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Change titlecolor from NSWindow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Change titlecolor from NSWindow (From: Philippe Heinrich Regenass <email@hidden>)
 >Re: Change titlecolor from NSWindow (From: Ricky Sharp <email@hidden>)
 >Re: Change titlecolor from NSWindow (From: Philippe Heinrich Regenass <email@hidden>)
 >Re: Change titlecolor from NSWindow (From: John Stiles <email@hidden>)
 >Re: Change titlecolor from NSWindow (From: Marcus Karlsson <email@hidden>)

  • Prev by Date: Re: Change titlecolor from NSWindow
  • Next by Date: NSLayoutManager - measuring text with trailing space
  • Previous by thread: Re: Change titlecolor from NSWindow
  • Next by thread: Cange NSImage DPI
  • Index(es):
    • Date
    • Thread