InfoConnect for Unisys
Attachmate.Reflection.UserInterface Namespace / MouseEventArgsEx Class / MouseEventArgsEx Constructor / MouseEventArgsEx Constructor(Int32,MouseButtons,Int32,Int32,Int32,Int32)
Windows message generated by the mouse event.
The mouse button that was pressed.
The number of times the mouse button was pressed and released.
The x-coordinate of the mouse, in pixels, relative to the left side of the session window.
The y-coordinate of the mouse, in pixels, relative to the top of the session window.
A signed count of the number of detents the mouse wheel has rotated, multiplied by the WHEEL_DELTA constant.


In This Topic
    MouseEventArgsEx Constructor(Int32,MouseButtons,Int32,Int32,Int32,Int32)
    In This Topic
    Initializes the MouseEventArgsEx object.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal windowMessage As Integer, _
       ByVal button As MouseButtons, _
       ByVal clicks As Integer, _
       ByVal x As Integer, _
       ByVal y As Integer, _
       ByVal delta 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 windowMessage,
       MouseButtons button,
       int clicks,
       int x,
       int y,
       int delta
    )

    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