Function:
SetCursorPos(intX,intY)

 

Description:
Moves the cursor to the specified screen coordinates.

 

Parameters:
intX: Specifies the new x-coordinate, in screen coordinates, of the cursor.
intY: Specifies the new y-coordinate, in screen coordinates, of the cursor.

 

Returns:
If the function succeeds, the return value is nonzero. If the function fails, the return value is zero.

 

Example:
Click on the calc icon to view a sample of the SetCursorPos function.