 |
MenuItemDef |
Function (ROM Call 0x3F3) |
Returns a pointer to the data of a menu item.
Given a menu item ID, MenuItemDef returns a pointer to the text,
ICON, or BITMAP defining it
(or NULL if ID was not found in the menu identified by
ExecHandle) and returns its type in Type. ExecHandle is a handle returned from
MenuBegin.
The value returned in Type can be one of the following types (or 0 if not found), as defined
in the enum DynMenuFlags:
DMF_TEXT |
The pointer returned points to a text string. |
DMF_ICON |
The pointer returned points to an ICON structure. |
DMF_BITMAP |
The pointer returned points to a BITMAP structure. |
Uses: ROM Call 0x41E, ROM Call 0x422
See also: MenuBegin, DynMenuAdd, DynMenuChange