API Documentation > Menu manager menus > Object ProMenu > Function ProMenuCommandPush
Function ProMenuCommandPush
Description
Puts the specified menu button in the command input buffer for Creo Parametric, so that command will be executed as soon as control returns to Creo Parametric from the Creo Parametric TOOLKIT application, exactly as if the user has selected that button.
This function affects Menu-Manager (mode-specific) menus only.
The button must be one that is currently selectable -- that is, on a menu currently being displayed.
Synopsis
#include <ProMenu.h>
ProMenuCommandPush
(
/* (In)
The command to be pushed
*/
)
Returns
The function successfully pushed the command.
A general error occurred and the function failed.
Sample Code References
User Guide References
Was this helpful?