QuakeGod
2024-12-24 61deef5cdf96cbfdd6ad45be49e80d597c00ca65
提交 | 用户 | age
61deef 1 
Q 2 // MFCApplication1.h: MFCApplication1 应用程序的主头文件
3 //
4 #pragma once
5
6 #ifndef __AFXWIN_H__
7     #error "在包含此文件之前包含 'pch.h' 以生成 PCH"
8 #endif
9
10 #include "resource.h"       // 主符号
11
12
13 // CMFCApplication1App:
14 // 有关此类的实现,请参阅 MFCApplication1.cpp
15 //
16
17 class CMFCApplication1App : public CWinApp
18 {
19 public:
20     CMFCApplication1App() noexcept;
21
22
23 // 重写
24 public:
25     virtual BOOL InitInstance();
26     virtual int ExitInstance();
27
28 // 实现
29 protected:
30     HMENU  m_hMDIMenu;
31     HACCEL m_hMDIAccel;
32
33 public:
34     afx_msg void OnAppAbout();
35     afx_msg void OnFileNew();
36     DECLARE_MESSAGE_MAP()
37 };
38
39 extern CMFCApplication1App theApp;