GetCursorX

Gets the X-coordinate of the mouse cursor on the screen.

Function Group Execution Windows Embedded Thin Client
GetCursorX System Info Synchronous Supported Supported Supported

Syntax

GetCursorX()

This function takes no parameters.

Returned value

This function returns the X-coordinate of the cursor on the screen, or −1 if an error occurs.

Examples

Tag Name Expression
  GetCursorX( ) // Returned value = 1024