]>
Commit | Line | Data |
---|---|---|
7cb34e5c A |
1 | /* |
2 | * Copyright (c) 1997-2004 Apple Computer, Inc. All rights reserved. | |
3 | * | |
4 | * @APPLE_LICENSE_HEADER_START@ | |
5 | * | |
6 | * This file contains Original Code and/or Modifications of Original Code | |
7 | * as defined in and that are subject to the Apple Public Source License | |
8 | * Version 2.0 (the 'License'). You may not use this file except in | |
9 | * compliance with the License. Please obtain a copy of the License at | |
10 | * http://www.opensource.apple.com/apsl/ and read it before using this | |
11 | * file. | |
12 | * | |
13 | * The Original Code and all software distributed under the License are | |
14 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER | |
15 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, | |
16 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, | |
17 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. | |
18 | * Please see the License for the specific language governing rights and | |
19 | * limitations under the License. | |
20 | * | |
21 | * @APPLE_LICENSE_HEADER_END@ | |
22 | ||
23 | Change History (most recent first): | |
24 | ||
25 | $Log: stdafx.h,v $ | |
26 | Revision 1.2 2005/03/03 19:55:21 shersche | |
27 | <rdar://problem/4034481> ControlPanel source code isn't saving CVS log info | |
28 | ||
29 | ||
30 | */ | |
31 | ||
32 | #pragma once | |
33 | ||
34 | #ifndef VC_EXTRALEAN | |
35 | #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers | |
36 | #endif | |
37 | ||
38 | // Modify the following defines if you have to target a platform prior to the ones specified below. | |
39 | // Refer to MSDN for the latest info on corresponding values for different platforms. | |
40 | #ifndef WINVER // Allow use of features specific to Windows 95 and Windows NT 4 or later. | |
41 | #define WINVER 0x0400 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later. | |
42 | #endif | |
43 | ||
44 | #ifndef _WIN32_WINNT // Allow use of features specific to Windows NT 4 or later. | |
45 | #define _WIN32_WINNT 0x0400 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later. | |
46 | #endif | |
47 | ||
48 | #ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later. | |
49 | #define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. | |
50 | #endif | |
51 | ||
52 | // Step 3: We want to see one image, but not a tile | |
53 | #ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later. | |
54 | #define _WIN32_IE 0x0500 // Change this to the appropriate value to target IE 5.0 or later. | |
55 | #endif | |
56 | ||
57 | #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit | |
58 | ||
59 | // turns off MFC's hiding of some common and often safely ignored warning messages | |
60 | #define _AFX_ALL_WARNINGS | |
61 | ||
62 | #include <afxwin.h> // MFC core and standard components | |
63 | #include <afxext.h> // MFC extensions | |
64 | #include <afxdisp.h> // MFC Automation classes | |
65 | ||
66 | #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls | |
67 | #ifndef _AFX_NO_AFXCMN_SUPPORT | |
68 | #include <afxcmn.h> // MFC support for Windows Common Controls | |
69 | #endif // _AFX_NO_AFXCMN_SUPPORT | |
70 | #include <afxdlgs.h>\r | |
71 | #include <cpl.h> // Control Panel Applet functions and defines\r | |
72 | #include <afxtempl.h> // MFC Template support |