Function Reference


_WinAPI_SwitchToThisWindow

Switches the focus to a specified window and bring it to the foreground

#include <WinAPISys.au3>
_WinAPI_SwitchToThisWindow ( $hWnd [, $bAltTab = False] )

Parameters

$hWnd Handle to the window being switched to.
$bAltTab [optional] Specifies whether switches to using the Alt/Ctl+Tab key sequence, valid values:
    True - The window is being switched to using the Alt/Ctl+Tab key sequence.
    False - Otherwise (Default).

Return Value

None.

See Also

Search SwitchToThisWindow in MSDN Library.