• 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: Converting a MenuRef to a NSMenu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Converting a MenuRef to a NSMenu


  • Subject: Re: Converting a MenuRef to a NSMenu
  • From: Uli Kusterer <email@hidden>
  • Date: Sun, 8 Jun 2008 07:38:46 -0700

Am 08.06.2008 um 05:11 schrieb Felipe Monteiro de Carvalho:
I just meant that maybe, this is possible.


AFAIK, no. There's (undocumented, Apple-private) SPI to get the MenuRef used for showing an NSMenu, but since an NSMenu is (sort of) a superset of a MenuRef, going the other way round isn't really possible. You can, however, read the MenuRef's item list and ("manually") create an NSMenu that looks the same.

What exactly do you need this for? I couldn't find the original post your message seems to be referring to.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de





_______________________________________________

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: 
 >Converting a MenuRef to a NSMenu (From: "Felipe Monteiro de Carvalho" <email@hidden>)
 >Re: Converting a MenuRef to a NSMenu (From: "Felipe Monteiro de Carvalho" <email@hidden>)
 >Re: Converting a MenuRef to a NSMenu (From: "Kyle Sluder" <email@hidden>)
 >Re: Converting a MenuRef to a NSMenu (From: "Felipe Monteiro de Carvalho" <email@hidden>)

  • Prev by Date: Re: NSTreeControllerTreeNode not documented? [solved]
  • Next by Date: How to implement floating HUD on fullscreen NSOpenGLView ?
  • Previous by thread: Re: Converting a MenuRef to a NSMenu
  • Next by thread: NSBundle getting location of file in bundle
  • Index(es):
    • Date
    • Thread