Private Sub listview_DblClick(ByVal listItem As ExLVwLibUCtl.IListViewItem, ByVal listSubItem As ExLVwLibUCtl.IListViewSubItem, ByVal button As Integer, ByVal shift As Integer, ByVal x As Single, ByVal y As Single, ByVal hitTestDetails As ExLVwLibUCtl.HitTestConstants)
Msgbox "You Double Clicked Me"
End Sub
Private Sub listview_Click(ByVal listItem As ExLVwLibUCtl.IListViewItem, ByVal listSubItem As ExLVwLibUCtl.IListViewSubItem, ByVal button As Integer, ByVal shift As Integer, ByVal x As Single, ByVal y As Single, ByVal hitTestDetails As ExLVwLibUCtl.HitTestConstants)
MsgBox "You just click me"
End Sub
And if you can show me how to show the value of the clicked item in the msgbox please.
What do you mean with "value"? Do you want to know whether the item is Selected? Or whether it is the caret item? Or whether it is checked (if you display checkboxes next to each item)?
Crunching for Fab36_Folding-Division at Folding@Home. Join Fab36/Fab30! - Folding@Home and BOINC
Boycott DRM! Boycott HDCP!
Read point 2 of the FAQ. It explains why you don't get the events and also tells you what you have to do to get them.
And I still don't know what you mean by "value". Yes, the listItem object probably contains what you are looking for, but since I don't know what you are looking for, I cannot tell you which property of this object you could use.
Crunching for Fab36_Folding-Division at Folding@Home. Join Fab36/Fab30! - Folding@Home and BOINC
Boycott DRM! Boycott HDCP!
Solved via ICQ. If somebody else wants to know how to do this: Open the control's property pages and there you can edit the DisabledEvents property. Of course, you could also change this property at runtime.
Crunching for Fab36_Folding-Division at Folding@Home. Join Fab36/Fab30! - Folding@Home and BOINC
Boycott DRM! Boycott HDCP!