Call this member function to destroy the Windows window attached to this CWnd object.
virtual BOOL DestroyWindow ( );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
The CWnd::DestroyWindow member function only sends the WM_DESTROY message. Windows CE does not support the WM_NCDESTROY message.
CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::OnDestroy, CWnd::Detach