提交 | 用户 | age
|
0ed438
|
1 |
|
Q |
2 |
// ChildFrm.cpp: CChildFrame 类的实现
|
|
3 |
//
|
|
4 |
|
|
5 |
#include "pch.h"
|
|
6 |
#include "framework.h"
|
|
7 |
#include "MTerm1.h"
|
|
8 |
|
|
9 |
#include "ChildFrm.h"
|
|
10 |
|
|
11 |
#ifdef _DEBUG
|
|
12 |
#define new DEBUG_NEW
|
|
13 |
#endif
|
|
14 |
|
|
15 |
// CChildFrame
|
|
16 |
|
|
17 |
IMPLEMENT_DYNCREATE(CChildFrame, CMDIChildWndEx)
|
|
18 |
|
|
19 |
BEGIN_MESSAGE_MAP(CChildFrame, CMDIChildWndEx)
|
|
20 |
END_MESSAGE_MAP()
|
|
21 |
|
|
22 |
// CChildFrame 构造/析构
|
|
23 |
|
|
24 |
CChildFrame::CChildFrame() noexcept
|
|
25 |
{
|
|
26 |
// TODO: 在此添加成员初始化代码
|
|
27 |
}
|
|
28 |
|
|
29 |
CChildFrame::~CChildFrame()
|
|
30 |
{
|
|
31 |
}
|
|
32 |
|
|
33 |
|
|
34 |
BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs)
|
|
35 |
{
|
|
36 |
// TODO: 在此处通过修改 CREATESTRUCT cs 来修改窗口类或样式
|
|
37 |
if( !CMDIChildWndEx::PreCreateWindow(cs) )
|
|
38 |
return FALSE;
|
|
39 |
|
|
40 |
return TRUE;
|
|
41 |
}
|
|
42 |
|
|
43 |
// CChildFrame 诊断
|
|
44 |
|
|
45 |
#ifdef _DEBUG
|
|
46 |
void CChildFrame::AssertValid() const
|
|
47 |
{
|
|
48 |
CMDIChildWndEx::AssertValid();
|
|
49 |
}
|
|
50 |
|
|
51 |
void CChildFrame::Dump(CDumpContext& dc) const
|
|
52 |
{
|
|
53 |
CMDIChildWndEx::Dump(dc);
|
|
54 |
}
|
|
55 |
#endif //_DEBUG
|
|
56 |
|
|
57 |
// CChildFrame 消息处理程序
|