MouseEventArgsEx Constructor(Int32,MouseButtons,Int32,Int32,Int32,Int32,Int32,Int32)
In This Topic
Initializes the MouseEventArgsEx object.
Syntax
'Declaration
Public Function New( _
ByVal As Integer, _
ByVal As MouseButtons, _
ByVal As Integer, _
ByVal As Integer, _
ByVal column 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 row As Integer
Dim column As Integer
Dim x As Integer
Dim y As Integer
Dim delta As Integer
Dim instance As New MouseEventArgsEx(windowMessage, button, clicks, row, column, x, y, delta)
public MouseEventArgsEx(
int ,
MouseButtons ,
int ,
int ,
int column,
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.
- row
- The terminal row number of the mouse click.
- column
- The terminal column number of the mouse click.
- 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