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.
Syntax
BOOL ListView_GetCheckState(
HWND hwndLV,
UINT iIndex
);
Parameters
- hwndLV
-
A handle to a list-view control.
- iIndex
-
The index of the item for which to retrieve the check state.
Return Value
Macro Information
| Minimum DLL Version | comctl32.dll version 4.70 or later |
|---|
| Header | commctrl.h |
|---|
| Minimum operating systems |
Windows 2000, Windows NT 4.0 with Internet Explorer 3.0, Windows 98, Windows 95 with Internet Explorer 3.0 |
|---|