共用方式為


CWindowImpl::UnsubclassWindow

Detaches the subclassed window from the CWindowImpl object and restores the original window procedure, saved in m_pfnSuperWindowProc.

HWND UnsubclassWindow( );

Return Value

The handle to the window previously subclassed.

Requirements

Header: atlwin.h

See Also

Reference

CWindowImpl Class

CWindowImpl::SubclassWindow