This method destroys the window associated with the CWindow object and sets m_hWnd to NULL. It does not destroy the CWindow object itself.
BOOL DestroyWindow( );
| Header file: | Atlwin.h | 
| Platforms: | |
| Versions: | Version 2.0 and later | 
| Complete documentation: | Visual C++ documentation | 
CWindow Overview, CWindow Methods