PyCWnd.SetActiveWindow

PyCWnd = SetActiveWindow()

Sets the window active. Returns the previously active window, or None.

Return Value

The result is the previous window with focus, or None.