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
11 #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
13 #include "../targetver.h"
15 #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
17 // turns off MFC's hiding of some common and often safely ignored warning messages
18 #define _AFX_ALL_WARNINGS
20 #include <afxwin.h> // MFC core and standard components
21 #include <afxext.h> // MFC extensions
22 #include <afxdisp.h> // MFC Automation classes
23 #include <afxcoll.h> // MFC Collection templates and classes
24 #include <shlwapi.h> // Shell API
28 #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
29 #ifndef _AFX_NO_AFXCMN_SUPPORT
30 #include <afxcmn.h> // MFC support for Windows Common Controls
31 #endif // _AFX_NO_AFXCMN_SUPPORT
39 #include <afxext.h> // MFC extensions
40 #include <afxcontrolbars.h> // MFC support for ribbons and control bars
42 #ifndef LVS_EX_DOUBLEBUFFER
43 #define LVS_EX_DOUBLEBUFFER 0x00010000
47 #pragma warning(disable: 4201) // nonstandard extension used : nameless struct/union (in MMSystem.h)
52 #pragma warning(disable: 4702) // Unreachable code warnings in xtree
58 #define USE_GDI_GRADIENT
60 #define XMESSAGEBOX_APPREGPATH "Software\\TortoiseMerge\\"
63 # define APP_X64_STRING "x64"
65 # define APP_X64_STRING ""