• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Carbon Menu in Cocoa app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Carbon Menu in Cocoa app (From: "cai qin" <email@hidden>)

  • Prev by Date: Re: How to add controller class to NIB file?
  • Next by Date: Re: Adding spaces to an NSString
  • Previous by thread: Re: Carbon Menu in Cocoa app
  • Next by thread: Re: Carbon Menu in Cocoa app
  • Index(es):
    • Date
    • Thread