stdafx.h 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. // stdafx.h : 标准系统包含文件的包含文件,
  2. // 或是经常使用但不常更改的
  3. // 项目特定的包含文件
  4. #pragma once
  5. #ifndef VC_EXTRALEAN
  6. #define VC_EXTRALEAN // 从 Windows 标头中排除不常使用的资料
  7. #endif
  8. // 如果您必须使用下列所指定的平台之前的平台,则修改下面的定义。
  9. // 有关不同平台的相应值的最新信息,请参考 MSDN。
  10. #ifndef WINVER // 允许使用 Windows 95 和 Windows NT 4 或更高版本的特定功能。
  11. #define WINVER 0x0501 //为 Windows98 和 Windows 2000 及更新版本改变为适当的值。
  12. #endif
  13. #ifndef _WIN32_WINNT // 允许使用 Windows NT 4 或更高版本的特定功能。
  14. #define _WIN32_WINNT 0x0501 //为 Windows98 和 Windows 2000 及更新版本改变为适当的值。
  15. #endif
  16. #ifndef _WIN32_WINDOWS // 允许使用 Windows 98 或更高版本的特定功能。
  17. #define _WIN32_WINDOWS 0x0501 //为 Windows Me 及更新版本改变为适当的值。
  18. #endif
  19. #ifndef _WIN32_IE // 允许使用 IE 4.0 或更高版本的特定功能。
  20. #define _WIN32_IE 0x0501 //为 IE 5.0 及更新版本改变为适当的值。
  21. #endif
  22. #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // 某些 CString 构造函数将是显式的
  23. // 关闭 MFC 对某些常见但经常被安全忽略的警告消息的隐藏
  24. #define _AFX_ALL_WARNINGS
  25. #include <afxole.h>
  26. #include <afxwin.h> // MFC 核心和标准组件
  27. #include <afxext.h> // MFC 扩展
  28. #include <afxdisp.h> // MFC 自动化类
  29. //#include <resource.h>
  30. #include <afxdtctl.h> // Internet Explorer 4 公共控件的 MFC 支持
  31. #ifndef _AFX_NO_AFXCMN_SUPPORT
  32. #include <afxcmn.h> // Windows 公共控件的 MFC 支持
  33. #endif // _AFX_NO_AFXCMN_SUPPORT
  34. #include <afxpriv.h>
  35. #include <afxtempl.h>
  36. #include <afxcview.h>
  37. //#include <afximpl.h>
  38. #include "resource.h"
  39. #include "SPMacros.h"
  40. #include "SPPropertyGridIncludes.h"
  41. #include"../SkinST/SkinST.h"
  42. #define OBJECT_TYPE_SKINS 0
  43. #define OBJECT_TYPE_IMAGES 1
  44. #define OBJECT_TYPE_IMAGE 100
  45. #define OBJECT_TPPE_SKINOBJECTS 2
  46. #define OBJECT_TYPE_SKINOBJECT_WINDOW 3
  47. #define OBJECT_TYPE_SKINOBJECT_WINBUTTON 4
  48. #define OBJECT_TYPE_SKINOBJECT_BUTTON 5
  49. #define OBJECT_TYPE_SKINOBJECT_STATIC 6
  50. #define OBJECT_TYPE_SKINOBJECT_RADIO 7
  51. #define OBJECT_TYPE_SKINOBJECT_CHECK 8
  52. #define OBJECT_TYPE_SKINOBJECT_SCROLLBAR 9
  53. #define OBJECT_TYPE_SKINOBJECT_GROUP 10
  54. #define OBJECT_TYPE_SKINOBJECT_EDIT 11
  55. #define OBJECT_TYPE_SKINOBJECT_COMBOX 12
  56. #define OBJECT_TYPE_SKINOBJECT_LISTBOX 13
  57. #define OBJECT_TYPE_SKINOBJECT_POPUPMENU 14
  58. #define OBJECT_TYPE_SKINOBJECT_SPIN 15
  59. #define OBJECT_TYPE_SKINOBJECT_SLIDER 16
  60. #define OBJECT_TYPE_SKINOBJECT_PROGRESS 17
  61. #define OBJECT_TYPE_SKINOBJECT_HEADER 18
  62. #define OBJECT_TYPE_SKINOBJECT_TAB 19
  63. #define OBJECT_TYPE_SKINOBJECT_STATUSBAR 20
  64. #define OBJECT_TYPE_SKINOBJECT_TOOLBAR 21
  65. #define OBJECT_TYPE_SKINOBJECT_MAX 30