d030bbabe2
Files correlati : Ricompilazione Demo : [ ] Commento : Riportata la versione 3.1 patch 766 git-svn-id: svn://10.65.10.50/trunk@14628 c028cbd2-c16b-5b4b-a496-9718f37d4682
85 lines
1.6 KiB
C++
Executable File
85 lines
1.6 KiB
C++
Executable File
// 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
|