'Declaration
Event MouseClick As MouseEventHandler
'Usage
Dim instance As IUtsScreen 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.
Property | Description |
---|---|
Button | Gets which mouse button was pressed. |
Clicks | Gets the number of times the mouse button was pressed and released. |
Column | Gets the terminal column number of the mouse click. |
Delta | 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. |
Location | Gets the location of the mouse during the generating mouse event, relative to the upper-left corner of the session window. |
Row | Gets the terminal row number of the mouse click. |
WindowMessage | Windows message generated by the mouse event. |
X | Gets the x-coordinate of the mouse during this event, in pixels, relative to the left side of the session window. |
Y | Gets the y-coordinate of the mouse during this event, in pixels, relative to the top of the session window. |
See Also