myprintview.cpp

来自「这是一个管理信息系统」· C++ 代码 · 共 61 行

CPP
61
字号
// MyPrintView.cpp : implementation file
//

#include "stdafx.h"
#include "a1.h"
#include "MyPrintView.h"

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

/////////////////////////////////////////////////////////////////////////////
// CMyPrintView

IMPLEMENT_DYNCREATE(CMyPrintView, CView)

CMyPrintView::CMyPrintView()
{
}

CMyPrintView::~CMyPrintView()
{
}


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

/////////////////////////////////////////////////////////////////////////////
// CMyPrintView drawing

void CMyPrintView::OnDraw(CDC* pDC)
{
	CDocument* pDoc = GetDocument();
	
	pDC->TextOut(0,0,"werwerwre");
}

/////////////////////////////////////////////////////////////////////////////
// CMyPrintView diagnostics

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

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

/////////////////////////////////////////////////////////////////////////////
// CMyPrintView message handlers

⌨️ 快捷键说明

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