1 // stdafx.h : include file for standard system include files,
\r
2 // or project specific include files that are used frequently,
\r
3 // but are changed infrequently
\r
6 #define XMESSAGEBOX_APPREGPATH "Software\\TortoiseGit\\"
\r
8 // Modify the following defines if you have to target a platform prior to the ones specified below.
\r
9 // Refer to MSDN for the latest info on corresponding values for different platforms.
\r
11 # define WINVER 0x0501
\r
13 #ifndef _WIN32_WINNT
\r
14 # define _WIN32_WINNT 0x0501
\r
16 #ifndef _WIN32_WINDOWS
\r
17 # define _WIN32_WINDOWS 0x0501
\r
23 #define _WIN32_IE 0x0501
\r
26 #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
\r
28 // turns off MFC's hiding of some common and often safely ignored warning messages
\r
29 #define _AFX_ALL_WARNINGS
\r
31 #include <afxwin.h> // MFC core and standard components
\r
32 #include <afxext.h> // MFC extensions
\r
33 #include <WinSock2.h>
\r
34 #include <Ws2tcpip.h>
\r
35 #include <Wspiapi.h>
\r
37 #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
\r
38 #ifndef _AFX_NO_AFXCMN_SUPPORT
\r
39 #include <afxcmn.h> // MFC support for Windows Common Controls
\r
40 #endif // _AFX_NO_AFXCMN_SUPPORT
\r
41 #include <afxdlgs.h>
\r
43 #include <afxtempl.h>
\r
45 #include <afxext.h> // MFC extensions
\r
46 #include <afxcontrolbars.h> // MFC support for ribbons and control bars
\r
48 #include <atlbase.h>
\r
49 #include <gdiplus.h>
\r
51 #ifndef LVS_EX_DOUBLEBUFFER
\r
52 #define LVS_EX_DOUBLEBUFFER 0x00010000
\r
56 #pragma warning(push)
\r
57 #pragma warning(disable: 4702) // Unreachable code warnings in xtree
\r
62 #include <algorithm>
\r
63 #pragma warning(pop)
\r
65 #pragma warning(push)
\r
66 #pragma warning(disable: 4201) // nonstandard extension used : nameless struct/union (in MMSystem.h)
\r
69 #include <Shlwapi.h>
\r
70 #include <shlguid.h>
\r
71 #include <uxtheme.h>
\r
72 #include <tmschema.h>
\r
74 #include <wininet.h>
\r
77 #include <gdiplus.h>
\r
78 #pragma warning(pop)
\r
84 #define USE_GDI_GRADIENT
\r
85 #define HISTORYCOMBO_WITH_SYSIMAGELIST
\r
87 #include "ProfilingInfo.h"
\r
88 #include <afxdhtml.h>
\r
91 # define APP_X64_STRING "x64"
\r
93 # define APP_X64_STRING ""
\r
96 #pragma warning(disable: 4512) // assignment operator could not be generated
\r
97 #pragma warning(disable: 4355) // used in base member initializer list
\r