Hi,
How do i close (using code) the last created CView in my MDI app. from the CMainFrame class ?
TIA.
Hi,
How do i close (using code) the last created CView in my MDI app. from the CMainFrame class ?
TIA.
Call OnCloseDocument on the associated CDocument (which you can get by calling GetDocument on the CView instance).