1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- // stdafx.h : include file for standard system include files, or project
- // specific include files that are used frequently, but are changed infrequently
- //
- /////////////////////////////////////////////////////////////////////////////
- //
- // This file is part of ResizableLib
- // https://github.com/ppescher/resizablelib
- //
- // Copyright (C) 2000-2015 by Paolo Messina
- // mailto:ppescher@hotmail.com
- //
- // The contents of this file are subject to the Artistic License 2.0
- // http://opensource.org/licenses/Artistic-2.0
- //
- // If you find this code useful, credits would be nice!
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_RESIZABLESTDAFX_H__INCLUDED_)
- #define AFX_RESIZABLESTDAFX_H__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // Set max target Windows platform
- #define WINVER 0x0501
- #define _WIN32_WINNT 0x0501
- // Use target Common Controls version for compatibility
- // with CPropertyPageEx, CPropertySheetEx
- #define _WIN32_IE 0x0500
- #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
- #include <afxwin.h> // MFC core and standard components
- #include <afxext.h> // MFC extensions
- #include <afxcmn.h> // MFC support for Windows Common Controls
- #include <shlwapi.h> // DLL Version support
- #if _WIN32_WINNT >= 0x0501
- #include <uxtheme.h> // Windows XP Visual Style API support
- #endif
- #ifndef WS_EX_LAYOUTRTL
- #pragma message("Please update your Windows header files, get the latest SDK")
- #pragma message("WinUser.h is out of date!")
- #define WS_EX_LAYOUTRTL 0x00400000
- #endif
- #ifndef WC_BUTTON
- #pragma message("Please update your Windows header files, get the latest SDK")
- #pragma message("CommCtrl.h is out of date!")
- #define WC_BUTTON TEXT("Button")
- #define WC_STATIC TEXT("Static")
- #define WC_EDIT TEXT("Edit")
- #define WC_LISTBOX TEXT("ListBox")
- #define WC_COMBOBOX TEXT("ComboBox")
- #define WC_SCROLLBAR TEXT("ScrollBar")
- #endif
- #define RSZLIB_NO_XP_DOUBLE_BUFFER
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_RESIZABLESTDAFX_H__INCLUDED_)
|