QuakeGod
2023-10-20 6fa60de2b0d0237054aa7571191df0f291838031
提交 | 用户 | age
418cb3 1 // MTerm1LdsView.cpp: 实现文件
Q 2 //
3
4 #include "pch.h"
5 #include "MTerm1.h"
6 #include "MTerm1LdsView.h"
7
8
9 // CMTerm1LdsView
10
11 IMPLEMENT_DYNCREATE(CMTerm1LdsView, CScrollView)
12
13 CMTerm1LdsView::CMTerm1LdsView()
14 {
15
16 }
17
18 CMTerm1LdsView::~CMTerm1LdsView()
19 {
20 }
21
22
23 BEGIN_MESSAGE_MAP(CMTerm1LdsView, CScrollView)
24 END_MESSAGE_MAP()
25
26
27 // CMTerm1LdsView 绘图
28
29 void CMTerm1LdsView::OnInitialUpdate()
30 {
31     CScrollView::OnInitialUpdate();
32
33     CSize sizeTotal;
34     // TODO:  计算此视图的合计大小
35     sizeTotal.cx = sizeTotal.cy = 100;
36     SetScrollSizes(MM_TEXT, sizeTotal);
37 }
38
39 void CMTerm1LdsView::OnDraw(CDC* pDC)
40 {
41     CDocument* pDoc = GetDocument();
42     // TODO:  在此添加绘制代码
43 }
44
45
46 // CMTerm1LdsView 诊断
47
48 #ifdef _DEBUG
49 void CMTerm1LdsView::AssertValid() const
50 {
51     CScrollView::AssertValid();
52 }
53
54 #ifndef _WIN32_WCE
55 void CMTerm1LdsView::Dump(CDumpContext& dc) const
56 {
57     CScrollView::Dump(dc);
58 }
59 #endif
60 #endif //_DEBUG
61
62
63 // CMTerm1LdsView 消息处理程序