mdi views
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: mdi views

  1. #1
    Join Date
    Apr 2002
    Posts
    121

    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.

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,606

    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
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center