CCmdUI::SetCheck

This member function sets the user-interface item for this command to the appropriate check state. This member function works for menu items and toolbar buttons. The indeterminate state applies only to toolbar buttons.

Syntax

virtual void SetCheck( int nCheck = 1 );

At a Glance

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

See Also

CCmdUI Overview, CCmdUI Member Functions, Support Classes, CCmdUI::SetRadio