Function Reference


_WinAPI_SetActiveWindow

Activates the specified window

#include <WinAPISys.au3>
_WinAPI_SetActiveWindow ( $hWnd )

Parameters

$hWnd Handle to the top-level window to be activated.

Return Value

Success: Handle to the window that was previously active.
Failure: 0, call _WinAPI_GetLastError() to get extended error information.

See Also

Search SetActiveWindow in MSDN Library.