⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 oo4o_vcdoc.cpp

📁 这是书上的代码
💻 CPP
字号:
// OO4O_VCDoc.cpp : implementation of the COO4O_VCDoc class
//

#include "stdafx.h"
#include "OO4O_VC.h"

#include "OO4O_VCDoc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// COO4O_VCDoc

IMPLEMENT_DYNCREATE(COO4O_VCDoc, CDocument)

BEGIN_MESSAGE_MAP(COO4O_VCDoc, CDocument)
	//{{AFX_MSG_MAP(COO4O_VCDoc)
		// 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()

/////////////////////////////////////////////////////////////////////////////
// COO4O_VCDoc construction/destruction

//##ModelId=3F5A863800FC
COO4O_VCDoc::COO4O_VCDoc()
{
	// TODO: add one-time construction code here

}

//##ModelId=3F5A86380119
COO4O_VCDoc::~COO4O_VCDoc()
{
}

//##ModelId=3F5A86380109
BOOL COO4O_VCDoc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;

	// TODO: add reinitialization code here
	// (SDI documents will reuse this document)

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// COO4O_VCDoc serialization

//##ModelId=3F5A8638010B
void COO4O_VCDoc::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
		// TODO: add storing code here
	}
	else
	{
		// TODO: add loading code here
	}
}

/////////////////////////////////////////////////////////////////////////////
// COO4O_VCDoc diagnostics

#ifdef _DEBUG
//##ModelId=3F5A8638011B
void COO4O_VCDoc::AssertValid() const
{
	CDocument::AssertValid();
}

//##ModelId=3F5A8638011D
void COO4O_VCDoc::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// COO4O_VCDoc commands

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -