void CheckRadioButton(hwndDlg, idFirstButton, idLastButton, idCheckButton) | |||||
HWND hwndDlg; | /* handle of dialog box | */ | |||
int idFirstButton; | /* identifier of first radio button in group | */ | |||
int idLastButton; | /* identifier of last radio button in group | */ | |||
int idCheckButton; | /* identifier of radio button to select | */ |
The CheckRadioButton function selects (adds a check mark to) a given radio button in a group and clears (removes a check mark from) all other radio buttons in the group.
hwndDlg
Identifies the dialog box that contains the radio button.
idFirstButton
Specifies the identifier of the first radio button in the group.
idLastButton
Specifies the identifier of the last radio button in the group.
idCheckButton
Specifies the identifier of the radio button to select.
This function does not return a value.
The CheckRadioButton function sends a BM_SETCHECK message to the specified radio button control in the given dialog box.