WindowState property (Display object)
Returns or sets a value that determines the visual state of a display window at runtime. Read/write. Constant.
If a display is docked, this property is read-only.
Syntax
Display
.WindowState
[ = state
]where
Display
– is the name of a Display object or an expression that evaluates to a Display object.state
– is a constant of the type gfxWindowStateConstants, that indicates whether the window is minimized, maximized, normal, or docked.Remarks
- Attempts to change the WindowState from Normal, Minimized, or Maximized, to a docked state raise the error gfxErrorMoveResize.
- Attempts to change the WindowState for a docked display, raise the error gfxErrorMoveResize.
Provide Feedback