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 );
- Handle to a list view control.
- 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.
|Runs on||Versions||Defined in||Include||Link to|
|Windows CE OS||2.0 and later||Commctrl.h|
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.