Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
2.3 KiB

  1. // stdafx.h : include file for standard system include files,
  2. // or project specific include files that are used frequently, but
  3. // are changed infrequently
  4. //
  5. //
  6. // This is a part of the Microsoft Foundation Classes C++ library.
  7. // Copyright (C) 1992-1995 Microsoft Corporation
  8. // All rights reserved.
  9. //
  10. // This source code is only intended as a supplement to the
  11. // Microsoft Foundation Classes Reference and related
  12. // electronic documentation provided with the library.
  13. // See these sources for detailed information regarding the
  14. // Microsoft Foundation Classes product.
  15. #ifndef _UNICODE
  16. #define VC_EXTRALEAN // use stripped down Win32 headers
  17. #endif
  18. #define CONVERTERS
  19. #include <afxwin.h> // MFC core and standard components
  20. //
  21. // MFC 4.2 hardcodes _RICHEDIT_VER to 0x0100 in afxwin.h. This prevents
  22. // richedit.h from enabling any richedit 2.0 features.
  23. //
  24. #ifdef _RICHEDIT_VER
  25. #if _RICHEDIT_VER < 0x0200
  26. #undef _RICHEDIT_VER
  27. #define _RICHEDIT_VER 0x0200
  28. #endif
  29. #endif
  30. #include <objbase.h>
  31. #include <afxext.h> // MFC extensions
  32. #include <afxole.h> // MFC OLE classes
  33. #include <afxodlgs.h> // MFC OLE dialog classes
  34. #include <afxcmn.h>
  35. //#include <afxrich.h>
  36. #include <afxpriv.h>
  37. //
  38. // Private headers for richedit2 support until MFC gets native support
  39. //
  40. #ifndef _AFX_ENABLE_INLINES
  41. #define _AFX_ENABLE_INLINES
  42. #endif
  43. #define _AFXCMN2_INLINE inline
  44. #define _AFXDLGS2_INLINE inline
  45. #define _AFXRICH2_INLINE inline
  46. #include <afxdlgs2.h>
  47. #include <afxcmn2.h>
  48. #include <afxrich2.h>
  49. #define HORZ_TEXTOFFSET 15
  50. #define VERT_TEXTOFFSET 5
  51. class CDisplayIC : public CDC
  52. {
  53. public:
  54. CDisplayIC() { CreateIC(_T("DISPLAY"), NULL, NULL, NULL); }
  55. };
  56. struct CCharFormat : public CHARFORMAT // re20 requires this line; added by t-stefb
  57. //struct CCharFormat : public _charformat
  58. {
  59. CCharFormat() {cbSize = sizeof(CHARFORMAT);} // re20 requires this line; added by t-stefb
  60. // CCharFormat() {cbSize = sizeof(_charformat);}
  61. BOOL operator==(CCharFormat& cf);
  62. };
  63. struct CParaFormat : public _paraformat
  64. {
  65. CParaFormat() {cbSize = sizeof(_paraformat);}
  66. BOOL operator==(PARAFORMAT& pf);
  67. };
  68. #include "doctype.h"
  69. #include "chicdial.h"
  70. #include <htmlhelp.h>
  71. #include <shlwapi.h>
  72. #include <strsafe.h>
  73. #include <debug.h>
  74. #include <ccstock.h>