win32gui.SetForegroundWindow

HWND = SetForegroundWindow(hwnd)

Parameters

hwnd : int

The handle to the window