This method retrieves the specified child window.
HWND GetDlgItem( int nID ) const;
Header file: | Atlwin.h |
Platforms: | |
Versions: | Version 2.0 and later |
Complete documentation: | Visual C++ documentation |
The GetDlgItem method only works for immediate child controls of a dialog box—it doesn't search through nested dialog boxes.
CWindow Overview, CWindow Methods