CMDIChildWnd::MDIDestroy
MDI 자식 창 소멸이 멤버 함수를 호출 합니다.
void MDIDestroy( );
설명
멤버 함수에서 프레임 창은 자식 창의 제목을 제거 하 고 자식 창을 비활성화 합니다.
예제
// CMainFrame::OnCloseWindow() is a menu command handler for
// CMainFrame class, which in turn is a CMDIFrameWnd-derived
// class. It closes and destroys the current active MDI child window.
void CMainFrame::OnCloseWindow()
{
CMDIChildWnd* child = MDIGetActive();
if (child)
child->MDIDestroy();
}
요구 사항
헤더: afxwin.h