CWindow::DestroyWindow

관련 창을 소멸의 CWindow 개체와 세트 m_hWndNULL.

BOOL DestroyWindow( ) throw();

설명

참조 DestroyWindow 에 있는 Windows SDK.

파괴 하지 않습니다는 CWindow 개체 자체입니다.

예제

//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;

요구 사항

헤더: atlwin.h

참고 항목

참조

CWindow 클래스