plugsdidoc.cpp

来自「这是一本学习 window编程的很好的参考教材」· C++ 代码 · 共 79 行

CPP
79
字号
// PlugSDIDoc.cpp : implementation of the CPlugSDIDoc class
//

#include "stdafx.h"
#include "PlugSDI.h"

#include "PlugSDIDoc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// CPlugSDIDoc

IMPLEMENT_DYNCREATE(CPlugSDIDoc, CDocument)

BEGIN_MESSAGE_MAP(CPlugSDIDoc, CDocument)
END_MESSAGE_MAP()


// CPlugSDIDoc construction/destruction

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

}

CPlugSDIDoc::~CPlugSDIDoc()
{
}

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

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

	return TRUE;
}




// CPlugSDIDoc serialization

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


// CPlugSDIDoc diagnostics

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

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


// CPlugSDIDoc commands

⌨️ 快捷键说明

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