Show / Hide Table of Contents

Method wnd.switchActiveWindow


Overload

Activates next non-minimized main window, like with Alt+Tab.

public static bool switchActiveWindow()
Returns
bool

true if activated; false if there is no such window or if failed to activate.

Remarks

Uses wnd.getwnd.nextMain, wnd.getwnd.LastActiveOwnedOrThis, wnd.Activate. An alternative way - send Alt+Tab keys, but it works not everywhere.