cropdoc.cpp

来自「《Visual C++ Bible》或者说是《Visual C++ 宝典》的对应」· C++ 代码 · 共 76 行

CPP
76
字号
// CropDoc.cpp : implementation of the CCropDoc class
//

#include "stdafx.h"
#include "Crop.h"

#include "CropDoc.h"

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

/////////////////////////////////////////////////////////////////////////////
// CCropDoc

IMPLEMENT_DYNCREATE(CCropDoc, CDocument)

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

/////////////////////////////////////////////////////////////////////////////
// CCropDoc construction/destruction

CCropDoc::CCropDoc()
{
}

CCropDoc::~CCropDoc()
{
}

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

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CCropDoc serialization

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

/////////////////////////////////////////////////////////////////////////////
// CCropDoc diagnostics

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

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

/////////////////////////////////////////////////////////////////////////////
// CCropDoc commands

⌨️ 快捷键说明

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