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.

Syntax

BOOL DestroyWindow( );

At a Glance

Header file: Atlwin.h
Platforms:
Versions: Version 2.0 and later
Complete documentation: Visual C++ documentation

See Also

CWindow Overview, CWindow Methods