Two help menus
Two help menus
- Subject: Two help menus
- From: Simon Bovet <email@hidden>
- Date: Wed, 20 Apr 2005 15:23:28 +0200
If a window is displayed before the application finishes launching
(e.g. by calling some [NSApp runModalForWindow:...] before the
[appDelegate applicationDidFinishLaunching:]), the menu bar will
display two help items: the one coming from the MainMenu.nib, and
another one containing one single default item "MyApp Help".
How can I remove this second Help menu from the menu bar? It is not
contained in the [NSApp mainMenu], can't be reached neither with class
posing nor with the carbon API...
Any help warmly appreciated!
NB: I know that it is a strange programming technique to display a
window before the application finishes launching (and probably finishes
initializing everything correctly). In my case, I need to display a
license agreement confirmation dialog before the application display
anything else (such as splash screen). [NSApp runModalForWindow:] is
actually called from the [appDelegate awakeFromNib].
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden