// VC_TestDoc.cpp : implementation of the CVC_TestDoc class // #include "stdafx.h" #include "VC_Test.h" #include "VC_TestDoc.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CVC_TestDoc IMPLEMENT_DYNCREATE(CVC_TestDoc, CDocument) BEGIN_MESSAGE_MAP(CVC_TestDoc, CDocument) //{{AFX_MSG_MAP(CVC_TestDoc) // NOTE - the ClassWizard will add and remove mapping macros here. // DO NOT EDIT what you see in these blocks of generated code! //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CVC_TestDoc construction/destruction CVC_TestDoc::CVC_TestDoc() { // TODO: add one-time construction code here } CVC_TestDoc::~CVC_TestDoc() { } BOOL CVC_TestDoc::OnNewDocument() { if (!CDocument::OnNewDocument()) return FALSE; // TODO: add reinitialization code here // (SDI documents will reuse this document) return TRUE; } ///////////////////////////////////////////////////////////////////////////// // CVC_TestDoc serialization void CVC_TestDoc::Serialize(CArchive& ar) { if (ar.IsStoring()) { // TODO: add storing code here } else { // TODO: add loading code here } } ///////////////////////////////////////////////////////////////////////////// // CVC_TestDoc diagnostics #ifdef _DEBUG void CVC_TestDoc::AssertValid() const { CDocument::AssertValid(); } void CVC_TestDoc::Dump(CDumpContext& dc) const { CDocument::Dump(dc); } #endif //_DEBUG ///////////////////////////////////////////////////////////////////////////// // CVC_TestDoc commands