Purpose |
Delete a menu item from an existing menu. |
Syntax |
MENU DELETE hMenu, [BYCMD] position& |
Remarks |
If the menu item is a popup child menu, the menu is destroyed and its memory is released. |
hMenu |
Handle of the menu holding the item you are deleting. |
position& |
Position of the item within the menu. If BYCMD is specified, position& refers to the unique menu identifier. Otherwise, position& is the position of the menu item, where position& = 1 for the first position, position& = 2 for the second, and so on. |
See also |
Dynamic Dialog Tools, Menus, MENU ADD POPUP, MENU ADD STRING, MENU ATTACH, MENU DRAW BAR, MENU GET STATE, MENU GET TEXT, MENU NEW BAR, MENU NEW POPUP, MENU SET STATE, MENU SET TEXT |