ex06eview.cpp
来自「主要用于车载电子设备」· C++ 代码 · 共 74 行
CPP
74 行
// Ex06eView.cpp : implementation of the CEx06eView class
//
#include "stdafx.h"
#include "Ex06e.h"
#include "Ex06eDoc.h"
#include "Ex06eView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CEx06eView
IMPLEMENT_DYNCREATE(CEx06eView, CView)
BEGIN_MESSAGE_MAP(CEx06eView, CView)
END_MESSAGE_MAP()
// CEx06eView construction/destruction
CEx06eView::CEx06eView()
{
// TODO: add construction code here
}
CEx06eView::~CEx06eView()
{
}
BOOL CEx06eView::PreCreateWindow(CREATESTRUCT& cs)
{
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
return CView::PreCreateWindow(cs);
}
// CEx06eView drawing
void CEx06eView::OnDraw(CDC* pDC)
{
CEx06eDoc* pDoc = GetDocument();
ASSERT_VALID(pDoc);
pDC->TextOut(0, 0, "Choose About from the Help menu.");
}
// CEx06eView diagnostics
#ifdef _DEBUG
void CEx06eView::AssertValid() const
{
CView::AssertValid();
}
void CEx06eView::Dump(CDumpContext& dc) const
{
CView::Dump(dc);
}
CEx06eDoc* CEx06eView::GetDocument() const // non-debug version is inline
{
ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CEx06eDoc)));
return (CEx06eDoc*)m_pDocument;
}
#endif //_DEBUG
// CEx06eView message handlers
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?