InfoConnect API Guide
Attachmate.Reflection.Emulation.OpenSystems Namespace / IScreen Interface / MouseClick Event


In This Topic
    MouseClick Event (IScreen)
    In This Topic
    This event occurs when a session window is clicked by the mouse.
    Syntax
    'Declaration
     
    
    Event MouseClick As MouseEventHandler
    'Usage
     
    
    Dim instance As IScreen
    Dim handler As MouseEventHandler
     
    AddHandler instance.MouseClick, handler
    event MouseEventHandler MouseClick
    Event Data

    The event handler receives an argument of type MouseEventArgsEx containing data related to this event. The following MouseEventArgsEx properties provide information specific to this event.

    PropertyDescription
    Gets which mouse button was pressed.  
    Gets the number of times the mouse button was pressed and released.  
    Gets the terminal column number of the mouse click.  
    Gets a signed count of the number of detents the mouse wheel has rotated, multiplied by the WHEEL_DELTA constant. A detent is one notch of the mouse wheel.  
    Gets the location of the mouse during the generating mouse event, relative to the upper-left corner of the session window.  
    Gets the terminal row number of the mouse click.  
    Windows message generated by the mouse event.  
    Gets the x-coordinate of the mouse during this event, in pixels, relative to the left side of the session window.  
    Gets the y-coordinate of the mouse during this event, in pixels, relative to the top of the session window.  
    See Also