Call this member function to set WndProc back to its original value and detach the window identified by HWND from the CWnd object.
HWND UnsubclassWindow( );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::SubclassWindow, CWnd::PreSubclassWindow, CWnd::GetSuperWndProcAddr, CWnd::DefWindowProc, CWnd::SubclassDlgItem, CWnd::Attach