API 文件集 > Creo Parametric user interface > Object ProMenubar > Function ProMenubarMenuRadiogrpValueSet
Function ProMenubarMenuRadiogrpValueSet
DEPRECATED:
Since Creo 1
Description
Note: This API is deprecated. Use ProCmdRadiogrpValueSet() instead.
Sets a new value for the radio group in the menu of Creo Parametric.
This function affects the top-level Creo Parametric menu bar only.
This function is executed only in the set_value_cb specified by ProCmdOptionAdd().
Synopsis
#include <ProMenuBar.h>
ProMenubarMenuRadiogrpValueSet
(
uiCmdValue* cmd_value
/* (In)
The second argument of the set_value_cb function.
*/
ProMenuItemName selected_item
/* (In)
The name of the item in the radio group to be selected. The memory must be static or preallocated. In the second case, do not free the memory.
*/
)
Returns
The function successfully set the value.
The function failed to set the value.
Sample Code References
User Guide References
這是否有幫助?