CWnd::CheckDlgButton

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.

Syntax

void CheckDlgButton( int nIDButton, UINT nCheck );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::IsDlgButtonChecked, CButton::SetCheck