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

📄 chapter09adoc.cpp

📁 这是一个高效稳定的文本编辑器
💻 CPP
字号:
// Chapter09ADoc.cpp : implementation of the CChapter09ADoc class
//

#include "stdafx.h"
#include "Chapter09A.h"

#include "Chapter09ADoc.h"

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

/////////////////////////////////////////////////////////////////////////////
// CChapter09ADoc

IMPLEMENT_DYNCREATE(CChapter09ADoc, CDocument)

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

/////////////////////////////////////////////////////////////////////////////
// CChapter09ADoc construction/destruction

CChapter09ADoc::CChapter09ADoc()
{
	// TODO: add one-time construction code here

}

CChapter09ADoc::~CChapter09ADoc()
{
}

BOOL CChapter09ADoc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;

	((CEditView*)m_viewList.GetHead())->SetWindowText(NULL);

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

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CChapter09ADoc serialization

void CChapter09ADoc::Serialize(CArchive& ar)
{
	// CEditView contains an edit control which handles all serialization
	((CEditView*)m_viewList.GetHead())->SerializeRaw(ar);
}

/////////////////////////////////////////////////////////////////////////////
// CChapter09ADoc diagnostics

#ifdef _DEBUG
void CChapter09ADoc::AssertValid() const
{
	CDocument::AssertValid();
}

void CChapter09ADoc::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CChapter09ADoc commands

⌨️ 快捷键说明

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