CreateMouseEventInfo(MouseEvent,Int64,Int32,Int32,Int32,Int32,Boolean) Method
Creates a MouseEventInfo with parameters: mouseEvent, when, modifiers, x, y, clickCount, and popupTrigger.

C# Syntax

Parameters

mouseEvent
The MouseEvent to create the MouseEventInfo for.
when
The time the event occurred.
modifiers
A mask of values of HP.LFT.SDK.KeyModifier representing the modifier keys down during event.
x
In pixels relative to the parent window.
y
In pixels relative to the parent window.
clickCount
The number of mouse clicks associated with event.
popupTrigger
True if this event is a trigger for a popup menu.

Return Value

A new instance of MouseEventInfo with the given parameters.