framework.h 787 B

1234567891011121314151617181920212223
  1. #pragma once
  2. #include "targetver.h"
  3. #include <stdio.h>
  4. #include <tchar.h>
  5. #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // 部分 CString 构造函数将是显式的
  6. #define _AFX_NO_MFC_CONTROLS_IN_DIALOGS // 移除对话框中的 MFC 控件支持
  7. #ifndef VC_EXTRALEAN
  8. #define VC_EXTRALEAN // 从 Windows 头文件中排除极少使用的内容
  9. #endif
  10. #include <afx.h>
  11. #include <afxwin.h> // MFC 核心组件和标准组件
  12. #include <afxext.h> // MFC 扩展
  13. #ifndef _AFX_NO_OLE_SUPPORT
  14. #include <afxdtctl.h> // MFC 对 Internet Explorer 4 公共控件的支持
  15. #endif
  16. #ifndef _AFX_NO_AFXCMN_SUPPORT
  17. #include <afxcmn.h> // MFC 对 Windows 公共控件的支持
  18. #endif // _AFX_NO_AFXCMN_SUPPORT
  19. #include <iostream>