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