Category Creo Parametric user interface, Object ProCmd

Function ProCmdAlwaysAllowValueUpdate


Description
Allows the command's value to be updated (its set_value_cb to be called) at all times, even if the command is not currently accessible. By default, set_value_cb is called only if the command is accessible.
Synopsis
#include <ProUICmd.h>
ProErrorProCmdAlwaysAllowValueUpdate(
uiCmdCmdId cmd_id
/* (In)
The command identifier.
*/
ProBoolean allow
/* (In)
PRO_B_TRUE to always allow value update PRO_B_FALSE to only allow it when accessible
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully changed the command.
PRO_TK_GENERAL_ERRORThe function failed to change the command.

Manual References:

  1. User Interface: Menus, Commands, and Popupmenus: Designating the Command