CWnd::UnsubclassWindow

This method sets WndProc back to its original value and detach the window identified by HWND from the CWnd object.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

HWND UnsubclassWindow( );

See Also

CWnd::SubclassWindow, CWnd::PreSubclassWindow, CWnd::GetSuperWndProcAddr, CWnd::DefWindowProc, CWnd::SubclassDlgItem, CWnd::Attach