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

Threaded View

  1. #1
    Join Date
    Jan 2005
    Posts
    126

    Cool A Question about SDI

    When file open is selected by the user the method,
    CMyProgDoc::Serialize(CArchive& ar) is called.

    I have in my application a LeftView class which is
    derived from CTreeView...

    My question is how do I pass the data in to the LeftView
    class from the Doc Class?

    I mean I could call a method of the LeftView class with the CArchive
    as a parameter, but how do I get the instance of the LeftView class
    within the Doc Class so that I can call the method?

    Where should the data object that was read in from a file be stored
    ie.. which class?

    TIA
    B
    Last edited by bobbob; January 30th, 2005 at 09:59 PM.

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