Поделиться через


CWnd::IsChild

Indicates whether the window specified by pWnd is a child window or other direct descendant of CWnd.

BOOL IsChild(
   const CWnd* pWnd 
) const;

Параметры

  • pWnd
    Identifies the window to be tested.

Возвращаемое значение

Specifies the outcome of the function. The value is nonzero if the window identified by pWnd is a child window of CWnd; otherwise 0.

Заметки

A child window is the direct descendant of CWnd if the CWnd object is in the chain of parent windows that leads from the original pop-up window to the child window.

Требования

Header: afxwin.h

См. также

Основные понятия

CWnd Class

CWnd Members

Hierarchy Chart

IsChild