CButton::SetCheck()//使用的时候参数一般是true或者false//但是msdn里并没有啊
void SetCheck(
int nCheck
);
Parameters
nCheck
Specifies the check state. This parameter can be one of the following:
BST_UNCHECKED
Set the button state to unchecked.
BST_CHECKED
Set the button state to checked.
BST_INDETERMINATE
Set the button state to indeterminate. This value can be used only if the button has the BS_3STATE or BS_AUTO3STATE style.