CWindow::DestroyWindow
Ničí okno spojené s CWindow objektu a sady m_hWnd na NULL.
BOOL DestroyWindow( ) throw();
Poznámky
Viz DestroyWindow v .
Nelze zničit CWindow sám.
Příklad
//The following example attaches an HWND to the CWindow object and
//calls CWindow::DestroyWindow() to destroy the window
CWindow myWindow;
myWindow.Attach(hWndChild);
//call the CWindow wrappers
myWindow.DestroyWindow();
hWndChild = NULL;
Požadavky
Záhlaví: atlwin.h