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
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ListView_GetCheckState

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This macro determines if an item in a list-view control is selected. This should be used only for list-view controls that have the LVS_EX_CHECKBOXES style.


BOOL ListView_GetCheckState(
  HWND hwndLV, 
  UINT iIndex 
);

hwndLV

Handle to a list-view control.

iIndex

Index of the item for which to retrieve the check state.

Returns nonzero if the specified item is selected, or zero otherwise. If this macro is applied to a list-view control that does not have check boxes enabled, the return value is not reliable.

Headercommctrl.h
Windows Embedded CEWindows CE 2.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show:
© 2015 Microsoft