StdAfx.h 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. // stdafx.h : include file for standard system include files,
  2. // or project specific include files that are used frequently, but
  3. // are changed infrequently
  4. //
  5. #if !defined(AFX_STDAFX_H__F330509F_7C84_4EBA_BB51_E484B3390820__INCLUDED_)
  6. #define AFX_STDAFX_H__F330509F_7C84_4EBA_BB51_E484B3390820__INCLUDED_
  7. #if _MSC_VER > 1000
  8. #pragma once
  9. #endif // _MSC_VER > 1000
  10. #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
  11. #include <afxwin.h> // MFC core and standard components
  12. #include <afxext.h> // MFC extensions
  13. #include <afxdisp.h> // MFC Automation classes
  14. #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
  15. #ifndef _AFX_NO_AFXCMN_SUPPORT
  16. #include <afxcmn.h> // MFC support for Windows Common Controls
  17. #endif // _AFX_NO_AFXCMN_SUPPORT
  18. #ifndef _AFX_NO_DB_SUPPORT
  19. #include <afxdb.h> // MFC ODBC database classes
  20. #endif // _AFX_NO_DB_SUPPORT
  21. #include "NeroAPIGlue.h"
  22. //#define TEST_LOCAL 1 //用于本机测试
  23. #define MNLS_VERSION //mnls
  24. //#define MODERN_VERSION //MODERN
  25. #include <afxtempl.h> // MFC 模板类
  26. #include "Shlwapi.h"
  27. #include ".\list\SortListCtrl.h"
  28. #include ".\list\SortListCtrl2.h"
  29. #include ".\list\SortListCtrl3.h"
  30. #include "NumEdit.h"
  31. #include "DateEdit.h"
  32. #define BMP_NORMAL 0x00000001L
  33. #define BMP_FOCUS 0x00000002L
  34. #define BMP_FOCUSED 0x00000004L
  35. #define BMP_DISABLE 0x00000008L
  36. #define BMP_FLASH 0x00000010L
  37. typedef struct tagresdata2
  38. {
  39. BOOL bHasBk;
  40. int nPicCount;
  41. int nPicCount2;
  42. DWORD nPicBmpCount[50];
  43. CRect rect[50];
  44. }RESDATA2;
  45. //GDI+
  46. #ifndef ULONG_PTR
  47. #define ULONG_PTR unsigned long*
  48. #endif
  49. //#include "..\\includes\\gdiplus.h" ////请修改为你的头文件路径
  50. #include <GdiPlus.h>
  51. using namespace Gdiplus;
  52. #pragma comment(lib, "gdiplus.lib") ////请修改为你的.lib文件路径
  53. //{{AFX_INSERT_LOCATION}}
  54. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  55. #include "Global.h"
  56. #ifdef VC80
  57. #pragma comment(linker, "\"/manifestdependency:type='Win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='X86' publicKeyToken='1fc8b3b9a1e18e3b' language='*'\"")
  58. #endif
  59. #ifdef VC90
  60. #pragma comment(linker, "\"/manifestdependency:type='Win32' name='Microsoft.VC90.CRT' version='9.0.21022.8' processorArchitecture='X86' publicKeyToken='1fc8b3b9a1e18e3b' language='*'\"")
  61. #endif
  62. #endif // !defined(AFX_STDAFX_H__F330509F_7C84_4EBA_BB51_E484B3390820__INCLUDED_)