NORMALMENUITEM

The NORMALMENUITEM structure contains information about each item in a menu resource that does not open a menu or a submenu. The structure definition provided here is for explanation only; it is not present in any standard header file.

struct NORMALMENUITEM { 
    WORD resInfo; 
    szOrOrd menuText; 
}; 
 

Members

resInfo
A set of bit flags that specify the type of menu item. This member can be one of the following values.
Value Meaning
MFR_END The menu item is the last in this submenu or menu resource; this flag is used internally by the system.
MFR_POPUP The menu item opens a menu or a submenu; the flag is used internally by the system.

menuText
Specifies a null-terminated Unicode string that contains the text for this menu item. There is no fixed limit on the size of this string.

Remarks

There is one NORMALMENUITEM structure for each menu item that does not open a menu or a submenu. Indicate the last menu item on a menu by setting the resInfo member to MFR_END.

A menu separator is a special type of menu item that is inactive but appears as a dividing bar between two active menu items. Indicate a menu separator by leaving the menuText member empty.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.

See Also

Resources Overview, Resource Structures, MENUHEADER, MENUITEMINFO, POPUPMENUITEM