Category Creo Parametric user interface, Object uiCmdCmd

Callback uiCmdCmdValFn


Description
The callback function attached to ProENGINEER option commands by passing it to ProCmdOptionAdd(). The callback is used to set the option value.

For checkbuttons, set option values with function ProMenubarmenuCheckButtonValueSet().

For radio buttons, set option values with function ProMenubarmenuCheckRadiogrpValueSet().

Synopsis
#include <ProUICmd.h>
int(*uiCmdCmdValFn)(
uiCmdCmdId command
/* (In)
Identifier of the option command.
*/
uiCmdValue* p_value
/* (In)
Value passed to the ValueSet function.
*/
)
Returns
The return value is ignored.

Manual References:

  1. User Interface: Menus, Commands, and Popupmenus: Adding a Check Button to the Ribbon User Interface