Compartilhar via


IsChild (Windows CE 5.0)

Send Feedback

This function tests whether a window is a child window or descendant window of a specified parent window. A child window is the direct descendant of a specified parent window if that parent window is in the chain of parent windows; the chain of parent windows leads from the original overlapped or pop-up window to the child window.

BOOLIsChild(   HWNDhWndParent,   HWNDhWnd );

Parameters

  • hWndParent
    [in] Handle to the parent window.
  • hWnd
    [in] Handle to the window to be tested.

Return Values

Nonzero indicates that the window is a child or descendant window of the specified parent window. Zero indicates that the window is not a child or descendant window of the specified parent window.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winuser.h.

See Also

IsWindow | SetParent | Windows Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.