Function Reference


_WinAPI_SetCapture

Sets the mouse capture to the specified window belonging to the current thread

#include <WinAPI.au3>
_WinAPI_SetCapture ( $hWnd )

Parameters

$hWnd Handle to the window in the current thread that is to capture the mouse

Return Value

Success: handle to the window that had previously captured the mouse
Failure: 0

See Also

Search SetCapture in MSDN Library.