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.
HWNDÂ UnsubclassWindow(Â );
Return Value
A handle to the unsubclassed window.
Example
See the example for CWnd::SubclassWindow.
Requirements
Header: afxwin.h