333doc.cpp

来自「这是一个基于visual C++的可视化图形界面的实现比较简单的画图软件。可以画」· C++ 代码 · 共 85 行

CPP
85
字号
// 333Doc.cpp : implementation of the CMy333Doc class
//

#include "stdafx.h"
#include "333.h"

#include "333Doc.h"

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

/////////////////////////////////////////////////////////////////////////////
// CMy333Doc

IMPLEMENT_DYNCREATE(CMy333Doc, CDocument)

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

/////////////////////////////////////////////////////////////////////////////
// CMy333Doc construction/destruction

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

}

CMy333Doc::~CMy333Doc()
{
}

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

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

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CMy333Doc serialization

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

/////////////////////////////////////////////////////////////////////////////
// CMy333Doc diagnostics

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

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

/////////////////////////////////////////////////////////////////////////////
// CMy333Doc commands

⌨️ 快捷键说明

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