CButton::SetCheck

来源:互联网 发布:淘宝达人合作 编辑:程序博客网 时间:2024/05/17 21:00

 SetCheck()用于设置按钮的状态

例如:

 pbutton=(CButton *)GetDlgItem(IDC_long);
 pbutton->SetCheck(1);  //Sets or resets the check state of a radio button or check box.

原创粉丝点击