共用方式為


CWindow::CheckDlgButton

Changes the check state of the specified button.

BOOL CheckDlgButton(
   int nIDButton,
   UINT nCheck 
) throw();

Remarks

See CheckDlgButton in the Windows SDK.

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

CWindow::CheckRadioButton

CWindow::IsDlgButtonChecked

Other Resources

CWindow Members