API Documentation > Menu manager menus > Object ProMenu > Function ProMenuProcess
Function ProMenuProcess
Description
Makes the specified menu active. Creo Parametric allows the user to pick the buttons on it until the menu closes.
This function affects Menu-Manager (mode-specific) menus only.
The function returns only when the menu is closed as a result of a call to ProMenuDelete() or ProMenuDeleteWithStatus(), in one of the actions defined for that menu.
Synopsis
#include <ProMenu.h>
ProMenuProcess
(
ProMenuName menuname
/* (In)
The name of the menu.
*/
int* action
/* (Out)
If you used ProMenuDeleteWithStatus() to delete the menu, this is the status value passed to that function. If you used ProMenuDelete() to delete the menu, this value is undefined.
*/
)
Returns
You used ProMenuDeleteWithStatus() to delete the menu.
You used ProMenuDelete() to delete the menu, so no status is set.
See Also
Sample Code References
User Guide References
Was this helpful?