How Do I Retrieve the Selected Lines in Galen Nickerson's Virtual ListView Control?
The Equivalent of
If ListView.ListItems(Index).Selected = True Then… would be Enough
Danni.
Printable View
How Do I Retrieve the Selected Lines in Galen Nickerson's Virtual ListView Control?
The Equivalent of
If ListView.ListItems(Index).Selected = True Then… would be Enough
Danni.
Dim i As Long
List1.Clear
For i = 0 To 12
If ListView_GetItemState(m_hWndLV, i, LVIS_SELECTED) = 2 Then List1.AddItem i
Next i