Re: Setting NSWindow titlebar height

2010-01-04 Thread Jeremy Pereira
On 3 Jan 2010, at 19:41, PCWiz 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?

Setting NSWindow titlebar height

2010-01-03 Thread PCWiz
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, 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

Re: Setting NSWindow titlebar height

2010-01-03 Thread Alexander Heinz
You could try calling NSWindow's setBorderThickness:forEdge: on NSMaxYEdge. Don't know if it will work, but that would be where I would start. HTH, Alex On Jan 3, 2010, at 11:41 AM, PCWiz wrote: I have a window that looks like this right now:

Re: Setting NSWindow titlebar height

2010-01-03 Thread PCWiz
I already tried that, but also in the docs it mentions that setContentBorderThickness for NSMaxYEdge only works on textured windows (which mine isn't) Independent Cocoa Developer, Macatomy Software http://macatomy.com On 2010-01-03, at 1:50 PM, Alexander Heinz wrote: You could try calling

Re: Setting NSWindow titlebar height

2010-01-03 Thread Joar Wingfors
On 3 jan 2010, at 11.41, PCWiz wrote: I've removed the titlebar buttons and everything, 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?). The only way I know would be