This method selects (places a check mark next to) or clears (removes a check mark from) a button, or changes the state of a three-state button. The CheckDlgButton method sends a BM_SETCHECK message to the specified button.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
void CheckDlgButton( int nIDButton, UINT nCheck );
CWnd::IsDlgButtonChecked, CButton::SetCheck