Hi,
VS.2005 Pro / VB.NET
I find ListView.GetItemAt(x,y) always returns 'Nothing' when the returned
value would (if it worked) be a ListViewItem.
However, when the returned value is ListViewSubItem, the ListViewItem is
returned along with the ListViewSubItem.
Is this a bug or am I doing something wrong?
Thanks
Harry
Using the following code, when the first column (ListViewItem) is clicked,
lvItem=Nothing, however the second column (ListViewSubItem) lvItem along
with the lvItem.ListViewSubItem is returned correctly.
Private Sub HandleMouseDown(ByVal sender As Object, ByVal e As
MouseEventArgs) Handles ListView1.MouseDown
Dim lvItem As ListViewItem = ListVierw1.GetItemAt(e.X, e.Y)
End Sub