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

📄 previewtooldoc.cpp

📁 MFC程序开发参考大全 【明日科技】宋坤 刘锐宁 李伟明 【丛 书 名】 软件工程师典藏 【出 版 社】 人民邮电出版社 本书详细介绍了MFC框架中所有常用类及控件的应用
💻 CPP
字号:
// PreviewToolDoc.cpp : implementation of the CPreviewToolDoc class
//

#include "stdafx.h"
#include "PreviewTool.h"

#include "PreviewToolDoc.h"

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

/////////////////////////////////////////////////////////////////////////////
// CPreviewToolDoc

IMPLEMENT_DYNCREATE(CPreviewToolDoc, CDocument)

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

/////////////////////////////////////////////////////////////////////////////
// CPreviewToolDoc construction/destruction

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

}

CPreviewToolDoc::~CPreviewToolDoc()
{
}

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

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

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CPreviewToolDoc serialization

void CPreviewToolDoc::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
		// TODO: add storing code here
	}
	else
	{
		// TODO: add loading code here
	}
}

/////////////////////////////////////////////////////////////////////////////
// CPreviewToolDoc diagnostics

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

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

/////////////////////////////////////////////////////////////////////////////
// CPreviewToolDoc commands

⌨️ 快捷键说明

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