CCheckListBox::SetCheck

void SetCheck( int nIndex, int nCheck );

Parameters

nIndex

Index of the item whose check box is to be set.

nCheck

State of the check box: 0 for clear, 1 for checked, and 2 for indeterminate.

Remarks

Call this function to set the check box of the item specified by nIndex.

CCheckListBox OverviewClass MembersHierarchy Chart

See Also   CCheckListBox::SetCheckStyle, CCheckListBox::GetCheck, CCheckListBox::GetCheckStyle