Table of contents
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.


expression. WindowState

expression A variable that represents an Application object.


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.


The following example minimizes the Project application window.

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