Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 1.08 KB

Project.Window.WindowState.md

File metadata and controls

42 lines (25 loc) · 1.08 KB
title ms.service api_name ms.assetid ms.date ms.localizationpriority
Window.WindowState property (Project)
project-server
Project.Window.WindowState
b1c0616c-7377-356e-446d-ee2d2f490e15
06/08/2017
medium

Window.WindowState property (Project)

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

Syntax

expression.WindowState

expression A variable that represents a Window object.

Remarks

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.

Example

The following example maximizes the active window.

Sub MaximizeProjectWindow() 
 ActiveWindow.WindowState = pjMaximized 
End Sub

[!includeSupport and feedback]