Call this member function to dynamically subclass a window and attach it to this CWnd object.
BOOL SubclassWindow( HWND hWnd );
| Header File | Afxwin.h |
| Platforms | |
| Versions | 1.0 and later |
| Complete documentation | Visual C++ documentation |
CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::GetSuperWndProcAddr, CWnd::DefWindowProc, CWnd::SubclassDlgItem, CWnd::Attach, CWnd::PreSubclassWindow, CWnd::UnSubclassWindow