Category Creo Parametric user interface, Object ProMenubarmenu

Function ProMenubarmenuChkbuttonValueGet


DEPRECATED: Since Creo 1
SUPERSEDED BY: ProCmdChkbuttonValueGet
Description
Note: This API is deprecated. Use ProCmdChkbuttonValueGet() instead.

Gets a new value for the check button in the menu of Creo Parametric. This function is executed only in the option_cb specified by ProCmdOptionAdd().

This function affects the top-level Creo Parametric menu bar only.

Synopsis
#include <ProMenuBar.h>
ProErrorProMenubarmenuChkbuttonValueGet(
uiCmdValue* cmd_value
/* (In)
The second argument of the option_cb function
*/
ProBoolean* value
/* (Out)
The address of the status of the check button: PRO_B_TRUE (on) or PRO_B_FALSE (off)
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully got the value.
PRO_TK_GENERAL_ERRORThe function failed to get the value.

Manual References:

  1. Technical Summary of Changes for Creo 11.0.0.0: Functions superseded from Creo 1.0 to Creo 11.0

Sample Code References:

  1. pt_examples ( TestMenubar.c )