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