Use
Selects and de-selects radio buttons and check boxes: a value of 1 selects the control; a value of 0 deselects it.
If selecting from a group of radio buttons, it is the calling program’s responsibility to ensure that only one radio button from the group is selected at a time.
Syntax
DWORD DLEX ItEv_SetCheck(PIT_EVENT pEvt, ITCCTRL pCtrl, int bSelected);
Parameters
pEvt |
Pointer to the IT_EVENT structure |
pCtrl |
A string identifying the control. Refer to Specifying control |
bSelected |
1 to select the control; 0 to deselect it |
Return Value
Returns the previous value of the selection, or -1 if error.
Comments
This function does not affect non-selectable controls.
See Also
ItEv_FindControl.