API 文档 > Creo Parametric user interface > Object ProCmd > Function ProCmdChkbuttonValueSet
Function ProCmdChkbuttonValueSet
Description
Sets a new value for the check button in the menu of Creo Parametric.
This function affects the top-level Creo Parametric Ribbon UI only.
This function is executed only in the set_value_cb specified by ProCmdOptionAdd().
Synopsis
#include <ProUICmd.h>
ProCmdChkbuttonValueSet
(
uiCmdValue* cmd_value
/* (In)
The second argument of the set_value_cb function
*/
/* (In)
The status of the check button: PRO_B_TRUE (on) or PRO_B_FALSE (off)
*/
)
Returns
The function successfully set the value.
The function failed to set the value.
User Guide References
这对您有帮助吗?