Article ID: 171494
Article Last Modified on 11/18/2003
170365 INFO: Visual Studio 97 Service Packs - What, Where, and Why
171554 INFO: Visual Basic 5.0 Fixes in Visual Studio 97 Service Pack 2
Private Sub ListView1_MouseDown(Button As Integer, _
Shift As Integer, x As Single, y As Single)
Debug.Print "MouseDown"
End Sub
Private Sub ListView1_MouseUp(Button As Integer, Shift As Integer, _
x As Single, y As Single)
Debug.Print "MouseUp"
End Sub
Private Sub ListView1_DblClick()
Debug.Print "DblClick"
End Sub
MouseDown MouseUp DblClickIf you add code similar to that above to the events of Form1 (rather than the ListView control), the second MouseUp event is triggered as expected. The Immediate Window will display the following text:
MouseDown MouseUp DblClick MouseUp
Additional query words: comctl32.ocx
Keywords: kbbug kbfix kbvbp500sp2fix kbvs97sp2fix KB171494