📄 statview1.cpp
字号:
// StatView1.cpp : implementation file
//
#include "stdafx.h"
#include "sy44.h"
#include "StatView1.h"
#include "sy44Doc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CStatView1
IMPLEMENT_DYNCREATE(CStatView1, CView)
CStatView1::CStatView1()
{
}
CStatView1::~CStatView1()
{
}
BEGIN_MESSAGE_MAP(CStatView1, CView)
//{{AFX_MSG_MAP(CStatView1)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CStatView1 drawing
void CStatView1::OnDraw(CDC* pDC)
{
CSy44Doc* pDoc =(CSy44Doc*)GetDocument();
ASSERT_VALID(pDoc);
// TODO: add draw code here
pDC->TextOut(10,10,pDoc->m_String);
}
/////////////////////////////////////////////////////////////////////////////
// CStatView1 diagnostics
#ifdef _DEBUG
void CStatView1::AssertValid() const
{
CView::AssertValid();
}
void CStatView1::Dump(CDumpContext& dc) const
{
CView::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CStatView1 message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -