QuakeGod
2023-10-20 6fa60de2b0d0237054aa7571191df0f291838031
提交 | 用户 | age
418cb3 1 // MTerm1TestView.cpp: 实现文件
Q 2 //
3
4 #include "pch.h"
5 #include "framework.h"
6 #include "MTerm1.h"
7
8
9 #include "MTerm1Doc.h"
10 #include "MTerm1TestView.h"
11
12
13 // CMTerm1TestView
14
15 IMPLEMENT_DYNCREATE(CMTerm1TestView, CFormView)
16
17 CMTerm1TestView::CMTerm1TestView()
18     : CFormView(IDD_MTerm1TestView)
19 {
20
21 }
22
23 CMTerm1TestView::~CMTerm1TestView()
24 {
25 }
26
27 void CMTerm1TestView::DoDataExchange(CDataExchange* pDX)
28 {
29     CFormView::DoDataExchange(pDX);
30 }
31
32 BEGIN_MESSAGE_MAP(CMTerm1TestView, CFormView)
33 END_MESSAGE_MAP()
34
35
36 // CMTerm1TestView 诊断
37
38 #ifdef _DEBUG
39 void CMTerm1TestView::AssertValid() const
40 {
41     CFormView::AssertValid();
42 }
43
44 #ifndef _WIN32_WCE
45 void CMTerm1TestView::Dump(CDumpContext& dc) const
46 {
47     CFormView::Dump(dc);
48 }
49 #endif
50 CMTerm1Doc* CMTerm1TestView::GetDocument() const // 非调试版本是内联的
51 {
52     ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CMTerm1Doc)));
53     return (CMTerm1Doc*)m_pDocument;
54 }
55 #endif //_DEBUG
56
57
58 // CMTerm1TestView 消息处理程序