• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSMenuValidation properly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: NSMenuValidation properly (From: "Martin" <email@hidden>)

  • Prev by Date: Re: CFDateFormatter + time zone = failure or crash
  • Next by Date: Re: cocoa/DVDPlayback example code?
  • Previous by thread: Re: NSMenuValidation properly
  • Next by thread: NSObjectController and the undo manager
  • Index(es):
    • Date
    • Thread