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

Thread: UpdateAllViews

Threaded View

  1. #3
    Join Date
    Sep 2005
    Posts
    336

    Re: UpdateAllViews

    Sorry.
    My (quick) project name is Document
    Document: DocumentDoc.h and .cpp
    View: DocumentView.h and .cpp

    And also i have a Dialog which takes size of the point and store it in m_PointSize which is in CDocumentDoc.

    My variables are in CDocumentDoc and my program gets it from Document and show it in CDocumentView.

    It can show points also can change size of points.

    But when i open a new view window with CTR+N. It doesn't reflect to new window. There is no point in new window. But i assumed that creating new window means it calls draw method so it would show all the points which is showed also in other view.

    In Doc/View arc. there is one document and multipleviews so i called UpdateAllViews as seen above. But new child windows can't show it. It seems that i can't relate views through doc.

    I hope i can explain now.
    Thanks.
    Last edited by sawer; June 2nd, 2008 at 07:29 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured