setAppleMenu? yeah, right!
setAppleMenu? yeah, right!
- Subject: setAppleMenu? yeah, right!
- From: Kerry Hazelgren <email@hidden>
- Date: Wed, 25 Sep 2002 13:19:26 -0600
I've tried a hundred different ways to use the call [NSApp
setAppleMenu:], but to no avail. It ignores my request each time. I
am making the call inside applicationWillFinishLaunching, which I have
read is the right place, but even using a simple menu, created from
scratch right there, nothing happens.
The only reason I am interested in this at all is because setMainMenu
causes the application (apple) menu to loose it's submenu. Obviously
the two are related, but the documentation is not clear on whether the
menu you use to set the main menu should include the apple menu or not.
At any rate, I can set the main menu bar just fine, but can't get my
own menu to appear under the application's name; it is either ignored
and a default menu is used, or it loses its submenu entirely. There
must be some undisclosed criteria for acceptance that the apple menu
must have, either that or there is no way to set it programmatically.
And to head off any mistaken replies, no I cannot set it in IB, and the
"apple menu" I am talking about is NOT the one under the apple logo, it
is indeed defined as "the menu immediately to the right of the system
Apple menu".
I hope that someone out there knows just what hoops to jump through
here. Thanks.
_______________________________________________
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.