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