virtual void SetCheck( int nCheck = 1 );
Parameters
nCheck
A value determining the state to set an on/off toggle command. Values are:
| Value | Description |
| 1 | Sets the command to on. |
| 2 | Sets the command to indeterminate; the state cannot be determined because the attribute of this command is in both on and off states in the relevant selection. |
| any other value | Sets the command to off. |
Remarks
Call this function to set the state of an on/off toggle command.
COleCmdUI Overview | Class Members | Hierarchy Chart
See Also COleCmdUI::SetText