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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to