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
8 //#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
12 #include "../targetver.h"
14 #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
16 // turns off MFC's hiding of some common and often safely ignored warning messages
17 #define _AFX_ALL_WARNINGS
19 #include <afxwin.h> // MFC core and standard components
20 #include <afxext.h> // MFC extensions
21 #include <afxdisp.h> // MFC Automation classes
22 #include <afxcoll.h> // MFC Collection templates and classes
23 #include <shlwapi.h> // Shell API
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
38 #include <afxext.h> // MFC extensions
39 #include <afxcontrolbars.h> // MFC support for ribbons and control bars
41 #ifndef LVS_EX_DOUBLEBUFFER
42 #define LVS_EX_DOUBLEBUFFER 0x00010000
46 #pragma warning(disable: 4201) // nonstandard extension used : nameless struct/union (in MMSystem.h)
51 #pragma warning(disable: 4702) // Unreachable code warnings in xtree
57 #define USE_GDI_GRADIENT
59 #define XMESSAGEBOX_APPREGPATH "Software\\TortoiseMerge\\"
62 # define APP_X64_STRING "x64"
64 # define APP_X64_STRING ""