CWnd::SubclassDlgItem

Call this member function to dynamically subclass a control created from a dialog box template, and attach it to this CWnd object.

Syntax

BOOL SubclassDlgItem( UINT nID, CWnd* pParent );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::GetSuperWndProcAddr, CWnd::DefWindowProc, CWnd::SubclassWindow, CWnd::Attach