Re: Converting a MenuRef to a NSMenu
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