Zoomed? Function

Purpose

Returns True if the window is maximized.

Syntax

Zoomed?(wh%)

wh%:integer expression

Description

The single parameter (wh%) in this function specifies the number of the window whose status is to be returned. When 0 <= wh% <= 31, wh% specifies a window number, otherwise is holds a window handle.

Example

OpenW # 1 : AutoRedraw = 1

ShowW 1, SW_SHOWMAXIMIZED

OpenW # 2, 200, 200, 400, 200

Win 2

Print Zoomed?(2)// False

Win 1

Print Zoomed?(1)// True

Remarks

Zoomed? corresponds to Windows function IsZoomed().

See Also

Enabled?(), Iconic?(), Visible?(), WindowState

{Created by Sjouke Hamstra; Last updated: 25/10/2014 by James Gaite}