ScreenToClient(X: Integer; Y: Integer): IPoint;
X. Point coordinate on the X axis.
Y. Point coordinate on the Y axis.
The ScreenToClient method converts screen coordinates of a point to coordinates specified relative to the component coordinate system.
See also: