Description | |||||
The callback function attached to Creo Parametric commands by calls to ProCmdOptionAdd() or ProCmdActionAdd(). The callback is called when the command is executed.
For pushbuttons, the callback must define the logic of the command. For checkbuttons, the callback must get the value of the button with ProMenubarmenuChkbuttonvalueGet(), then define the logic of the command. For radio groups, the callback must get the selected item with ProMenubarmenuRadiogrpValueGet(), then define the logic of the command. |
|||||
Synopsis | |||||
#include <ProUICmd.h> | |||||
int | (*uiCmdCmdActFn) | ( | |||
uiCmdCmdId command | |||||
/* (In) | |||||
The identifier of the action or option | |||||
*/ | |||||
uiCmdValue* p_value | |||||
/* (In) | |||||
For options passed to ValueGet functions. Ignored for actions. | |||||
*/ | |||||
void* p_push_command_data | |||||
/* (In) | |||||
Not used | |||||
*/ | |||||
) | |||||
Returns | |||||
|