GuiMenuClear

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

void GuiMenuClear(int hMenu)

参数

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

返回值

此函数不返回值。

示例

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