MFC CheckBox

if ( BST_CHECKED == IsDlgButtonChecked( IDC_CHECK1 ) )
{
// 勾选
}
else
{
}

原文地址:https://www.cnblogs.com/coolbear/p/4070062.html