CWnd::UnsubclassWindow
Call this member function to set WndProc back to its original value and detach the window identified by HWND from the CWnd object.
Syntax
HWND UnsubclassWindow( );
Return Value
A handle to the unsubclassed window.
Example
See the example for CWnd::SubclassWindow.
Requirements
Header: afxwin.h
See Also
CWnd Class
Hierarchy Chart
CWnd::SubclassWindow
CWnd::PreSubclassWindow
CWnd::DefWindowProc
CWnd::SubclassDlgItem
CWnd::Attach