Mouse Class

A class that enables low-level mouse device operations.

When working in a grid configuration, use IDesktopEnvironment.Mouse to get the IMouseDevice object, which enables keyboard operations on a specific environment or grid node.

C# Syntax

public class Mouse 
Inheritance Hierarchy

System.Object
   HP.LFT.SDK.Mouse

Public Constructors
 NameDescription
Public ConstructorMouse Constructor  
Top
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)ButtonDownPresses the specified mouse button at the specified point on the screen.  
Public Methodstatic (Shared in Visual Basic)ButtonUpReleases the specified mouse button at the specified point on the screen.  
Public Methodstatic (Shared in Visual Basic)ClickMoves the mouse to the specified point on the screen and clicks the specified mouse button.  
Public Methodstatic (Shared in Visual Basic)DoubleClickMoves the mouse to the specified point on the screen and double-clicks the specified mouse button.  
Public Methodstatic (Shared in Visual Basic)DragAndDropDrags the mouse from and to the specified points while the specified mouse button is pressed, and then releases the mouse button.  
Public Methodstatic (Shared in Visual Basic)MoveMoves the mouse to the specified point on the screen.  
Top