?? myprintview.cpp
字號(hào):
// 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
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -