Re: NSPanel, changing the look of the min button
Re: NSPanel, changing the look of the min button
- Subject: Re: NSPanel, changing the look of the min button
- From: Kyle Sluder <email@hidden>
- Date: Mon, 2 Aug 2010 14:53:06 -0700
On Aug 2, 2010, at 2:47 PM, Tony Romano <email@hidden> wrote:
> NSButton *minButton = [[self window] standardWindowButton:NSMiniaturizableWindowMask];
You're using the wrong flag here. You want one of the NSWindowButton flags. See the documentation for -standardWindowButton:.
>
> The second question is, how do I completely hide the resize button, it's disabled via IB, but the button still shows(albeit disabled).
You don't hide this button as that violates the HIG.
--Kyle Sluder_______________________________________________
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