GetMousePosition

Syntax

TAPoint GetMousePosition()

Description

Retrieve the coordinates of the current mouse pointer position.

Return Value

TAPoint object containing the following coordinates:
x
Horizontal position of mouse pointer, specified as distance in pixels from left edge of the screen.
y
Vertical position of mouse pointer, specified as distance in pixels from top edge of the screen.