Re: [Q] Hiding zoom & minimize buttons

2008-10-22 Thread glenn andreas
On Oct 22, 2008, at 10:13 AM, Eric Gorr wrote: On Oct 22, 2008, at 10:53 AM, Michael Ash wrote: On Wed, Oct 22, 2008 at 10:36 AM, Eric Gorr <[EMAIL PROTECTED]> wrote: I found this old thread: http://lists.apple.com/archives/cocoa-dev/2006/Mar/msg01864.html and I would like to know the sa

Re: [Q] Hiding zoom & minimize buttons

2008-10-22 Thread Gordon Apple
[self window] standardWindowButton:NSWindowZoomButton] setFrame:NSZeroRect]; } On 10/22/08 12:36 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Message: 4 > Date: Wed, 22 Oct 2008 11:13:32 -0400 > From: Eric Gorr <[EMAIL PROTECTED]> > Subject: Re: [Q] Hid

Re: [Q] Hiding zoom & minimize buttons

2008-10-22 Thread Joe Strout
On Oct 22, 2008, at 8:36 AM, Eric Gorr wrote: While it is possible to obtain the button by doing: NSButton *miniaturizeButton = [myWindow standardWindowButton:NSWindowMiniaturizeButton]; [miniaturizeButton removeFromSuperview]; this results in a crash. Also, how can one create a window wit

Re: [Q] Hiding zoom & minimize buttons

2008-10-22 Thread Eric Gorr
On Oct 22, 2008, at 10:53 AM, Michael Ash wrote: On Wed, Oct 22, 2008 at 10:36 AM, Eric Gorr <[EMAIL PROTECTED]> wrote: I found this old thread: http://lists.apple.com/archives/cocoa-dev/2006/Mar/msg01864.html and I would like to know the same thing. Unfortunately, the old thread did not

Re: [Q] Hiding zoom & minimize buttons

2008-10-22 Thread Michael Ash
On Wed, Oct 22, 2008 at 10:36 AM, Eric Gorr <[EMAIL PROTECTED]> wrote: > I found this old thread: > > http://lists.apple.com/archives/cocoa-dev/2006/Mar/msg01864.html > > and I would like to know the same thing. Unfortunately, the old thread did > not conclude with an answer. > > While it is possib

[Q] Hiding zoom & minimize buttons

2008-10-22 Thread Eric Gorr
I found this old thread: http://lists.apple.com/archives/cocoa-dev/2006/Mar/msg01864.html and I would like to know the same thing. Unfortunately, the old thread did not conclude with an answer. While it is possible to obtain the button by doing: NSButton *miniaturizeButton = [myWindow sta