Main Menu Duplication Issue
Main Menu Duplication Issue
- Subject: Main Menu Duplication Issue
- From: Josh Aas <email@hidden>
- Date: Wed, 13 Nov 2002 11:50:55 -0600
Hello All,
My application is a normal Obj-c/cocoa app. My main window is loaded
with "MainMenu.nib" file, automatically at the application's start. In
the "awakeFromNib" method for the window I call
"NSRunCriticalAlertPanel". The problem is that when "awakeFromNib" is
done and my application is waiting for user input, I get two help menus.
My assumption is that the help menu present from the alert panel is
sticking around and getting appended to my main menu bar, which has its
own help menu. Anyone know how I can fix this?
The reason I think the alert panel's help menu is sticking around is
that the alert panel only pops up the fist time you run the application
- running the application when the alert panel does not pop up does not
duplicate my help menu.
Thanks in advance! I tried hard to find this at mamasam, so I hope this
question isn't a dupe...
-Josh Aas
_______________________________________________
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.