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