• 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: NSTitlebar?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTitlebar?


  • Subject: Re: NSTitlebar?
  • From: Ryan Stevens <email@hidden>
  • Date: Mon, 26 Dec 2005 12:20:26 -0800


On Dec 26, 2005, at 8:06 AM, August Trometer wrote:

Hello!

I have subclassed NSWindow to change it's standard appearance. Is there a way to access the titlebar (via a subclass, for example)? I've seen the transparent window code, of course, but I can't seem to find a way to add back the standard titlebar. Obviously, I'd rather not have to re-implement the Zoom and Title widgets, as those are pretty standard across all windows. Is there something similar to an NSTitleBar?

August


No, there's no supported way to get at the title bar but it can be done. Grab one of the standardWindowButtons and from there I think you can dink around to get the other pieces.
_______________________________________________
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: 
 >NSTitlebar? (From: August Trometer <email@hidden>)

  • Prev by Date: Re: Newbie Confusion: Bindings & NSTextField
  • Next by Date: Re: Cocoa multithreading in C (terrible idea, isn't it?)
  • Previous by thread: NSTitlebar?
  • Next by thread: Newbie Confusion: Bindings & NSTextField
  • Index(es):
    • Date
    • Thread