I have written a graphics program that reads information from a file and displays the information correctly on to the screen.
The problem is that the program only displays correctly the last file opened.
The display of previously opened files are affected in that I can no longer see them in their previous view state on the screen when I select them via the Window menu. I am assuming that the OnMdiActivate is executed when I do this.
I just might be missing something quite basic in writing an MDI application. I suspect it might have something to do with setting the viewport origin and extents correctly in CView::OnInitialUpdate. Thanks for any help.