Re: forcing menu validation
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