Click to See Complete Forum and Search --> : Galen Nickerson's Virtual ListView Control


DanniDin
June 22nd, 2000, 10:46 AM
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.

DanniDin
June 22nd, 2000, 03:56 PM
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