view4.cpp
来自「此书包含了大量的VC程序源代码,对于学习者来说是非常重要的,看后大家对VC将会有」· C++ 代码 · 共 60 行
CPP
60 行
// View4.cpp : implementation file
//
#include "stdafx.h"
#include "SplitWndDemo.h"
#include "View4.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CView4
IMPLEMENT_DYNCREATE(CView4, CView)
CView4::CView4()
{
}
CView4::~CView4()
{
}
BEGIN_MESSAGE_MAP(CView4, CView)
//{{AFX_MSG_MAP(CView4)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CView4 drawing
void CView4::OnDraw(CDC* pDC)
{
CDocument* pDoc = GetDocument();
// TODO: add draw code here
}
/////////////////////////////////////////////////////////////////////////////
// CView4 diagnostics
#ifdef _DEBUG
void CView4::AssertValid() const
{
CView::AssertValid();
}
void CView4::Dump(CDumpContext& dc) const
{
CView::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CView4 message handlers
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?