The WindowEx.IsWindowMaximized function determines whether a window is maximized.

boolean WindowEx.IsWindowMaximized(

number hWnd --handle of window
);

Parameters

hWnd

Identifies the window.

Return Values

If the window is maximized, the return value is TRUE.
If the window is not maximized, the return value is FALSE.