StdAfx.h
上传用户:zhanglf88
上传日期:2013-11-19
资源大小:6036k
文件大小:2k
- // stdafx.h : include file for standard system include files,
- // or project specific include files that are used frequently, but
- // are changed infrequently
- //
- #if !defined(AFX_STDAFX_H__42A0B087_D792_11D4_B90C_000000000000__INCLUDED_)
- #define AFX_STDAFX_H__42A0B087_D792_11D4_B90C_000000000000__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
- // 如果您必须使用下列所指定的平台之前的平台,则修改下面的定义。
- // 有关不同平台的相应值的最新信息,请参考 MSDN。
- #ifndef WINVER // 允许使用 Windows 95 和 Windows NT 4 或更高版本的特定功能。
- #define WINVER 0x0400 //为 Windows98 和 Windows 2000 及更新版本改变为适当的值。
- #endif
- /* Layout Orientation Options, defined if (WINVER >= 0x0500) */
- #ifndef LAYOUT_RTL
- #define LAYOUT_RTL 0x00000001 // Right to left
- #endif
- //WINBUG: some mirroring stuff will be in wingdi.h someday
- #ifndef LAYOUT_LTR
- #define LAYOUT_LTR 0x00000000
- #endif
- // 关闭 MFC 对某些常见但经常被安全忽略的警告消息的隐藏
- #define _AFX_ALL_WARNINGS
- #pragma warning( disable : 4146 ) // warning C4146: unary minus operator applied to unsigned type, result still unsigned
- #include <afxwin.h> // MFC core and standard components
- #include <afxext.h> // MFC extensions
- #ifndef _AFX_NO_OLE_SUPPORT
- #include <afxole.h> // MFC OLE classes
- #include <afxodlgs.h> // MFC OLE dialog classes
- #include <afxdisp.h> // MFC Automation classes
- #endif // _AFX_NO_OLE_SUPPORT
- #ifndef _AFX_NO_DB_SUPPORT
- #include <afxdb.h> // MFC ODBC database classes
- #endif // _AFX_NO_DB_SUPPORT
- #ifndef _AFX_NO_DAO_SUPPORT
- #include <afxdao.h> // MFC DAO database classes
- #endif // _AFX_NO_DAO_SUPPORT
- #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
- #ifndef _AFX_NO_AFXCMN_SUPPORT
- #include <afxcmn.h> // MFC support for Windows Common Controls
- #endif // _AFX_NO_AFXCMN_SUPPORT
- #include <afxrich.h>
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_STDAFX_H__42A0B087_D792_11D4_B90C_000000000000__INCLUDED_)