Partager via


CWindow::GetDescendantWindow

Finds the descendant window specified by the given identifier.

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

Reference

CWindow Class

CWindow::GetDlgItem

Other Resources

CWindow Members