stdafx.h
上传用户:fengshi120
上传日期:2014-07-17
资源大小:6155k
文件大小:2k
源码类别:

3D图形编程

开发平台:

C/C++

  1. // stdafx.h : include file for standard system include files,
  2. // or project specific include files that are used frequently,
  3. // but are changed infrequently
  4. #pragma once
  5. #ifndef VC_EXTRALEAN
  6. #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
  7. #endif
  8. // Modify the following defines if you have to target a platform prior to the ones specified below.
  9. // Refer to MSDN for the latest info on corresponding values for different platforms.
  10. #ifndef WINVER // Allow use of features specific to Windows 95 and Windows NT 4 or later.
  11. #define WINVER 0x0400 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
  12. #endif
  13. #ifndef _WIN32_WINNT // Allow use of features specific to Windows NT 4 or later.
  14. #define _WIN32_WINNT 0x0400 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
  15. #endif
  16. #ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
  17. #define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
  18. #endif
  19. #ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later.
  20. #define _WIN32_IE 0x0400 // Change this to the appropriate value to target IE 5.0 or later.
  21. #endif
  22. #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
  23. // turns off MFC's hiding of some common and often safely ignored warning messages
  24. #define _AFX_ALL_WARNINGS
  25. #include <afxwin.h>         // MFC core and standard components
  26. #include <afxext.h>         // MFC extensions
  27. #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
  28. #ifndef _AFX_NO_AFXCMN_SUPPORT
  29. #include <afxcmn.h> // MFC support for Windows Common Controls
  30. #endif // _AFX_NO_AFXCMN_SUPPORT
  31. #ifdef _USEGDI
  32. #include <gdiplus.h>
  33. using namespace Gdiplus;
  34. #endif
  35. #include <afx.h>