• 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: Setting NSWindow titlebar height
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Setting NSWindow titlebar height (From: PCWiz <email@hidden>)
 >Re: Setting NSWindow titlebar height (From: Jeremy Pereira <email@hidden>)

  • Prev by Date: Re: Why is [NSArray arrayWithObjects:] failing for me?
  • Next by Date: Re: Why is [NSArray arrayWithObjects:] failing for me?
  • Previous by thread: Re: Setting NSWindow titlebar height
  • Next by thread: Re: Landscape view drawing as if in portrait mode
  • Index(es):
    • Date
    • Thread