• 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: forcing menu validation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: forcing menu validation


  • Subject: Re: forcing menu validation
  • From: "Kyle Sluder" <email@hidden>
  • Date: Wed, 19 Nov 2008 21:16:06 -0500

On Wed, Nov 19, 2008 at 9:12 PM, Mudi Dandan <email@hidden> wrote:
> Is there any way to force a menu validation?

Did you miss the documentation for -autoenablesItems?  The Application
Menu and Pop-up List Progamming Topics for Cocoa guide describes your
options:

1. Automatic menu enabling
2. Calling -setEnabled: manually.

http://developer.apple.com/documentation/Cocoa/Conceptual/MenuList/Articles/EnablingMenuItems.html#//apple_ref/doc/uid/20000261

So you can't force validation through the NSMenuValidation protocol.
You can only either take the reins or go hands-off.

--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

  • Follow-Ups:
    • Re: forcing menu validation
      • From: Mudi Dandan <email@hidden>
References: 
 >forcing menu validation (From: Mudi Dandan <email@hidden>)

  • Prev by Date: forcing menu validation
  • Next by Date: Re: Decomposing an interface into separate nibs
  • Previous by thread: forcing menu validation
  • Next by thread: Re: forcing menu validation
  • Index(es):
    • Date
    • Thread