-
January 30th, 2005, 09:51 PM
#1
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|