Disabling Menu Items.
Disabling Menu Items.
- Subject: Disabling Menu Items.
- From: MANISH CHATURVEDI <email@hidden>
- Date: Fri, 23 Feb 2007 18:08:43 +0530 (IST)
Hi list,
I've created the Menu of my cocoa application using Interface builder.I want to disable the sub menu "Prefrences.." when my application runs.I think I need to override the method -(void)validateMenuItem:
to Enable/Disable the menu,but not sure how to use this.Is there is any document for this?
Should I use the NSMenuItem methods to do this? I've seen some sample code for this but again unsure about the creation of Menu.Can I use the NSMenuItem methods to enable/disable the menu at run time.
Any help is useful!
Thanks!
Manish.
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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