Re: [Q] Hiding zoom & minimize buttons
Re: [Q] Hiding zoom & minimize buttons
- Subject: Re: [Q] Hiding zoom & minimize buttons
- From: Joe Strout <email@hidden>
- Date: Wed, 22 Oct 2008 10:00:11 -0600
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 without a zoom button?
I don't see an option in IB to remove this button. And, if I disable
the minimize control in IB, the button still shows up, just grayed
out.
That's how it's supposed to be. Consider a color-blind user. Since
all three buttons are now round circles (yes, a step backwards from
the OS9 UI, but there's naught we can do about that), the only way a
color-blind user can tell which is which, before mousing over it, is
by position. If you could remove one or two, he'd be mightily annoyed
and the usability of your app would suffer. So, AFAIK, Apple doesn't
allow you to do it.
Best,
- Joe
_______________________________________________
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