• Welcome to Valhalla Legends Archive.
 

[vb] solution to "listview wont hightlight what i clicked on" problem

Started by Camel, May 04, 2003, 03:42 PM

Previous topic - Next topic

Camel

several people have asked me about this same problem, so i figgured i should post the solution

Private Sub lvUsers_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
   On Error Resume Next
   lvUsers.SelectedItem = lvUsers.HitTest(X, Y)
End Sub