title | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | |
---|---|---|---|---|---|---|
Window.WindowState property (Project) |
project-server |
|
b1c0616c-7377-356e-446d-ee2d2f490e15 |
06/08/2017 |
medium |
Gets or sets the state the window, where the state is maximized or normal. Read/write PjWindowState.
expression.WindowState
expression A variable that represents a Window object.
The WindowState property can be one of the following PjWindowState constants: pjMaximized or pjNormal. The pjMinimized value has no effect on a window within the Project application.
To change the state of the application window, use the WindowState property of the Application object.
The following example maximizes the active window.
Sub MaximizeProjectWindow()
ActiveWindow.WindowState = pjMaximized
End Sub
[!includeSupport and feedback]