WindowFromPoint

機能
指定の座標位置にあるウィンドウハンドルを取得
Declare Function WindowFromPoint Lib "user32.dll"  
    (ByVal x As Long, ByVal y As Long) As Long
Declare Function WindowFromPoint Lib "user32.dll"  
    (ByVal x As Integer, ByVal y As Integer) As Integer

HWND WindowFromPoint(
POINT Point
);
引数
x

スクリーン座標によるx座標の1点
y
同、y座標
戻り値
正常終了のとき  ウィンドウのハンドル
エラーのとき  0