Table of contents
TOC
Collapse the table of content
Expand the table of content

Application.WindowState Property (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Gets or sets the state of the Project application window, where the state is maximized, minimized, or normal. Read/write PjWindowState.

Syntax

expression. WindowState

expression A variable that represents an Application object.

Remarks

The WindowState property can be one of the PjWindowState constants.

To change the state of a window within the application window, use the WindowState property of the Window object.

Example

The following example minimizes the Project application window.

Sub MinimizeApplicationWindow() 
    Application.WindowState = pjMinimized 
End Sub
© 2018 Microsoft