CListCtrl::GetCheck

BOOL GetCheck( int nItem ) const;

Return Value

Nonzero if the item is selected, otherwise 0.

Parameters

nItem

The zero-based index of a list control item.

Remarks

This member function implements the behavior of the Win32 macro, ListView_GetCheckState, as described in the Platform SDK.

Example

See the example for CListCtrl::SetCheck.

CListCtrl OverviewClass MembersHierarchy Chart

See Also   CListCtrl::SetCheck