Difference between revisions of "ISInterface:MouseTo"

From Lavish Software Wiki
Jump to navigation Jump to search
 
 
Line 1: Line 1:
 
===Syntax===
 
===Syntax===
 
+
*bool MouseTo(int X, int Y)
 
== Purpose ==
 
== Purpose ==
 
+
To move the mouse to a given coordinate
 
== Usage ==
 
== Usage ==
 
=== Parameters ===
 
=== Parameters ===
 
+
*int X
 +
:'''[in]''' The X pixel coordinate
 +
*int Y
 +
:'''[in]''' The Y pixel coordinate
 
=== Return Value ===
 
=== Return Value ===
 
+
*bool
 +
:Returns true on success, false on failure
 
== Examples ==
 
== Examples ==
 +
===Move the mouse to 500,125===
 +
*pISInterface->MouseTo(500,125);
  
  

Latest revision as of 22:58, 2 September 2005

Syntax

  • bool MouseTo(int X, int Y)

Purpose

To move the mouse to a given coordinate

Usage

Parameters

  • int X
[in] The X pixel coordinate
  • int Y
[in] The Y pixel coordinate

Return Value

  • bool
Returns true on success, false on failure

Examples

Move the mouse to 500,125

  • pISInterface->MouseTo(500,125);


See Also