DTE2.ActiveWindow Property
Visual Studio 2015
Gets the currently active window, or the top-most window if no others are active.
Assembly: EnvDTE80 (in EnvDTE80.dll)
Implements
_DTE.ActiveWindowActiveWindow returns the environment's active window.
You can set the caption only on Tool windows. If you attempt to set the caption on other window types, such as Document windows, you get the error, "Unspecified error."
Show: