| 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 |
| 4 |
|
| 5 |
#pragma once |
| 6 |
|
| 7 |
#ifndef VC_EXTRALEAN |
| 8 |
# define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers |
| 9 |
#endif |
| 10 |
|
| 11 |
// See http://msdn.microsoft.com/en-us/library/6sehtctf.aspx for more info |
| 12 |
// on WINVER and _WIN32_WINNT |
| 13 |
|
| 14 |
// Modify the following defines if you have to target a platform prior to the |
| 15 |
// ones specified below. |
| 16 |
// Refer to MSDN for the latest info on corresponding values for different |
| 17 |
// platforms. |
| 18 |
#ifndef WINVER // Allow use of features specific to Windows 95 and Windows NT 4 |
| 19 |
// or later. |
| 20 |
# if _MSC_VER < 1600 |
| 21 |
# define WINVER \ |
| 22 |
0x0400 // Change this to the appropriate value to target Windows 98 and |
| 23 |
// Windows 2000 or later. |
| 24 |
# else |
| 25 |
# define WINVER 0x0501 // Target Windows XP and later with VS 10 and later |
| 26 |
# endif |
| 27 |
#endif |
| 28 |
|
| 29 |
#ifndef _WIN32_WINNT // Allow use of features specific to Windows NT 4 or |
| 30 |
// later. |
| 31 |
# if _MSC_VER < 1600 |
| 32 |
# define _WIN32_WINNT \ |
| 33 |
0x0400 // Change this to the appropriate value to target Windows 98 and |
| 34 |
// Windows 2000 or later. |
| 35 |
# else |
| 36 |
# define _WIN32_WINNT \ |
| 37 |
0x0501 // Target Windows XP and later with VS 10 and later |
| 38 |
# endif |
| 39 |
#endif |
| 40 |
|
| 41 |
#ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or |
| 42 |
// later. |
| 43 |
# if _MSC_VER < 1600 |
| 44 |
# define _WIN32_WINDOWS \ |
| 45 |
0x0410 // Change this to the appropriate value to target Windows Me or |
| 46 |
// later. |
| 47 |
# endif |
| 48 |
#endif |
| 49 |
|
| 50 |
#ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later. |
| 51 |
# if _MSC_VER < 1600 |
| 52 |
# define _WIN32_IE \ |
| 53 |
0x0400 // Change this to the appropriate value to target IE 5.0 or later. |
| 54 |
# endif |
| 55 |
#endif |
| 56 |
|
| 57 |
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be |
| 58 |
// explicit |
| 59 |
|
| 60 |
// turns off MFC's hiding of some common and often safely ignored warning |
| 61 |
// messages |
| 62 |
#define _AFX_ALL_WARNINGS |
| 63 |
|
| 64 |
#include <afxdisp.h> // MFC Automation classes |
| 65 |
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls |
| 66 |
#include <afxext.h> // MFC extensions |
| 67 |
#include <afxwin.h> // MFC core and standard components |
| 68 |
#ifndef _AFX_NO_AFXCMN_SUPPORT |
| 69 |
# include <afxcmn.h> // MFC support for Windows Common Controls |
| 70 |
#endif // _AFX_NO_AFXCMN_SUPPORT |