提交 | 用户 | age
|
418cb3
|
1 |
|
Q |
2 |
// MainFrm.h: CMainFrame 类的接口
|
|
3 |
//
|
|
4 |
|
|
5 |
#pragma once
|
|
6 |
|
|
7 |
class CMainFrame : public CFrameWnd
|
|
8 |
{
|
|
9 |
|
|
10 |
protected: // 仅从序列化创建
|
|
11 |
CMainFrame() noexcept;
|
|
12 |
DECLARE_DYNCREATE(CMainFrame)
|
|
13 |
|
|
14 |
// 特性
|
|
15 |
public:
|
|
16 |
|
|
17 |
// 操作
|
|
18 |
public:
|
|
19 |
|
|
20 |
// 重写
|
|
21 |
public:
|
|
22 |
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
|
|
23 |
|
|
24 |
// 实现
|
|
25 |
public:
|
|
26 |
virtual ~CMainFrame();
|
|
27 |
#ifdef _DEBUG
|
|
28 |
virtual void AssertValid() const;
|
|
29 |
virtual void Dump(CDumpContext& dc) const;
|
|
30 |
#endif
|
|
31 |
|
|
32 |
protected: // 控件条嵌入成员
|
|
33 |
CToolBar m_wndToolBar;
|
|
34 |
CStatusBar m_wndStatusBar;
|
|
35 |
|
|
36 |
// 生成的消息映射函数
|
|
37 |
protected:
|
|
38 |
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
|
|
39 |
DECLARE_MESSAGE_MAP()
|
|
40 |
|
|
41 |
};
|
|
42 |
|
|
43 |
|