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

📄 mfcexampledoc.cpp

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

#include "stdafx.h"
#include "MFCExample.h"

#include "MFCExampleDoc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// CMFCExampleDoc

IMPLEMENT_DYNCREATE(CMFCExampleDoc, CDocument)

BEGIN_MESSAGE_MAP(CMFCExampleDoc, CDocument)
END_MESSAGE_MAP()


// CMFCExampleDoc 构造/析构

CMFCExampleDoc::CMFCExampleDoc()
{
	// TODO: 在此添加一次性构造代码

}

CMFCExampleDoc::~CMFCExampleDoc()
{
}

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

	// TODO: 在此添加重新初始化代码
	// (SDI 文档将重用该文档)

	return TRUE;
}




// CMFCExampleDoc 序列化

void CMFCExampleDoc::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
		// TODO: 在此添加存储代码
	}
	else
	{
		// TODO: 在此添加加载代码
	}
}


// CMFCExampleDoc 诊断

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

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


// CMFCExampleDoc 命令

⌨️ 快捷键说明

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