• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Two help menus
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Category or Protocol? (sidetrack)
  • Next by Date: Re: Printing large DB reports
  • Previous by thread: Re: LSMinimumVersion, 10.4 string and 10.3.9 OS
  • Next by thread: Writing a system daemon in Cocoa and keeping things secure
  • Index(es):
    • Date
    • Thread