remove Document from MDI.
Posted on 2002-05-29
i want to remove doc from MDI application.
After create new document , i have to get the handle and close the document.
1. I cannot call the OnCloseDocument() within OnInitialUpdate ( CView ).
2. If I call OnCloseDocument within OnShowWindow ( CView ), document is closing but "Failed to create empty document" error is comming.