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