Jump to content

SpIsWindowShowing: Difference between revisions

From EDM2
Created page with "This function determines whether any part of the window hwnd is physically visible. '''Syntax:''' isshowing = spIsWindowShowing ( hwnd ) '''Parameter:''' hwnd – Window han..."
 
Ak120 (talk | contribs)
 
(2 intermediate revisions by 2 users not shown)
Line 18: Line 18:
  [...]
  [...]


[[Category:The OS/2 API Project]]
[[Category:SpUtils]]

Latest revision as of 23:31, 26 February 2017

This function determines whether any part of the window hwnd is physically visible.

Syntax: isshowing = spIsWindowShowing ( hwnd )

Parameter: hwnd – Window handle.

Returns:

  • True (1) – Some part of the window is displayed on the screen.
  • False (0) – The function returns FALSE in these situations:
    • No part of the window is displayed on the screen
    • The window is disabled
    • The window update is disabled

Example Code: (part of spIsWindow example code)

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