Re: NSMenuValidation properly
Re: NSMenuValidation properly
- Subject: Re: NSMenuValidation properly
- From: "Sean McBride" <email@hidden>
- Date: Mon, 7 Feb 2005 11:24:17 -0500
- Organization: Rogue Research
On 2005-02-05 16:17, Martin said:
>>>I've been able to activate/deactivate my NSMenuItems,
>>>but I haven't been able to deactivate their parents.
>>
>>As far as I'm aware, this is a bug (or standard behavior) in Cocoa, and
>>there's nothing you can do about it.
>
>I've always liked this behavior myself. Even if you can't use the menu
>items it's nice to be able to browse potential options.
You can still browse potential options even if the menu is disabled,
being disabled doesn't prevent the menu from being pulled down.
The HIG does say: "If all of a menu's commands are unavailable (dimmed)
at the same time, dim the menu title. (The Menu Manager in Carbon does
this automatically if you set the kMenuAttrAutoDisable attribute.) Users
should still be able to open a dimmed menu to see its contents." and "If
all of a submenu's commands are unavailable (dimmed) at the same time,
dim the submenu title."
I must admit I am a bit amused that one gets this for free in Carbon and
not Cocoa. :)
As such, I'd say one should file a bug.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden