CWindow::DestroyWindow

This method destroys the window associated with the CWindow object and sets m_hWnd to NULL. It does not destroy the CWindow object itself.

At a Glance

Header file: Atlwin.h
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

BOOL DestroyWindow( );