The NormalMenuItem structure contains information about each item in a menu resource that does not open a menu or a submenu.
struct NormalMenuItem { WORD resInfo; szOrOrd menuText; };
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. |
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.