Jump to content

SpIsChild: Difference between revisions

From EDM2
Ak120 (talk | contribs)
m Ak120 moved page OS2 API:SPUTILS:spIsChild to SpIsChild
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
* False (0) – if child window is not a descendant of the parent, or is an Object Window (even if hwndParent is specified as the desktop or HWND_DESKTOP), or an error occurred.)
* False (0) – if child window is not a descendant of the parent, or is an Object Window (even if hwndParent is specified as the desktop or HWND_DESKTOP), or an error occurred.)


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

Latest revision as of 19:18, 26 February 2017

This function indicates if a window is a descendant of another window.

Syntax: ischild = spIsChild ( hwnd , hwndParent )

Parameters:

  • hwnd – Window handle of child window.
  • hwndParent – Window handle of parent window.

Returns:

  • True (1) – if child window is a descendant of the parent window, or is equal to it.
  • False (0) – if child window is not a descendant of the parent, or is an Object Window (even if hwndParent is specified as the desktop or HWND_DESKTOP), or an error occurred.)