如何使用MFC中check box按钮,可以先获得其状态值,再根据其状态值进行相应处理 int state=((CButton*)GetDlgItem(IDC_CHECKBOX))->GetCheck();