Call this member function to select (place a check mark next to) or clear (remove a check mark from) a button, or change the state of a three-state button. The CheckDlgButton function sends a BM_SETCHECK message to the specified button.
void CheckDlgButton( int nIDButton, UINT nCheck );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::IsDlgButtonChecked, CButton::SetCheck