Description | ||||||||
Displays the menu on the screen. A menu must be loaded before it can be displayed; when a menu is redisplayed, all menu items are accessible.
This function affects Menu-Manager (mode-specific) menus only. The menu type is almost always a main menu (type PROMENUTYPE_MAIN). An example of a submenu (type PROMENUTYPE_SUB) is the Done/Quit submenu below the Sketcher menu. Done/Quit has no title and serves only as an extension of the Sketcher menu (the PROMENUTYPE_MAIN menu). |
||||||||
Synopsis | ||||||||
#include <ProMenu.h> | ||||||||
ProError | ProMenuCreate | ( | ||||||
ProMenuType type | ||||||||
/* (In) | ||||||||
The menu type (PROMENUTYPE_MAIN for a main menu, PROMENUTYPE_SUB for a submenu). | ||||||||
*/ | ||||||||
ProMenuName menuname | ||||||||
/* (In) | ||||||||
The name of the menu. | ||||||||
*/ | ||||||||
int* menu_id | ||||||||
/* (Out) | ||||||||
The identifier of the menu displayed. This argument can be NULL. | ||||||||
*/ | ||||||||
) | ||||||||
Returns | ||||||||
|
||||||||
See Also | ||||||||
ProMenuFromStringsRegister |