FreeMenu()

Syntax

FreeMenu(#Menu)
Description
This function deletes the specified menu. After calling this function that particular menu can no longer be displayed, however that menu number can now be reused.

Note: all remaining menus are automatically freed when the program ends.

Supported OS

All

<- DisplayPopupMenu() - Menu Index - GetMenuItemState() ->