Hide a menu (NSMenu)
David Dunham
dunham at mac.com
Sun Oct 28 14:29:21 PDT 2007
On 28 Oct 2007, at 14:03, Chad Armstrong wrote:
> 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?
Can't you use -[NSMenu removeItem:]?
David Dunham A Sharp, LLC
Voice/Fax: 206 783 7404 http://a-sharp.com
"People seem to misinterpret complexity as sophistication" -- Niklaus
Wirth
More information about the MacOSX-dev
mailing list