cItems = WinXListView_GetSelection (hLV, @iItems[])
Retrieves the indicies of all the selected items in a listview control
Parameter | Description |
---|---|
hLV | The handle to the listview control to get the selection from |
@iItems[] | The array to place the indicies of the selected items in |
The number of selected items
The array iItems[] is automatically dimensioned and filled with the indicies of all the selected items. Beware that there may not be any selected items, so if the function returns 0 then iItems will be the empty array.
'Get the selection from some list view control |
List View Controls
WinXAddListView
WinXListView_SetSelection
WinXListView_GetItemText
WinXListView_GetItemFromPoint