Re: Multiple Help menus in Jaguar
Re: Multiple Help menus in Jaguar
- Subject: Re: Multiple Help menus in Jaguar
- From: Michael James <email@hidden>
- Date: Thu, 29 Aug 2002 17:58:33 -0400
Don't worry about it. I figured out the problem last night. My app
checks my website to see if there's a later version of the program
available, and if so, presents a dialog to the user asking if they
would like to go to the website to download it.
I was doing this in my application delegate's
-applicationWillFinishLaunching: method. When you see the dialog, you
get the application menu and help menu on the menu bar. After you
dismiss the dialog the menus in the .nib file appear (this includes
another help menu, thus making 2 help menus when the app's main window
appears).
When I moved the code to the app delegate's
-applicationDidFinishLaunching: method, everything works as it should.
You only get the one help menu. The applicationWillFinishLaunching
method is called before your app's main .nib file is loaded.
I'm posting this to the list because I hope this will prevent someone
else from making the same mistake I did.
Thanks anyway,
Michael James
AIM/iChat: mj1531
email@hidden
_______________________________________________
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.