// MFCApplication1.h: MFCApplication1 应用程序的主头文件 // #pragma once #ifndef __AFXWIN_H__ #error "在包含此文件之前包含 'pch.h' 以生成 PCH" #endif #include "resource.h" // 主符号 // CMFCApplication1App: // 有关此类的实现,请参阅 MFCApplication1.cpp // class CMFCApplication1App : public CWinApp { public: CMFCApplication1App() noexcept; // 重写 public: virtual BOOL InitInstance(); virtual int ExitInstance(); // 实现 protected: HMENU m_hMDIMenu; HACCEL m_hMDIAccel; public: afx_msg void OnAppAbout(); afx_msg void OnFileNew(); DECLARE_MESSAGE_MAP() }; extern CMFCApplication1App theApp;