Share via


CWindow::GetDescendantWindow

 

Finds the descendant window specified by the given identifier.

Syntax

      HWND GetDescendantWindow(
   int nID 
) const throw();

Parameters

  • nID
    [in] The identifier of the descendant window to be retrieved.

Return Value

The handle to a descendant window.

Remarks

GetDescendantWindow searches the entire tree of child windows, not only the windows that are immediate children.

Requirements

Header: atlwin.h

See Also

CWindow Class
CWindow::GetDlgItem