ex120800bdoc.cpp
来自「深入浅出Visual C++入门进阶与应用实例 随书光盘 作者 何志丹」· C++ 代码 · 共 85 行
CPP
85 行
// Ex120800bDoc.cpp : implementation of the CEx120800bDoc class
//
#include "stdafx.h"
#include "Ex120800b.h"
#include "Ex120800bDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CEx120800bDoc
IMPLEMENT_DYNCREATE(CEx120800bDoc, CDocument)
BEGIN_MESSAGE_MAP(CEx120800bDoc, CDocument)
//{{AFX_MSG_MAP(CEx120800bDoc)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CEx120800bDoc construction/destruction
CEx120800bDoc::CEx120800bDoc()
{
// TODO: add one-time construction code here
}
CEx120800bDoc::~CEx120800bDoc()
{
}
BOOL CEx120800bDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CEx120800bDoc serialization
void CEx120800bDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CEx120800bDoc diagnostics
#ifdef _DEBUG
void CEx120800bDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CEx120800bDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CEx120800bDoc commands
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?