#include <window.h>
Structure defines a menu item
Definition at line 8462 of file window.h.
Used by GetMenuItemInfo function to indicate the maximal length of the string
Definition at line 8549 of file window.h.
The pointer to a BITMAP object used for checked bitmap menu item
Definition at line 8537 of file window.h.
The handle to the sub-menu if this menu contains a sub menu
Definition at line 8531 of file window.h.
The identifier of the menu item.
- Note
- The type changed from int to LINT since v3.2.
Definition at line 8528 of file window.h.
The private data attached to the menu item
Definition at line 8540 of file window.h.
Used by GetMenuItemInfo and SetMenuItemInfo functions, can be OR'ed with the following values:
- MIIM_STATE
Get/set the state of the menu item.
- MIIM_ID
Get/set the identifier of the menu item.
- MIIM_SUBMENU
Get/set the sub-menu of the menu item.
- MIIM_CHECKMARKS
Get/set the check/uncheck bitmap.
- MIIM_TYPE
Get/set the type and the type data of the menu item.
- MIIM_DATA
Get/set the item data of the menu item.
Definition at line 8480 of file window.h.
State of the menu item, can be one of the following values:
- MFS_GRAYED
The menu item is disabled.
- MFS_DISABLED
The menu item is disabled.
- MFS_CHECKED
The menu item is checked.
- MFS_ENABLED
The menu item is enabled.
- MFS_UNCHECKED
The menu item is unchecked.
Definition at line 8523 of file window.h.
Type of menu item, can be one of the following values:
- MFT_STRING
A normal string menu item.
- MFT_BITMAP
A bitmap menu item. When the menu item is this type, the member typedata will be the pointer to the normal BITMAP object, the member uncheckedbmp will be the pointer to the hilighted BITMAP object, the member checkedbmp will be the pointer to the checked BITMAP object.
- MFT_BMPSTRING
A bitmap menu item followed by a string. When the menu item is this type, the member typedata will be the pointer to the text string, the member uncheckedbmp will be the pointer to the normal BITMAP object, and the member checkedbmp will be the pointer to the checked BITMAP object.
- MFT_SEPARATOR
A separator in menu.
- MFT_RADIOCHECK
A normal string with a radio check mark.
- MFT_MARKCHECK
A normal string with a check box mark.
Definition at line 8508 of file window.h.
The data of this menu item, used to pass the string or the pointer to the BITMAP object of the menu item
Definition at line 8543 of file window.h.
The pointer to a BITMAP object used for unchecked/highlited bitmap menu item
Definition at line 8534 of file window.h.
The documentation for this struct was generated from the following file: