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

See Also

Reference

CWnd Class

Hierarchy Chart

CWnd::SubclassWindow

CWnd::PreSubclassWindow

CWnd::DefWindowProc

CWnd::SubclassDlgItem

CWnd::Attach

Concepts

CWnd Members