OSDN Git Service

Create TortoiseGitBlame
[tortoisegit/TortoiseGitJp.git] / ext / ResizableLib / StdAfx.h
1 // stdafx.h : include file for standard system include files, or project\r
2 // specific include files that are used frequently, but are changed infrequently\r
3 //\r
4 /////////////////////////////////////////////////////////////////////////////\r
5 //\r
6 // This file is part of ResizableLib\r
7 // http://sourceforge.net/projects/resizablelib\r
8 //\r
9 // Copyright (C) 2000-2004 by Paolo Messina\r
10 // http://www.geocities.com/ppescher - mailto:ppescher@hotmail.com\r
11 //\r
12 // The contents of this file are subject to the Artistic License (the "License").\r
13 // You may not use this file except in compliance with the License. \r
14 // You may obtain a copy of the License at:\r
15 // http://www.opensource.org/licenses/artistic-license.html\r
16 //\r
17 // If you find this code useful, credits would be nice!\r
18 //\r
19 /////////////////////////////////////////////////////////////////////////////\r
20 \r
21 #if !defined(AFX_RESIZABLESTDAFX_H__INCLUDED_)\r
22 #define AFX_RESIZABLESTDAFX_H__INCLUDED_\r
23 \r
24 #if _MSC_VER > 1000\r
25 #pragma once\r
26 #endif // _MSC_VER > 1000\r
27 \r
28 // Set max target Windows platform\r
29 #define WINVER 0x0501\r
30 #define _WIN32_WINNT 0x0501\r
31 \r
32 // Use target Common Controls version for compatibility\r
33 // with CPropertyPageEx, CPropertySheetEx\r
34 #define _WIN32_IE 0x0500\r
35 \r
36 // let us be spared from a flood of deprecation warnings.\r
37 #define _CRT_NONSTDC_NO_DEPRECATE 1\r
38 #define _CRT_SECURE_NO_DEPRECATE 1\r
39 #define _SECURE_SCL_DEPRECATE 0\r
40 #define _HAS_ITERATOR_DEBUGGING 0\r
41 \r
42 #define VC_EXTRALEAN            // Exclude rarely-used stuff from Windows headers\r
43 \r
44 #include <afxwin.h>         // MFC core and standard components\r
45 #include <afxext.h>         // MFC extensions\r
46 #include <afxcmn.h>                     // MFC support for Windows Common Controls\r
47 #include <WinSock2.h>\r
48 #include <Ws2tcpip.h>\r
49 #include <Wspiapi.h>\r
50 \r
51 #ifndef WS_EX_LAYOUTRTL\r
52 #pragma message("Please update your Windows header files, get the latest SDK")\r
53 #pragma message("WinUser.h is out of date!")\r
54 \r
55 #define WS_EX_LAYOUTRTL         0x00400000\r
56 #endif\r
57 \r
58 #ifndef WC_BUTTON\r
59 #pragma message("Please update your Windows header files, get the latest SDK")\r
60 #pragma message("CommCtrl.h is out of date!")\r
61 \r
62 #define WC_BUTTON                       TEXT("Button")\r
63 #define WC_STATIC                       TEXT("Static")\r
64 #define WC_EDIT                         TEXT("Edit")\r
65 #define WC_LISTBOX                      TEXT("ListBox")\r
66 #define WC_COMBOBOX                     TEXT("ComboBox")\r
67 #define WC_SCROLLBAR            TEXT("ScrollBar")\r
68 #endif\r
69 \r
70 #define RSZLIB_NO_XP_DOUBLE_BUFFER\r
71 \r
72 //{{AFX_INSERT_LOCATION}}\r
73 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.\r
74 \r
75 #endif // !defined(AFX_RESIZABLESTDAFX_H__INCLUDED_)\r