MouseEventArgsEx Constructor(Int32,MouseButtons,Int32,Int32,Int32,Int32)
Initializes the MouseEventArgsEx object.
Syntax
'Declaration
Public Function New( _
ByVal As Integer, _
ByVal As MouseButtons, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer _
)
'Usage
Dim windowMessage As Integer
Dim button As MouseButtons
Dim clicks As Integer
Dim x As Integer
Dim y As Integer
Dim delta As Integer
Dim instance As New MouseEventArgsEx(windowMessage, button, clicks, x, y, delta)
public MouseEventArgsEx(
int ,
MouseButtons ,
int ,
int ,
int ,
int
)
Parameters
- windowMessage
- Windows message generated by the mouse event.
- button
- The mouse button that was pressed.
- clicks
- The number of times the mouse button was pressed and released.
- x
- The x-coordinate of the mouse, in pixels, relative to the left side of the session window.
- y
- The y-coordinate of the mouse, in pixels, relative to the top of the session window.
- delta
- A signed count of the number of detents the mouse wheel has rotated, multiplied by the WHEEL_DELTA constant.
See Also