IMenuItem Properties |
The IMenuItem type exposes the following members.
Name | Description | |
---|---|---|
Caption |
Returns the caption of the menu item.
| |
Checked |
Returns true if the menu item is checked. Else – false.
| |
Enabled |
Returns true if the menu item is enabled. Else – false.
| |
Id |
Returns the identifier of the menu item.
| |
IsBitmap |
Returns true if the MFT_BITMAP constant is in the menu item type. Else - false.
| |
IsOwnerdraw |
Returns true if the MFT_OWNERDRAW constant is in the menu item type. Else - false.
| |
IsRadioCheck |
Returns true if the MFT_RADIOCHECK constant is in the menu item type. Else - false.
| |
IsSeparator |
Returns true if the menu item is a separator. Else – false.
| |
Position |
Returns the item's position (index) in the menu.
| |
SubMenu |
Returns this submenu as a Menu object.
|