API Documentation > Miscellaneous > Object ProCompoundmenu > Function ProCompoundmenuCreate
Function ProCompoundmenuCreate
Description
Takes an array of previously loaded menus and appends them into one menu.
Synopsis
#include <ProMenu.h>
ProCompoundmenuCreate
(
char** menus
/* (In)
An array of menu names, terminated by an empty string
*/
int* n_submenus
/* (Out)
The number of menus in the compound menu
*/
)
Returns
The function successfully created the compound menu. NOTE: use ProMenuDeleteWithStatus() as the action to perform when the user selects an exit button from a compound menu, rather than ProMenuDelete().
Sample Code References
User Guide References
Was this helpful?