Jump to content

SpIsChild

From EDM2
Revision as of 02:33, 1 April 2015 by Martini (talk | contribs) (Created page with "This function indicates if a window is a descendant of another window. '''Syntax:''' ischild = spIsChild ( hwnd , hwndParent ) '''Parameters:''' * hwnd – Window handle of...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.)