graphicsdemo1doc.cpp

来自「Visual+C+++6[1].0实用教程代码 Visual+C+++6[1]」· C++ 代码 · 共 76 行

CPP
76
字号
// GraphicsDemo1Doc.cpp : implementation of the CGraphicsDemo1Doc class
//

#include "stdafx.h"
#include "GraphicsDemo1.h"

#include "GraphicsDemo1Doc.h"

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

/////////////////////////////////////////////////////////////////////////////
// CGraphicsDemo1Doc

IMPLEMENT_DYNCREATE(CGraphicsDemo1Doc, CDocument)

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

/////////////////////////////////////////////////////////////////////////////
// CGraphicsDemo1Doc construction/destruction

CGraphicsDemo1Doc::CGraphicsDemo1Doc()
{
}

CGraphicsDemo1Doc::~CGraphicsDemo1Doc()
{
}

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

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CGraphicsDemo1Doc serialization

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

/////////////////////////////////////////////////////////////////////////////
// CGraphicsDemo1Doc diagnostics

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

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

/////////////////////////////////////////////////////////////////////////////
// CGraphicsDemo1Doc commands

⌨️ 快捷键说明

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