Re: Selecting submenu root
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.