Re: Application Help menu duplicated at runtime
Re: Application Help menu duplicated at runtime
- Subject: Re: Application Help menu duplicated at runtime
- From: Bill Cheeseman <email@hidden>
- Date: Tue, 13 Apr 2004 14:23:41 -0400
on 2004-04-13 11:49 AM, Jeremy Dronfield at email@hidden
wrote:
>
I've just added Apple Help to my application, registered the help book
>
appropriately, and got it all working. My problem is that I've now got
>
*two* Help menus - the one I created in IB, plus another that gets
>
created spontaneously at runtime. I can't simply delete my own Help
>
menu, because it's got extra items in it (Acknowledgements, Report a
>
Bug etc). How can I prevent this extra menu being created?
This has been discussed on the list previously, but I don't recall the
explanation -- check the mamasam archives.
I just ran into the problem last weekend. When I added an NSRunAlertPanel
call in my -awakeFromNib method, I started seeing two Help menus where I had
seen only one before. When I moved the NSRunAlertPanel call to the
-applicationDidFinishLaunching delegate method, after my main app window is
shown, the second Help menu went away.
Not sure why it works this way. It seems like I should be able to present an
alert panel before the main window opens, if I want to.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.