共用方式為


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

Concepts

CWnd Class

CWnd Members

Hierarchy Chart

CWnd::SubclassWindow

CWnd::PreSubclassWindow

CWnd::GetSuperWndProcAddr

CWnd::DefWindowProc

CWnd::SubclassDlgItem

CWnd::Attach