This member function is called by the framework to allow other necessary subclassing to occur before the window is subclassed.
virtual void PreSubclassWindow( );
Overriding this member function allows for dynamic subclassing of controls. It is an advanced overridable.
CWnd Overview | Class Members | Hierarchy Chart | CWnd::SubclassWindow | CWnd::UnsubclassWindow | CWnd::GetSuperWndProcAddr | CWnd::DefWindowProc | CWnd::SubclassDlgItem | CWnd::Attach | CWnd::PreCreateWindow