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 |
This function takes no parameters.
This function returns the X-coordinate of the cursor on the screen, or −1 if an error occurs.
Tag Name | Expression |
---|---|
GetCursorX( ) // Returned value = 1024 |