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