framework.h 818 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #pragma once
  2. #ifndef VC_EXTRALEAN
  3. #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
  4. #endif
  5. #include "targetver.h"
  6. #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
  7. // turns off MFC's hiding of some common and often safely ignored warning messages
  8. #define _AFX_ALL_WARNINGS
  9. #include <afxwin.h> // MFC core and standard components
  10. #include <afxext.h> // MFC extensions
  11. #ifndef _AFX_NO_OLE_SUPPORT
  12. #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
  13. #endif
  14. #ifndef _AFX_NO_AFXCMN_SUPPORT
  15. #include <afxcmn.h> // MFC support for Windows Common Controls
  16. #endif // _AFX_NO_AFXCMN_SUPPORT
  17. #include <afxcontrolbars.h> // MFC support for ribbons and control bars