CWindow::GetDlgItem

This method retrieves the specified child window.

At a Glance

Header file: Atlwin.h
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

HWND GetDlgItem( int nID ) const;

Remarks

The GetDlgItem method only works for immediate child controls of a dialog box — it does not search through nested dialog boxes.