This data member contains a pointer to a CDocument. You can use this pointer to convey additional information about the serialization process to all objects being serialized. Initialize the pointer, with the document that's being serialized, in such a way that objects within the document can access the document if necessary.
CDocument m_pDocument;
Header file: | Afx.h |
Platforms: | !klink(m_pDocument) |
Versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
CArchive Overview, CArchive Data Members, Run-Time Object Model Support, CDocument