Skip to main content
Version: 20 R7 BETA

Is window maximized

Is window maximized ( window ) -> Function result

ParameterTypeDescription
windowIntegerWindow reference number
Function resultBooleanTrue if the window is maximized, False otherwise

This command is not thread-safe, it cannot be used in preemptive code.

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