Iconic? Function

Purpose

Returns True if the window is iconized.

Syntax

Bool = Iconic?(wh%)

wh%:integer expression

Description

The single parameter (wh%) in this function specifies the number of the window whose status is to be reported.

Example

Debug.Show

OpenW # 1

ShowW 1, SW_SHOWMINIMIZED

OpenW # 2

Trace Iconic?(1)                // True

Trace Iconic?(2)                // False

Trace IsIconic(Win_1.hWnd)      // 1 (True)

Trace IsIconic(Win_2.hWnd)      // 0 (False)

Trace Me.WindowState            // basNormal (0)

CloseW 2

CloseW 1

Remarks

Iconic?() corresponds to Windows function IsIconic() which is implemented as an API and takes the windows handle as in the example above.

See Also

Enabled?(), Visible?(), Zoomed?(), WindowState

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