Re: Updating the main menu
Re: Updating the main menu
- Subject: Re: Updating the main menu
- From: Brian Christensen <email@hidden>
- Date: Mon, 10 Nov 2003 19:46:15 -0500
On Nov 10, 2003, at 7:01 PM, Eric Wang wrote:
In any case, I've been pouring over the Carbon documentation, and
there are
some promising functions in the Menu Manager reference such as
SetMenuBar()
and DrawMenuBar(). I'm not too experienced with Carbon, so if anyone
knows
I'm going in the wrong direction with this, please let me know.
SetMenuBar() takes a MenuBarHandle as its argument. It doesn't seem
like that would be very useful for your purposes. (The main problem
with this being that this function is designed to set an entirely new
menu bar. You're only removing/adding individual menus, you're not
swapping the entire menu bar.) As for DrawMenuBar(), you could try that
but I'm not sure it will have any effect.
/brian
------------------------------------------------------------------
Brian Christensen <email@hidden>
Cocoa Dev Central <
http://www.cocoadevcentral.com>
_______________________________________________
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.