Click or drag to resize

IMenuItem Properties

The IMenuItem type exposes the following members.

Properties
  NameDescription
Public propertyCaption
Returns the caption of the menu item.
Public propertyChecked
Returns true if the menu item is checked. Else – false.
Public propertyEnabled
Returns true if the menu item is enabled. Else – false.
Public propertyId
Returns the identifier of the menu item.
Public propertyIsBitmap
Returns true if the MFT_BITMAP constant is in the menu item type. Else - false.
Public propertyIsOwnerdraw
Returns true if the MFT_OWNERDRAW constant is in the menu item type. Else - false.
Public propertyIsRadioCheck
Returns true if the MFT_RADIOCHECK constant is in the menu item type. Else - false.
Public propertyIsSeparator
Returns true if the menu item is a separator. Else – false.
Public propertyPosition
Returns the item's position (index) in the menu.
Public propertySubMenu
Returns this submenu as a Menu object.
Top
See Also