1.1 KiB
1.1 KiB
GuiMenuAdd
This function adds a new child menu to a menu.
int GuiMenuAdd(int hMenu, const char* title)
Parameters
hMenu Menu handle from a previously-added menu or from the main menu.
title A const char repesenting the text title of the menu item to be added.
Return Value
Returns the menu handle (unique), or -1 on failure.
Example
hNewMenu = GuiMenuAdd(hMenu, &szMenuTitle);
Related functions
Note: Plugin developers should make use of the plugin functions provided: