// MDI.h : MDI 应用程序的主头文件 // #pragma once #ifndef __AFXWIN_H__ #error 在包含用于 PCH 的此文件之前包含“stdafx.h” #endif #include "resource.h" // 主符号 // CMDIApp: // 有关此类的实现,请参阅 MDI.cpp // class CMDIApp : public CWinApp { public: CMDIApp(); // 重写 public: virtual BOOL InitInstance(); // 实现 afx_msg void OnAppAbout(); DECLARE_MESSAGE_MAP() }; extern CMDIApp theApp;