Howto close a MDI CView from CMainFrame
How do 开发者_Go百科I close (using code) the last created CView in my MDI app. from the CMainFrame class ?
Call OnCloseDocument on the associated CDocument (which you can get by calling GetDocument on the CView instance).
精彩评论