CWnd::DestroyWindow

This method destroys the Windows CE window attached to this 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

virtual BOOL DestroyWindow ( );

Remarks

The CWnd::DestroyWindow method only sends the WM_DESTROY message. Windows CE does not support the WM_NCDESTROY message.

See Also

CWnd::OnDestroy, CWnd::Detach