Progress
Language Reference


WINDOW-STATE Attribute

The current visual state of a window in the window system.

Data Type: INTEGER

Access: Readable/Writeable

Applies To: Window

The possible values can be expressed as compiler constants. Table 64 lists these values.

Table 64: Window State Values 
Compiler Constant
Value
Description
WINDOW-MAXIMIZED
1
The window has been maximized to fill the entire display.
WINDOW-MINIMIZED
2
The window has been minimized (iconified).
WINDOW-NORMAL
3
The window is in the “restored” state. Initially, this refers to a state that is neither maximized nor minimized. However, setting WINDOW-STATE to WINDOW-NORMAL restores the window to its previous state, which may be the maximized, minimized, or neither.

You can change the state of a window programmatically by setting the WINDOW-STATE attribute. Note that you can change a window to its maximized state on Windows only.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095