Skip to main content
Version: 21

Is window maximized

Is window maximized ( window ) : Boolean

ParameterTypeDescription
windowInteger→Window reference number
Function resultBoolean←True if the window is maximized, False otherwise
History
ReleaseChanges
20 R5Created

Description​

The Is window maximized command returns True if the window whose reference number is passed in window is currently maximized, and False otherwise.

Example​

You want to switch between the maximized and previous states:

If(Is window maximized($winRef))
MINIMIZE WINDOW($winRef)
Else
MAXIMIZE WINDOW($winRef)
End if

See also​

Is window reduced
MAXIMIZE WINDOW

Properties​

Command number1830
Thread safeno