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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to