spwdoc.cpp

来自「MFC编程实例」· C++ 代码 · 共 54 行

CPP
54
字号
#include "stdafx.h"
#include "Spw.h"
#include "SpwDoc.h"

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

IMPLEMENT_DYNCREATE(CSpwDoc, CDocument)

BEGIN_MESSAGE_MAP(CSpwDoc, CDocument)
	//{{AFX_MSG_MAP(CSpwDoc)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

CSpwDoc::CSpwDoc()
{
}

CSpwDoc::~CSpwDoc()
{
}

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

	return TRUE;
}

void CSpwDoc::Serialize(CArchive& ar)
{
	if(ar.IsStoring())
	{
	}
	else
	{
	}
}

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

void CSpwDoc::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif

⌨️ 快捷键说明

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