Gets the handle to the window (if any) that has captured the mouse
#include <WinAPISys.au3>
_WinAPI_GetCapture ( )
Success: | handle to the window that has the captured the mouse |
Failure: | Null handle if none found |
Search GetCapture in MSDN Library.
#include <WinAPISys.au3>
Local $Hwnd = _WinAPI_GetCapture()
MsgBox(0, "Mouse capture Handle", $Hwnd)