Menu
Object List Hierarchy Next Object
Definition:
This is the prototype object for Menu Bars and Popup Menus.
Specialized Features:
The following tables list and describe the properties and methods added by Menu. There are no added events.
Properties Use to...
AccelKey Access an item in a Popup Menu without going through the Menu.
Hmenu Provide a handle pointing to the Menu. (Read Only)
ItemCount Read the number of items in the Menu. (Read Only)
Methods Use to...
InsertItem Put an item into a Menu.
InsertPopup Put a Popup Menu into a Menu.
ItemCaptionAt Find the Caption of an item at a specific position.
ItemId Find the ID of an item.
ItemIdAt Find the ID of an item at a specific position.
ItemName Find the name of an item with a specific ID number.
ItemNameAt Find the name of an item at a specific position.
ItemPosition Find the position of an item.
MoveItem Move an item from one position to another.
RemoveItem Remove an item from a specific position.
SetCaption Set the Caption of an item at a specific position.
SetName Set the Name of an item at a specific position.
Copied Features:
None
this is a top-level object.