((CButton *)GetDlgItem(IDC_RADIO1))->SetCheck(TRUE);//选中
((CButton *)GetDlgItem(IDC_RADIO1))->SetCheck(FALSE);//不选中
((CButton *)GetDlgItem(IDC_RADIO1))->GetCheck();返回控件状态,1表示选上,0表示没选上
备注:其中IDC_RADIO1表示radiobutton控件对应的控件编号
若期望在程序初始化时显示为选中,则可定义其状态变量为false,然后在初始化时执行点击的处理函数即可
同理该方法可适用于复选框