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
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 mails | Author | Date |
|---|---|---|
| Felipe Monteiro de… | Jun 6, 03:42 | |
| Felipe Monteiro de… | Jun 6, 16:32 | |
| Kyle Sluder | Jun 6, 16:45 | |
| Felipe Monteiro de… | Jun 8, 14:11 | |
| Uli Kusterer | Jun 8, 16:38 |






Cocoa mail archive

