CCmdUI::SetCheck

CCmdUI::SetCheck

virtual void SetCheck( int nCheck = 1 );

Parameters

nCheck

Specifies the check state to set. If 0, unchecks; if 1, checks; and if 2, sets indeterminate.

Remarks

Call this member function to set 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.

CCmdUI Overview |  Class Members |  Hierarchy Chart

See Also   CCmdUI::SetRadio