• 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: Selecting submenu root
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Selecting submenu root


  • Subject: Re: Selecting submenu root
  • From: Brian Webster <email@hidden>
  • Date: Sun, 30 Jun 2002 09:27:00 -0500

On Saturday, June 29, 2002, at 07:20 PM, cocoa-dev-
email@hidden wrote:

But the problem is, how to get a MenuRef from a NSMenu?

If you're working on the main menu bar, you can probably avoid using private API by calling the Carbon function AcquireRootMenu(), which will give you a a MenuRef for the main menu. You can then navigate the menu hierarchy from there.

--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster
_______________________________________________
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.

  • Follow-Ups:
    • Re: Selecting submenu root
      • From: Benoit Widemann <email@hidden>
  • Prev by Date: Re: NSCopyBits and expose events
  • Next by Date: Deleting contents of NSTextView...
  • Previous by thread: Re: Selecting submenu root
  • Next by thread: Re: Selecting submenu root
  • Index(es):
    • Date
    • Thread