-
March 22nd, 2009, 08:46 PM
#1
mdi views
Hello,
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.
-
March 23rd, 2009, 04:07 AM
#2
Re: mdi views
How did you create this App? Did you use AppWizard or did it by hands?
Could you post a small project reproducing such a behaviour?
Victor Nijegorodov
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|