Hide a menu (NSMenu)

Chad Armstrong edenwaith at mac.com
Sun Oct 28 14:03:17 PDT 2007


Hello:

In my main application's menu (MyApp > About MyApp, Preferences,  
etc...) I have a Registration menu item.  Is there a simple way to  
hide the Registration menu item once the program has been  
successfully registered?  I've looked through NSMenuItem and  
NSControl reference documents, but I'm not finding a simple way to do  
so.  Or perhaps this is something that is not normally intended?  Or  
would I be better off just inserting the menu item when the NIB is  
loading?

Regards,

Chad


More information about the MacOSX-dev mailing list