Re: Setting NSWindow titlebar height
Re: Setting NSWindow titlebar height
- Subject: Re: Setting NSWindow titlebar height
- From: lbland <email@hidden>
- Date: Mon, 4 Jan 2010 08:13:03 -0500
On Jan 4, 2010, at 7:59 AM, Jeremy Pereira wrote:
>> I have a window that looks like this right now:
>>
>> http://img22.imageshack.us/img22/2953/screenshot20100103at123.png
>>
>> I've removed the titlebar buttons and everything
>
> Why? How does the user make the Window go away/hide without the title bar buttons?
>
> Perhaps I'm being unfair since I don't know what this window is for, but it seems like a huge waste of time and energy to try to do difficult things that break the Apple human interface guidelines.
>
>> , however there is still that space at the top where the titlebar usually is. Is there a way to remove that space (in other words, a way to set the height of the title bar?). Moving up the NSToolbar would work too, is that possible?
hi-
Use
NSBorderlessWindowMask
and make your own UI elements (the resize handle) and event handling.
There are plenty of examples of weird windows. See:
/Applications/Stickes
I can think of lots of examples that should use stylistic windows beyond the boring normal type.
thanks!-
-lance_______________________________________________
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