Re: Carbon Menu in Cocoa app
Re: Carbon Menu in Cocoa app
- Subject: Re: Carbon Menu in Cocoa app
- From: Peter Maurer <email@hidden>
- Date: Wed, 19 Mar 2008 09:23:27 +0100
I have tried the MenuRef _NSGetCarbonMenu(NSMenu* aMenu); but my
menuRef
always gets 0x0.
Is this private API still available ?
Did you remember to make the NSMenu actually create its underlying
Carbon menu before trying to get it via _NSGetCarbonMenu()? You can do
so by temporarily adding it to your application's main menu, for
instance.
Peter.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden