view0.cpp

来自「《面向对象程序设计实用教程》一书的源码」· C++ 代码 · 共 60 行

CPP
60
字号
// View0.cpp : implementation file
//

#include "stdafx.h"
#include "cge.h"
#include "View0.h"

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

/////////////////////////////////////////////////////////////////////////////
// CView0

IMPLEMENT_DYNCREATE(CView0, CView)

CView0::CView0()
{
}

CView0::~CView0()
{
}


BEGIN_MESSAGE_MAP(CView0, CView)
	//{{AFX_MSG_MAP(CView0)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CView0 drawing

void CView0::OnDraw(CDC* pDC)
{
	CDocument* pDoc = GetDocument();
	// TODO: add draw code here
}

/////////////////////////////////////////////////////////////////////////////
// CView0 diagnostics

#ifdef _DEBUG
void CView0::AssertValid() const
{
	CView::AssertValid();
}

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

/////////////////////////////////////////////////////////////////////////////
// CView0 message handlers

⌨️ 快捷键说明

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