• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Updating the main menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Updating the main menu (From: Eric Wang <email@hidden>)

  • Prev by Date: Re: NSView subclass bindings? NSTextView?
  • Next by Date: Re: NSView subclass bindings? NSTextView?
  • Previous by thread: Re: Updating the main menu
  • Next by thread: Re: Updating the main menu
  • Index(es):
    • Date
    • Thread