CListCtrl::SetCheck

BOOL SetCheck( int nItem, BOOL fCheck = TRUE );

Return Value

Nonzero if the item is checked, otherwise 0.

Parameters

nItem

The zero-based index of a list control item.

fCheck

Specifies whether the state image of the item should be visible or not. By default, fCheck is TRUE and the state image is visible. If fCheck is FALSE, it is not visible.

Remarks

This member function determines if the state image of a list control item is visible or not.

CListCtrl OverviewClass MembersHierarchy Chart

See Also   CListCtrl::GetCheck