// MFCdvaDoc.cpp : implementation of the CMFCdvaDoc class // #include "stdafx.h" #include "MFCdva.h" #include "MFCdvaDoc.h" #ifdef _DEBUG #define new DEBUG_NEW #endif // CMFCdvaDoc IMPLEMENT_DYNCREATE(CMFCdvaDoc, CDocument) BEGIN_MESSAGE_MAP(CMFCdvaDoc, CDocument) END_MESSAGE_MAP() // CMFCdvaDoc construction/destruction CMFCdvaDoc::CMFCdvaDoc() { // TODO: add one-time construction code here } CMFCdvaDoc::~CMFCdvaDoc() { } BOOL CMFCdvaDoc::OnNewDocument() { if (!CDocument::OnNewDocument()) return FALSE; // TODO: add reinitialization code here // (SDI documents will reuse this document) return TRUE; } // CMFCdvaDoc serialization void CMFCdvaDoc::Serialize(CArchive& ar) { if (ar.IsStoring()) { // TODO: add storing code here } else { // TODO: add loading code here } } // CMFCdvaDoc diagnostics #ifdef _DEBUG void CMFCdvaDoc::AssertValid() const { CDocument::AssertValid(); } void CMFCdvaDoc::Dump(CDumpContext& dc) const { CDocument::Dump(dc); } #endif //_DEBUG // CMFCdvaDoc commands