DTE2.ActiveWindow Property

 

Gets the currently active window, or the top-most window if no others are active.

Namespace:   EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

abstract ActiveWindow : Window with get

Property Value

Type: EnvDTE.Window

A Window object. Returns Nothing if no windows are open.

ActiveWindow 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."

No code example is currently available or this language may not be supported.
Return to top
Show: