GuiMenuClear

This function removes all entries and child menus from a menu. It will not remove the menu itself.

void GuiMenuClear(int hMenu)

Parameters

hMenu Menu handle from a previously-added menu or from the main menu.

Return Value

This function does not return a value.

Example

hNewMenu = GuiMenuAdd(hMenu, &szMenuTitle);
GuiMenuClear(hMenuNew);