【VC开源代码栏目提醒】:网学会员VC开源代码为您提供CCHange_3Doc.cpp参考,解决您在CCHange_3Doc.cpp学习中工作中的难题,参考学习。
// CCHange_3Doc.cpp : implementation of the CCCHange_3Doc class
//
#include "stdafx.h"
#include "CCHange_3.h"
#include "CCHange_3Doc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCCHange_3Doc
IMPLEMENT_DYNCREATE(CCCHange_3Doc, CDocument)
BEGIN_MESSAGE_MAP(CCCHange_3Doc, CDocument)
//{{AFX_MSG_MAP(CCCHange_3Doc)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CCCHange_3Doc construction/destruction
CCCHange_3Doc::CCCHange_3Doc()
{
// TODO: add one-time construction code here
}
CCCHange_3Doc::~CCCHange_3Doc()
{
}
BOOL CCCHange_3Doc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CCCHange_3Doc serialization
void CCCHange_3Doc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CCCHange_3Doc diagnostics
#ifdef _DEBUG
void CCCHange_3Doc::AssertValid() const
{
CDocument::AssertValid();
}
void CCCHange_3Doc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CCCHange_3Doc commands