Menu Methods |
The Menu type exposes the following members.
Name | Description | |
---|---|---|
AppendItem |
Add a string to the end of this menu.
| |
CheckItem |
Place a check mark to the left of a specified menu item.
| |
DeleteItem |
Delete an item from this menu, removing it from memory. (To delete a bitmap or string, specify an ID; to delete a submenu, specify the Menu object.)
| |
Destroy |
Provide a method to de-instantiate a Menu object.
(Overrides Destroy.) | |
DisableItem |
Disable a specified menu item (until a subsequent call to Menu:EnableItem()).
| |
EnableItem |
Enable a specified menu item that was previously disabled.
| |
Handle |
Return the handle for a menu.
| |
HyperLabel |
Return the hyperlabel attached to the menu item, or NIL if it has none.
| |
InsertItem |
Insert a new menu item before a specified menu item.
| |
MakeMenuRtol |
Reverse the order of the menu items in a menu. This is only necessary if you are using an International, bi-directional version of Windows.
| |
Name |
Return the name, as a string, stored in the hyperlabel attached to the menu command, or NIL if there is none.
| |
PostInit |
Implement customized initialization code for the window.
| |
PreInit |
Implement customized initialization code for the server.
| |
RegisterItem |
Register the hyperlabel for this menu item.
| |
SetAutoUpdate |
Append a section to a specified submenu on a menu. This section automatically keeps track of what MDI child windows are currently open and displays their names on the submenu.
| |
ShowAsPopup |
Display menu as a local pop-up menu.
| |
UncheckItem |
Remove the check mark (that the user sees) from the menu item. Typically, you do this in response to a MenuCommandEvent on that item.
| |
UnregisterItem |
Unregister the hyperlabel for this menu item.
|