Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
MFC
Expand Minimize

CListCtrl::GetCheck

Retrieves the current display status of the state image that is associated with an item.

BOOL GetCheck(
   int nItem 
) const;

nItem

The zero-based index of a list control item.

Nonzero if the item is selected, otherwise 0.

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

See the example for CListCtrl::SetCheck.

Header: afxcmn.h

Community Additions

ADD
Show:
© 2015 Microsoft