ItemType property (Main Control)
Visual Basic
example
Visual
C++ 4.0 example
Syntax short ItemType (short iIndex)
Overview: Refer to Annotation Menu
Remarks
(Read only) Gets the specified menu item’s type. Possible values are:
Value |
Meaning |
ANNMENUITEMTYPE_NORMAL |
[0] Normal menu item. |
ANNMENUITEMTYPE_SEPARATOR |
[1] Menu item is a separator. |
ANNMENUITEMTYPE_SUBMENU |
[2] Menu item is a popup menu. |
This property is associated with the AnnMenu object that is passed to the AnnMenu event.
See Also
Elements: AnnMenu event, Count property, ItemString property, ItemID property, ItemChecked property, ItemEnabled property, DeleteItem method, AddItem method, GetSubMenu Method