• 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
Skinny NSPanel titlebar for NSWindow?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Skinny NSPanel titlebar for NSWindow?


  • Subject: Skinny NSPanel titlebar for NSWindow?
  • From: Russ <email@hidden>
  • Date: Fri, 7 Nov 2008 17:51:35 -0800 (PST)

I'd like to be able to create NSWindows with the skinny titlebar of NSPanels, programmatically, without having to use NSPanel --- I've subclassed NSWindow, so if I need to create an NSPanel instead I'll have to have a duplicate subclass for the panel, which gets ugly.

Is there a way to get the panel's skinny title bar  with an NSWindow style ? I've tried the NSUtilityWindowMask and NSDocModalWindowMask constants when creating an NSWindow, but with no change. What's the necessary incantation? This was trivial with Carbon's kFloatingWindowClass

Thanks.




_______________________________________________

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

  • Follow-Ups:
    • Re: Skinny NSPanel titlebar for NSWindow?
      • From: j o a r <email@hidden>
  • Prev by Date: Trouble with layer-backed view on NSPreferencePane
  • Next by Date: Re: Skinny NSPanel titlebar for NSWindow?
  • Previous by thread: Trouble with layer-backed view on NSPreferencePane
  • Next by thread: Re: Skinny NSPanel titlebar for NSWindow?
  • Index(es):
    • Date
    • Thread