Custom Server API References > Mercury.QTP.WPF.CustomServer Namespace > IUtilityObject Interface > IUtilityObject Interface Methods > MouseDown Method
Simulates Mouse Down operation.

Remarks

The location in mouse simulation methods is expressed in screen coordinates.

Syntax

Visual Basic (Declaration) 
Overridable Sub MouseDown( _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal Button As MOUSE_BUTTON _
) 
C# 
virtual void MouseDown( 
   int x,
   int y,
   MOUSE_BUTTON Button
)

Parameters

x
X coordinates in pixels.
y
Y coordinates in pixels.
Button
MOUSE_BUTTON

See Also