Skip navigation.
 
mlRe: Converting a MenuRef to a NSMenu
FROM : Uli Kusterer
DATE : Sun Jun 08 16:38:46 2008

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

Related mailsAuthorDate
mlConverting a MenuRef to a NSMenu Felipe Monteiro de… Jun 6, 03:42
mlRe: Converting a MenuRef to a NSMenu Felipe Monteiro de… Jun 6, 16:32
mlRe: Converting a MenuRef to a NSMenu Kyle Sluder Jun 6, 16:45
mlRe: Converting a MenuRef to a NSMenu Felipe Monteiro de… Jun 8, 14:11
mlRe: Converting a MenuRef to a NSMenu Uli Kusterer Jun 8, 16:38