PopupText Function (ROM Call 0x48)

menus.h

const char *PopupText (HANDLE Handle, short ID);

Returns a pointer to the text of a popup menu item.

PopupText returns a pointer to the text of the popup menu item with the identification number ID (see PopupAddText). Handle is the handle associated with the menu. This function does not work with toolbar menus; you must use MenuItemDef, which does the same for toolbar menus on AMS 2.00 or later.


Uses: ROM Call 0x41E
Used by: VarNew, VarOpen, VarSaveAs, EV_defaultHandler, MO_digestOptions, HomeExecute


See also: PopupNew, PopupDo, PopupAddText