The WindowFromPoint function retrieves a handle to the window that
contains the specified point. This is a simple wrapper around Win32 function.
$hwnd = WindowFromPoint( $x, $y );
-
$x
- x coordinate of the point
-
$y
- y coordinate of the point
Handle of a window, which has a specified point