CWnd::GetDlgItem
Visual Studio 2010
Retrieves a pointer to the specified control or child window in a dialog box or other window.
CWnd* GetDlgItem( int nID ) const; void GetDlgItem( int nID, HWND* phWnd ) const;