Edit

Share via


_Document.ActiveWindow Property

Definition

Returns a Window object that represents the active window.

public:
 property Microsoft::Office::Interop::Word::Window ^ ActiveWindow { Microsoft::Office::Interop::Word::Window ^ get(); };
public Microsoft.Office.Interop.Word.Window ActiveWindow { get; }
member this.ActiveWindow : Microsoft.Office.Interop.Word.Window
Public ReadOnly Property ActiveWindow As Window

Property Value

Remarks

The active window is the window with the focus.

If there are no windows open, an error occurs.

Applies to