MouseDown2

Mouse button-down event.
[event] MouseDown2([in] short button, [in] short shift, [in] int page, [in] double x, [in] double y)
This event will be called when the user presses a mouse button.

Mouse events must be enabled first - see enableMouseEvents and enableMouseBtnEvents.

The event will be called with five arguments:

VB6:
viewer.enableMouseEvents = True ... Private Sub viewer_MouseDown2(ByVal button As Integer, ByVal shift As Integer, _ ByVal page As Long, ByVal x As Double, ByVal y As Double) ' button and shift work just like with VB controls ' x and y are in the PDF coordinate space End Sub Private Sub viewer_MouseUp2(ByVal button As Integer, ByVal shift As Integer, _ ByVal page As Long, ByVal x As Double, ByVal y As Double) ' button and shift work just like with VB controls ' x and y are in the PDF coordinate space End Sub Private Sub viewer_MouseDoubleClick2(ByVal button As Integer, ByVal shift As Integer, _ ByVal page As Long, ByVal x As Double, ByVal y As Double) ' button and shift work just like with VB controls ' x and y are in the PDF coordinate space End Sub Private Sub viewer_MouseMove2(ByVal button As Integer, ByVal shift As Integer, _ ByVal page As Long, ByVal x As Double, ByVal y As Double) ' button and shift work just like with VB controls ' x and y are in the PDF coordinate space End Sub
MouseUp2
MouseDoubleClick2
MouseMove2
enableMouseEvents
enableMouseBtnEvents
MouseDownWin