// CMTerm1BnlView.cpp: 实现文件
|
//
|
|
#include "pch.h"
|
#include "MTerm1.h"
|
#include "MTerm1BnlView.h"
|
#include "MTerm1Doc.h"
|
|
// CMTerm1BnlView
|
|
IMPLEMENT_DYNCREATE(CMTerm1BnlView, CEditView)
|
|
CMTerm1BnlView::CMTerm1BnlView()
|
{
|
|
}
|
|
CMTerm1BnlView::~CMTerm1BnlView()
|
{
|
}
|
|
|
BEGIN_MESSAGE_MAP(CMTerm1BnlView, CEditView)
|
END_MESSAGE_MAP()
|
|
|
// CMTerm1BnlView 绘图
|
|
void CMTerm1BnlView::OnInitialUpdate()
|
{
|
CEditView::OnInitialUpdate();
|
CMTerm1Doc * pDoc = (CMTerm1Doc *)GetDocument();
|
pDoc->ProgTxt;
|
// CSize sizeTotal;
|
// // TODO: 计算此视图的合计大小
|
// sizeTotal.cx = sizeTotal.cy = 100;
|
// SetScrollSizes(MM_TEXT, sizeTotal);
|
}
|
|
void CMTerm1BnlView::OnDraw(CDC* pDC)
|
{
|
CDocument* pDoc = GetDocument();
|
// TODO: 在此添加绘制代码
|
}
|
|
|
// CMTerm1BnlView 诊断
|
|
#ifdef _DEBUG
|
void CMTerm1BnlView::AssertValid() const
|
{
|
CEditView::AssertValid();
|
}
|
|
#ifndef _WIN32_WCE
|
void CMTerm1BnlView::Dump(CDumpContext& dc) const
|
{
|
CEditView::Dump(dc);
|
}
|
#endif
|
#endif //_DEBUG
|
|
|
// CMTerm1BnlView 消息处理程序
|