Skip to main content
Version: Next

Is window maximized

Is window maximized ( window ) -> Function result

ParameterTypeDescription
windowWinRef🡒Window reference number
Function resultBoolean🡐True if the window is maximized, False otherwise

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