Share via


Window Object Members

Project Developer Reference

A Window object represents a window in the application or the project.

Methods

  Name Description
Bb212900.methods(en-us,office.12).gif Activate Activates the object, bringing the window to the front of the z-order.
Bb212900.methods(en-us,office.12).gif Close Closes a pane or window.
Bb212900.methods(en-us,office.12).gif Refresh The description for this item will appear in the final release of Office 2007.
Bb212900.methods(en-us,office.12).gif WebBrowserControlFrame Returns the DOM object of a specified frame in the Web browser control window hosted inside the active window.
Bb212900.methods(en-us,office.12).gif WebBrowserControlWindow Returns the DOM object for the Microsoft Internet Explorer window loaded in the Web browser control that is hosted within the specified window in Project.

Properties

  Name Description
Bb212900.properties(en-us,office.12).gif ActivePane Returns a Pane object that represents the active pane of a window. Read-only.
Bb212900.properties(en-us,office.12).gif Application Returns an Application object. Read-only Object.
Bb212900.properties(en-us,office.12).gif BottomPane Returns a Pane object representing the bottom pane of a window. Read-only.
Bb212900.properties(en-us,office.12).gif Caption Returns or sets the text in the title bar of a project window. Read/write String.
Bb212900.properties(en-us,office.12).gif Height Returns or sets the height of a project window in points. Read/write Long.
Bb212900.properties(en-us,office.12).gif Index Returns the index of an object in its containing collection. Read-only Variant.
Bb212900.properties(en-us,office.12).gif Left Returns or sets the distance of a project window from the left edge of the main window in points. Read/write Long.
Bb212900.properties(en-us,office.12).gif Parent Returns the parent of the object. Read-only Object.
Bb212900.properties(en-us,office.12).gif Top Returns or sets the distance of a project window from the top edge of the main window (Window object) in points. Read/write Long.
Bb212900.properties(en-us,office.12).gif TopPane Returns a Pane object representing the top pane of a window. Read-only Object.
Bb212900.properties(en-us,office.12).gif Visible True if the object is visible. Read/write Boolean.
Bb212900.properties(en-us,office.12).gif Width Returns or sets the width in points of a project window in a Window object. Read/write Long.
Bb212900.properties(en-us,office.12).gif WindowState Returns or sets the state of all project windows (Window object). Can be one of the PjWindowState constants. Read/write Long.