CWnd::SubclassWindow

Call this member function to dynamically subclass a window and attach it to this CWnd object.

Syntax

BOOL SubclassWindow( HWND hWnd );

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::SubclassDlgItem, CWnd::Attach, CWnd::PreSubclassWindow, CWnd::UnSubclassWindow