Programming with Radio Button Controls
- Updated2023-02-21
- 1 minute(s) read
Programming with Radio Button Controls
This topic describes how to complete the following tasks programmatically.
Setting and Obtaining the State of a Radio Button
Use SetCtrlVal to set the state of a radio button. Use GetCtrlVal to obtain the state of a radio button.
SetCtrlVal (panelHandle, PANEL_RADIOBUTTON, 1);
GetCtrlVal (panelHandle, PANEL_RADIOBUTTON, &radioButtonVal);
