why are custom menus killed? (Re: NSMenu and menu handle)
why are custom menus killed? (Re: NSMenu and menu handle)
- Subject: why are custom menus killed? (Re: NSMenu and menu handle)
- From: James Gregurich <email@hidden>
- Date: Thu, 13 Mar 2003 08:31:46 -0500
yes. Someone else had pointed me to that last night and I got it
working. thanks for the response.
What I would like to know is why is Apple depreciating the carbon
functionality that is used to do custom menu layouts and has no support
for that in Cocoa? Is there a new system on the way to handle this
functionality or have the HID Gods gone bonkers?
also, it seems to be that _NSGetCarbonMenu() is something that should
be public given the lack of ability to do custom menu layouts in
NSMenu. why isn't it?
-James
On Thursday, March 13, 2003, at 02:57 AM, Dustin Voss wrote:
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.