The following code sets the value of a radio button to checked:
CButton *pButton = reinterpret_cast<CButton*>(GetDlgItem(IDC_RADIO1)); pButton->SetCheck(1); // Button is "checked" |
The following code sets the value of a radio button to checked:
CButton *pButton = reinterpret_cast<CButton*>(GetDlgItem(IDC_RADIO1)); pButton->SetCheck(1); // Button is "checked" |