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.
[解决办法]
BST_CHECKED/BST_UNCHECED 即可
[解决办法]
你理解错拉,参数不是true或false
应该为BST_UNCHECKED、BST_CHECKED、BST_INDETERMINATE
其中之一