Re: NSMenu and menu handle
Re: NSMenu and menu handle
- Subject: Re: NSMenu and menu handle
- From: Dustin Voss <email@hidden>
- Date: Wed, 12 Mar 2003 23:57:38 -0800
Undocumented function: MenuRef _NSGetCarbonMenu(NSMenu* aMenu);
See
http://cocoadev.com/index.pl?NSMenu
On Wednesday, March 12, 2003, at 04:54 AM, James Gregurich wrote:
howdy!
I understand that the Cocoa menuing system is based on the Carbon Menu
API. Is there any way to get the menu handle so that I can set up a
MenuDefProcPtr (Menu Manager Reference pg 160)? I don't see a legal or
illegal way in the NSMenu docs.
I want to do a custom menu layout consisting of a grid of color
swatches. If I can't get a menu handle with NSMenu, I assume I can
just do direct calls to carbon to set up my menu and handle its
drawing and selecting. Is this correct?
thanks,
James
_______________________________________________
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.
_______________________________________________
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.