stdafx.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. #pragma once
  2. //////////////////////////////////////////////////////////////////////////////////
  3. #ifndef VC_EXTRALEAN
  4. #define VC_EXTRALEAN
  5. #endif
  6. #ifndef WINVER
  7. #define WINVER 0x0500
  8. #endif
  9. #ifndef _WIN32_WINNT
  10. #define _WIN32_WINNT 0x0500
  11. #endif
  12. #ifndef _WIN32_WINDOWS
  13. #define _WIN32_WINDOWS 0x0510
  14. #endif
  15. #ifndef _WIN32_IE
  16. #define _WIN32_IE 0x0500
  17. #endif
  18. #define _ATL_ATTRIBUTES
  19. #define _AFX_ALL_WARNINGS
  20. #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS
  21. //////////////////////////////////////////////////////////////////////////////////
  22. //MFC 文件
  23. #include <AfxWin.h>
  24. #include <AfxExt.h>
  25. #include <AfxCmn.h>
  26. #include <AfxDisp.h>
  27. //图片控件
  28. #import "ImageOle.dll" named_guids
  29. //其他文件
  30. #include "../SkinUI_ScrollBar/detours.h"
  31. #include "../SkinUI_ScrollBar/SkinUI_ScrollBar.h"
  32. //库文件
  33. #ifdef _DEBUG
  34. #ifdef _UNICODE
  35. #pragma comment (lib,"../Lib/SkinUI_ScrollBar_ud.lib")
  36. #else
  37. #pragma comment (lib,"../Lib/SkinUI_ScrollBar_d.lib")
  38. #endif
  39. #else
  40. #ifdef _UNICODE
  41. #pragma comment (lib,"../Lib/SkinUI_ScrollBar_u.lib")
  42. #else
  43. #pragma comment (lib,"../Lib/SkinUI_ScrollBar.lib")
  44. #endif
  45. #endif
  46. #pragma comment (lib,"../Lib/Detours.lib")
  47. #pragma comment(lib,"Gdiplus.lib")