Activates the specified window
#include <WinAPISys.au3>
_WinAPI_SetActiveWindow ( $hWnd )
$hWnd | Handle to the top-level window to be activated. |
Success: | Handle to the window that was previously active. |
Failure: | 0, call _WinAPI_GetLastError() to get extended error information. |
Search SetActiveWindow in MSDN Library.