Jump to content

SpIsWindowVisible

From EDM2
Revision as of 13:57, 1 April 2015 by Martini (talk | contribs) (Created page with "This function returns the visibility state of a window. '''Syntax:''' isvisible = spIsWindowVisible ( hwnd ) '''Parameter:''' hwnd – Window Handle. '''Returns:''' * Tru...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This function returns the visibility state of a window.

Syntax: isvisible = spIsWindowVisible ( hwnd )

Parameter: hwnd – Window Handle.

Returns:

  • True (1) – Window and all its parents have the WS_VISIBLE style bit set on.
  • False (0) – Window or one of its parents have the WS_VISIBLE style bit set off.

Example Code: (part of spIsWindow example)

/* wininfo.cmd (spUtils Example Code) */
[...]
IF spIsWindowVisible(ARG(2)) THEN visible='yes'; ELSE visible='no'
[...]