Take a look at the documentation for NSMenu and NSMenuItem. You can
get your application's menu bar by calling [NSApp mainMenu]
Omar Qazi
Synergick Software
1.310.294.1593
On Dec 27, 2007, at 12:47 PM, Eric PETIT wrote:
I want to enable or disable one menuitem of one menu of my
application menubar according to the value of a Boolean variable.
How to reach a menuitem of a menu of the application menubar ?
When I reached it, how to enable or disable it ?
Tanks
Eric PETIT
_______________________________________________
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