|
NormalMenuItem
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;
};
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.
See Also
MenuHeader, MENUITEMINFO, PopupMenuItem
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|