SpIsWindowVisible: Difference between revisions
Appearance
Created page with "This function returns the visibility state of a window. '''Syntax:''' isvisible = spIsWindowVisible ( hwnd ) '''Parameter:''' hwnd – Window Handle. '''Returns:''' * Tru..." |
m Ak120 moved page OS2 API:SPUTILS:spIsWindowVisible to SpIsWindowVisible |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 15: | Line 15: | ||
[...] | [...] | ||
[[Category: | [[Category:SpUtils]] |
Latest revision as of 23:32, 26 February 2017
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' [...]