title | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | |
---|---|---|---|---|---|---|
Application.WindowState property (Project) |
project-server |
|
1a5d372d-9e05-80b4-6722-19781381d372 |
06/08/2017 |
medium |
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
[!includeSupport and feedback]