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( );
Возвращаемое значение
A handle to the unsubclassed window.
Пример
See the example for CWnd::SubclassWindow.
Требования
Header: afxwin.h