WinFromPoint

Returns the window at a screen position.

HWND := WinFromPoint(X, Y)

Parameters

X, Y

Type: Integer

The point in screen coordinates.

Return Value

Type: Integer

Returns the window handle at the specified point.

MouseGetPos, WinExist, WinTitle