Skinny NSPanel titlebar for NSWindow?
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