void CTestMFC20130415Dlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX);

//cs2005要手动添加,而且几个radio要放在group里面才行

DDX_Radio(pDX, IDC_RADIO1, m_radio);

}

//test radio,radio从0开始

m_radio = 0;

UpdateData(FALSE);