Share this page

CreateMouseEventInfo(MouseEvent,Int64,Int32,Int32,Int32,Int32,Int32,Int32,Boolean,Int32) Method
Creates a MouseEventInfo with the given parameters.

C# Syntax

    public static MouseEventInfo CreateMouseEventInfo(
       MouseEvent mouseEvent,
       long when,
       int modifiers,
       int x,
       int y,
       int xAbs,
       int yAbs,
       int clickCount,
       bool popupTrigger,
       int button
    )

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.
xAbs
  In pixels relative to the screen.
yAbs
  In pixels relative to the screen.
clickCount
  The number of mouse clicks associated with event.
popupTrigger
  True if this event is a trigger for a popup menu.
button
  The HP.LFT.SDK.MouseButton that changed state.

Return Value

A new instance of MouseEventInfo with the given parameters.

Tips to improve your search results... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: