Explorar o código

Removing unused parts of MFC and replacing rarely used parts with other implementations

(cherry picked from commit 3f3d21f04b3591bd995b9713e3dd5d62d2154cf7)

Source commit: 5f6ae0ffac016bd6749aab42cdc81d5ef8fcbd46
Martin Prikryl %!s(int64=3) %!d(string=hai) anos
pai
achega
eea7456b1d
Modificáronse 100 ficheiros con 18 adicións e 28428 borrados
  1. 0 284
      libs/mfc/include/Chs/afxctl.rc
  2. 0 105
      libs/mfc/include/Chs/afxdb.rc
  3. 0 66
      libs/mfc/include/Chs/afxolecl.rc
  4. 0 53
      libs/mfc/include/Chs/afxolesv.rc
  5. 0 90
      libs/mfc/include/Chs/afxprint.rc
  6. 0 202
      libs/mfc/include/Chs/afxres.rc
  7. 0 284
      libs/mfc/include/Cht/afxctl.rc
  8. 0 105
      libs/mfc/include/Cht/afxdb.rc
  9. 0 66
      libs/mfc/include/Cht/afxolecl.rc
  10. 0 53
      libs/mfc/include/Cht/afxolesv.rc
  11. 0 90
      libs/mfc/include/Cht/afxprint.rc
  12. 0 202
      libs/mfc/include/Cht/afxres.rc
  13. 0 284
      libs/mfc/include/Deu/afxctl.rc
  14. 0 105
      libs/mfc/include/Deu/afxdb.rc
  15. 0 66
      libs/mfc/include/Deu/afxolecl.rc
  16. 0 53
      libs/mfc/include/Deu/afxolesv.rc
  17. 0 90
      libs/mfc/include/Deu/afxprint.rc
  18. 0 202
      libs/mfc/include/Deu/afxres.rc
  19. 0 284
      libs/mfc/include/Esp/afxctl.rc
  20. 0 105
      libs/mfc/include/Esp/afxdb.rc
  21. 0 66
      libs/mfc/include/Esp/afxolecl.rc
  22. 0 53
      libs/mfc/include/Esp/afxolesv.rc
  23. 0 90
      libs/mfc/include/Esp/afxprint.rc
  24. 0 202
      libs/mfc/include/Esp/afxres.rc
  25. 0 284
      libs/mfc/include/Fra/afxctl.rc
  26. 0 105
      libs/mfc/include/Fra/afxdb.rc
  27. 0 66
      libs/mfc/include/Fra/afxolecl.rc
  28. 0 53
      libs/mfc/include/Fra/afxolesv.rc
  29. 0 90
      libs/mfc/include/Fra/afxprint.rc
  30. 0 202
      libs/mfc/include/Fra/afxres.rc
  31. 0 284
      libs/mfc/include/Ita/afxctl.rc
  32. 0 105
      libs/mfc/include/Ita/afxdb.rc
  33. 0 66
      libs/mfc/include/Ita/afxolecl.rc
  34. 0 53
      libs/mfc/include/Ita/afxolesv.rc
  35. 0 90
      libs/mfc/include/Ita/afxprint.rc
  36. 0 202
      libs/mfc/include/Ita/afxres.rc
  37. 0 284
      libs/mfc/include/Jpn/afxctl.rc
  38. 0 105
      libs/mfc/include/Jpn/afxdb.rc
  39. 0 66
      libs/mfc/include/Jpn/afxolecl.rc
  40. 0 53
      libs/mfc/include/Jpn/afxolesv.rc
  41. 0 90
      libs/mfc/include/Jpn/afxprint.rc
  42. 0 202
      libs/mfc/include/Jpn/afxres.rc
  43. 0 284
      libs/mfc/include/Kor/afxctl.rc
  44. 0 105
      libs/mfc/include/Kor/afxdb.rc
  45. 0 66
      libs/mfc/include/Kor/afxolecl.rc
  46. 0 53
      libs/mfc/include/Kor/afxolesv.rc
  47. 0 90
      libs/mfc/include/Kor/afxprint.rc
  48. 0 202
      libs/mfc/include/Kor/afxres.rc
  49. 10 0
      libs/mfc/include/afx.h
  50. 0 181
      libs/mfc/include/afxadv.h
  51. 0 9
      libs/mfc/include/afxbld_.h
  52. 0 1150
      libs/mfc/include/afxcmn.h
  53. 0 703
      libs/mfc/include/afxcmn.inl
  54. 0 322
      libs/mfc/include/afxcmn2.inl
  55. 0 1496
      libs/mfc/include/afxcoll.h
  56. 0 527
      libs/mfc/include/afxcoll.inl
  57. 0 487
      libs/mfc/include/afxcom_.h
  58. 0 1969
      libs/mfc/include/afxctl.h
  59. 0 115
      libs/mfc/include/afxctl.inl
  60. 0 284
      libs/mfc/include/afxctl.rc
  61. 0 135
      libs/mfc/include/afxcview.h
  62. 0 29
      libs/mfc/include/afxcview.inl
  63. 0 1326
      libs/mfc/include/afxdao.h
  64. 0 77
      libs/mfc/include/afxdao.inl
  65. 0 1061
      libs/mfc/include/afxdb.h
  66. 0 113
      libs/mfc/include/afxdb.inl
  67. 0 105
      libs/mfc/include/afxdb.rc
  68. 0 74
      libs/mfc/include/afxdb_.h
  69. 0 79
      libs/mfc/include/afxdd_.h
  70. 0 1429
      libs/mfc/include/afxdisp.h
  71. 0 785
      libs/mfc/include/afxdlgs.h
  72. 0 116
      libs/mfc/include/afxdlgs.inl
  73. 0 106
      libs/mfc/include/afxdll_.h
  74. 0 68
      libs/mfc/include/afxdllx.h
  75. 0 395
      libs/mfc/include/afxdocob.h
  76. 0 161
      libs/mfc/include/afxdtctl.h
  77. 0 65
      libs/mfc/include/afxdtctl.inl
  78. 0 1110
      libs/mfc/include/afxext.h
  79. 0 142
      libs/mfc/include/afxext.inl
  80. 0 283
      libs/mfc/include/afxhelp.hm
  81. 0 219
      libs/mfc/include/afxhtml.h
  82. 0 94
      libs/mfc/include/afxhtml.inl
  83. 0 699
      libs/mfc/include/afxinet.h
  84. 0 69
      libs/mfc/include/afxinet.inl
  85. 0 614
      libs/mfc/include/afxisapi.h
  86. 0 123
      libs/mfc/include/afxisapi.inl
  87. 0 45
      libs/mfc/include/afxisapi.rc
  88. 0 710
      libs/mfc/include/afxmsg_.h
  89. 0 251
      libs/mfc/include/afxmt.h
  90. 0 50
      libs/mfc/include/afxmt.inl
  91. 0 510
      libs/mfc/include/afxodlgs.h
  92. 0 1959
      libs/mfc/include/afxole.h
  93. 0 425
      libs/mfc/include/afxole.inl
  94. 0 66
      libs/mfc/include/afxolecl.rc
  95. 0 137
      libs/mfc/include/afxoledb.h
  96. 0 53
      libs/mfc/include/afxolesv.rc
  97. 0 90
      libs/mfc/include/afxprint.rc
  98. 0 787
      libs/mfc/include/afxpriv.h
  99. 0 225
      libs/mfc/include/afxpriv2.h
  100. 8 0
      libs/mfc/include/afxres.h

+ 0 - 284
libs/mfc/include/Chs/afxctl.rc

@@ -1,284 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXCTL_RC__
-#define __AFXCTL_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< 不能更改标准 MFC 资源! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Control Resources
-
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-/////////////////////////////////////////////////////////////////////////////
-//
-// Bitmap
-//
-
-AFX_IDB_TRUETYPE        BITMAP  DISCARDABLE     "RES\\TRUETYPE.BMP"
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Dialog
-//
-
-AFX_IDD_PROPPAGE_FONT DIALOG DISCARDABLE  13, 54, 250, 110
-STYLE WS_CHILD | 0x4
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "特性名(&N)",IDC_STATIC,3,5,61,8
-	COMBOBOX        AFX_IDC_FONTPROP,65,3,100,71,CBS_DROPDOWNLIST | CBS_SORT |
-					WS_VSCROLL | WS_TABSTOP
-	LTEXT           "字体(&F)",IDC_STATIC,3,19,91,8
-	COMBOBOX        AFX_IDC_FONTNAMES,3,29,91,77,CBS_SIMPLE |
-					CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT |
-					CBS_HASSTRINGS | CBS_DISABLENOSCROLL | WS_VSCROLL |
-					WS_TABSTOP
-	LTEXT           "字形(&Y)",IDC_STATIC,102,19,53,8
-	COMBOBOX        AFX_IDC_FONTSTYLES,104,29,53,53,CBS_DROPDOWNLIST |
-					CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
-	LTEXT           "大小(&S)",IDC_STATIC,167,19,40,8
-	COMBOBOX        AFX_IDC_FONTSIZES,167,29,36,53,CBS_DROPDOWN | CBS_SORT |
-					CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
-	GROUPBOX        "效果",IDC_STATIC,104,44,142,24,WS_GROUP
-	CONTROL         "删除线(&K)",AFX_IDC_STRIKEOUT,"Button",BS_AUTOCHECKBOX |
-					WS_TABSTOP,109,55,65,10
-	CONTROL         "下划线(&U)",AFX_IDC_UNDERLINE,"Button",BS_AUTOCHECKBOX |
-					WS_TABSTOP,175,55,65,10
-	GROUPBOX        "字体范例",IDC_STATIC,104,71,142,36,WS_GROUP
-	CTEXT           "AaBbYyZz",AFX_IDC_SAMPLEBOX,110,80,130,22,SS_NOPREFIX |
-					NOT WS_VISIBLE
-END
-
-AFX_IDD_PROPPAGE_COLOR DIALOG DISCARDABLE  0, 0, 250, 62
-STYLE WS_CHILD | 0x4
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "特性名(&N)",IDC_STATIC,3,3,100,8
-	COMBOBOX        AFX_IDC_COLORPROP,3,13,100,54,CBS_DROPDOWNLIST |
-					CBS_SORT | WS_VSCROLL | WS_TABSTOP
-	LTEXT           "系统颜色(&C)",IDC_STATIC,3,29,100,8
-	COMBOBOX        AFX_IDC_SYSTEMCOLORS,3,39,100,54,CBS_DROPDOWNLIST |
-					CBS_SORT | WS_VSCROLL | WS_TABSTOP
-	CONTROL         "",AFX_IDC_COLOR_BLACK,"Button",BS_OWNERDRAW | WS_GROUP |
-					WS_TABSTOP,118,4,15,11
-	CONTROL         "",AFX_IDC_COLOR_BLUE,"Button",BS_OWNERDRAW,138,4,15,11
-	CONTROL         "",AFX_IDC_COLOR_CYAN,"Button",BS_OWNERDRAW,158,4,15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKBLUE,"Button",BS_OWNERDRAW,178,4,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_DARKCYAN,"Button",BS_OWNERDRAW,118,18,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKGREEN,"Button",BS_OWNERDRAW,138,18,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKMAGENTA,"Button",BS_OWNERDRAW,158,
-					18,15,11
-	CONTROL         "",AFX_IDC_COLOR_GRAY,"Button",BS_OWNERDRAW,178,18,15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKRED,"Button",BS_OWNERDRAW,118,32,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_GREEN,"Button",BS_OWNERDRAW,138,32,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_LIGHTBROWN,"Button",BS_OWNERDRAW,158,32,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_LIGHTGRAY,"Button",BS_OWNERDRAW,178,32,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_MAGENTA,"Button",BS_OWNERDRAW,118,46,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_RED,"Button",BS_OWNERDRAW,138,46,15,11
-	CONTROL         "",AFX_IDC_COLOR_WHITE,"Button",BS_OWNERDRAW,158,46,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_YELLOW,"Button",BS_OWNERDRAW,178,46,15,
-					11
-END
-
-AFX_IDD_PROPPAGE_PICTURE DIALOG DISCARDABLE  0, 0, 250, 62
-STYLE WS_CHILD | 0x4
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "特性名(&N)",IDC_STATIC,3,3,100,8
-	COMBOBOX        AFX_IDC_PROPNAME,3,13,100,30,CBS_DROPDOWNLIST | CBS_SORT |
-					WS_VSCROLL | WS_TABSTOP
-	PUSHBUTTON      "浏览(&B)...",AFX_IDC_BROWSE,3,35,54,14
-	PUSHBUTTON      "清除(&C)",AFX_IDC_CLEAR,61,35,54,14
-	RTEXT           "预阅:",IDC_STATIC,107,3,42,16
-	CONTROL         "",AFX_IDC_PICTURE,"Static",SS_BLACKFRAME,151,4,93,54
-END
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Dialog Info
-//
-
-AFX_IDD_PROPPAGE_FONT DLGINIT
-BEGIN
-	1002, 0x403, 12, 0
-0x6f42, 0x646c, 0x4920, 0x6174, 0x696c, 0x0063,
-	0
-END
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// String Table
-//
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_PROPPAGE_UNKNOWN "(未知)"
-	AFX_IDS_COLOR_DESKTOP   "台式"
-	AFX_IDS_COLOR_APPWORKSPACE "应用程序工作区"
-	AFX_IDS_COLOR_WNDBACKGND "窗口背景"
-	AFX_IDS_COLOR_WNDTEXT   "窗口文本"
-	AFX_IDS_COLOR_MENUBAR   "菜单栏"
-	AFX_IDS_COLOR_MENUTEXT  "菜单文字"
-	AFX_IDS_COLOR_ACTIVEBAR "活动的标题栏"
-	AFX_IDS_COLOR_INACTIVEBAR "不活动的标题栏"
-	AFX_IDS_COLOR_ACTIVETEXT "活动的标题栏文字"
-	AFX_IDS_COLOR_INACTIVETEXT "不活动的标题栏文字"
-	AFX_IDS_COLOR_ACTIVEBORDER "活动边框"
-	AFX_IDS_COLOR_INACTIVEBORDER "不活动边框"
-END
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-
-STRINGTABLE DISCARDABLE
-BEGIN
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_COLOR_WNDFRAME  "窗口框架"
-	AFX_IDS_COLOR_SCROLLBARS "卷动条"
-	AFX_IDS_COLOR_BTNFACE   "按钮表面"
-	AFX_IDS_COLOR_BTNSHADOW "按钮阴影"
-	AFX_IDS_COLOR_BTNTEXT   "按钮文字"
-	AFX_IDS_COLOR_BTNHIGHLIGHT "按钮突出"
-	AFX_IDS_COLOR_DISABLEDTEXT "失效文字"
-	AFX_IDS_COLOR_HIGHLIGHT "突出"
-	AFX_IDS_COLOR_HIGHLIGHTTEXT "突出的文字"
-	AFX_IDS_REGULAR         "正常体"
-	AFX_IDS_BOLD            "黑体"
-	AFX_IDS_ITALIC          "斜体"
-	AFX_IDS_BOLDITALIC      "黑斜体"
-	AFX_IDS_SAMPLETEXT      "AaBbYyZz"
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_DISPLAYSTRING_FONT "(字体)"
-	AFX_IDS_DISPLAYSTRING_COLOR "(颜色)"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_DISPLAYSTRING_PICTURE "(图片 - %s)"
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_PICTUREFILTER   "所有图片类型|*.bmp;*.cur;*.dib;*.emf;*.ico;*.wmf|Bitmaps (*.bmp;*.dib)|*.bmp;*.dib|Icons/Cursors (*.ico;*.cur)|*.ico;*.cur|Metafiles (*.wmf;*.emf)|*.wmf;*.emf|所有文件(*.*)|*.*||"
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_PICTYPE_UNKNOWN "未知"
-	AFX_IDS_PICTYPE_NONE    "无"
-	AFX_IDS_PICTYPE_BITMAP  "位图"
-	AFX_IDS_PICTYPE_METAFILE "元文件"
-	AFX_IDS_PICTYPE_ICON    "图标"
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_COLOR_PPG       "颜色特性页"
-	AFX_IDS_COLOR_PPG_CAPTION "颜色"
-	AFX_IDS_FONT_PPG        "字体特性页"
-	AFX_IDS_FONT_PPG_CAPTION "字体"
-	AFX_IDS_PICTURE_PPG     "图片特性页"
-	AFX_IDS_PICTURE_PPG_CAPTION "图片"
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_BORDERSTYLE_0   "0 - 无"
-	AFX_IDS_BORDERSTYLE_1   "1 - 固定单个"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_VERB_EDIT       "编辑(&E)"
-	AFX_IDS_VERB_PROPERTIES "特性(&P)..."
-END
-
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_PICTURECANTOPEN "无法打开图片文件 %1。此文件可能不存在或不可读。"
-	AFX_IDP_PICTURECANTLOAD "无法装入图片文件 %1。该文件可能格式不正确。"
-	AFX_IDP_PICTURETOOLARGE "无法装入图片文件 %1。该文件太大内存无法容纳。"
-	AFX_IDP_PICTUREREADFAILED
-							"无法装入图片文件 %1。未予具体说明的读操作失败。"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_PICTUREBROWSETITLE "浏览图片"
-END
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-
-#ifndef _AFX_NO_CTLERROR_RESOURCES
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_E_ILLEGALFUNCTIONCALL "非法函数调用"
-	AFX_IDP_E_OVERFLOW      "溢出"
-	AFX_IDP_E_OUTOFMEMORY   "内存不足"
-	AFX_IDP_E_DIVISIONBYZERO "被零除"
-	AFX_IDP_E_OUTOFSTRINGSPACE "字符串空间不足"
-	AFX_IDP_E_OUTOFSTACKSPACE "堆栈空间不足"
-	AFX_IDP_E_BADFILENAMEORNUMBER "文件名或文件号错"
-	AFX_IDP_E_FILENOTFOUND  "文件未找到"
-	AFX_IDP_E_BADFILEMODE   "文件模式错"
-	AFX_IDP_E_FILEALREADYOPEN "文件已经打开"
-	AFX_IDP_E_DEVICEIOERROR "设备输入/输出出错"
-	AFX_IDP_E_FILEALREADYEXISTS "文件已经存在"
-	AFX_IDP_E_BADRECORDLENGTH "记录长度错"
-	AFX_IDP_E_DISKFULL      "磁盘已满"
-	AFX_IDP_E_BADRECORDNUMBER "记录号码错"
-	AFX_IDP_E_BADFILENAME   "文件名错"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_E_TOOMANYFILES  "文件太多"
-	AFX_IDP_E_DEVICEUNAVAILABLE "设备不适合"
-	AFX_IDP_E_PERMISSIONDENIED "未获得许可"
-	AFX_IDP_E_DISKNOTREADY  "磁盘未准备好"
-	AFX_IDP_E_PATHFILEACCESSERROR "路径/文件访问错误"
-	AFX_IDP_E_PATHNOTFOUND  "没有找到路径"
-	AFX_IDP_E_INVALIDPATTERNSTRING "无效的字符串型样"
-	AFX_IDP_E_INVALIDUSEOFNULL "空值使用不当"
-	AFX_IDP_E_INVALIDFILEFORMAT "无效的文件格式"
-	AFX_IDP_E_INVALIDPROPERTYVALUE "无效的特性值"
-	AFX_IDP_E_INVALIDPROPERTYARRAYINDEX "无效的数组下标"
-	AFX_IDP_E_SETNOTSUPPORTEDATRUNTIME "该特性在运行时刻不能设置"
-	AFX_IDP_E_SETNOTSUPPORTED "该特性为只读特性"
-	AFX_IDP_E_NEEDPROPERTYARRAYINDEX
-							"使用特性数组时必须指明数组下标"
-	AFX_IDP_E_SETNOTPERMITTED "不可在这个控制上设置特性"
-	AFX_IDP_E_GETNOTSUPPORTEDATRUNTIME "该特性不可在运行时刻读取"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_E_GETNOTSUPPORTED "该特性为只写特性"
-	AFX_IDP_E_PROPERTYNOTFOUND "没有找到特性"
-	AFX_IDP_E_INVALIDCLIPBOARDFORMAT "无效的剪贴板格式"
-	AFX_IDP_E_INVALIDPICTURE "无效图片"
-	AFX_IDP_E_PRINTERERROR  "打印机出错"
-	AFX_IDP_E_CANTSAVEFILETOTEMP
-							"无法创建存贮过程所需要的临时文件"
-	AFX_IDP_E_SEARCHTEXTNOTFOUND "没有找到要查找的文本"
-	AFX_IDP_E_REPLACEMENTSTOOLONG "要替换的文本太长"
-END
-#endif //!_AFX_NO_CTLERROR_RESOURCES
-
-#endif //!_AFXDLL
-#endif //__AFXOLECL_RC__

+ 0 - 105
libs/mfc/include/Chs/afxdb.rc

@@ -1,105 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXDB_RC__
-#define __AFXDB_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< 不能更改标准 MFC 资源! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// Database Resources
-
-// Database strings
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_SQL_CONNECT_FAIL
-		"试图连接数据源失败"
-	AFX_IDP_SQL_RECORDSET_FORWARD_ONLY
-		"记录集仅支持向前移动。"
-	AFX_IDP_SQL_EMPTY_COLUMN_LIST
-		"试图打开表格失败—未指明要检索的列。"
-	AFX_IDP_SQL_FIELD_SCHEMA_MISMATCH
-		"查询返回的列数据类型与期望不符。"
-	AFX_IDP_SQL_ILLEGAL_MODE "更新或删除的企图失败了。"
-	AFX_IDP_SQL_MULTIPLE_ROWS_AFFECTED "多行数据被更新。"
-	AFX_IDP_SQL_NO_CURRENT_RECORD "操作失败,无当前记录。"
-	AFX_IDP_SQL_NO_ROWS_AFFECTED
-		"更新或删除操作未涉及任何数据行。"
-	AFX_IDP_SQL_RECORDSET_READONLY "记录集是只读"
-	AFX_IDP_SQL_SQL_NO_TOTAL
-		"ODBC 驱动程序不支持 Microsoft 基础类长二进制数据模型。"
-	AFX_IDP_SQL_ODBC_LOAD_FAILED
-		"装入所需的 ODBC32.DLL 部件的企图失败。"
-	AFX_IDP_SQL_DYNASET_NOT_SUPPORTED
-		"ODBC 驱动程序不支持动态记录集。"
-	AFX_IDP_SQL_SNAPSHOT_NOT_SUPPORTED
-		"要支持快照功能,ODBC 静态游标是必要的。"
-	AFX_IDP_SQL_API_CONFORMANCE
-		"ODBC 驱动程序与 Microsoft 基础类数据库类不匹配 (API_CONFORMANCE >= SQL_OAC_LEVEL1 必须成立)。"
-	AFX_IDP_SQL_SQL_CONFORMANCE
-		"ODBC 驱动程序与 Microsoft 基础类数据库类不匹配 (API_CONFORMANCE >= SQL_OAC_MINIMUM 必须成立)。"
-	AFX_IDP_SQL_NO_DATA_FOUND
-		"试图越过数据的有效存贮区间。"
-	AFX_IDP_SQL_ROW_UPDATE_NOT_SUPPORTED
-		"ODBC 驱动程序不支持动态记录集。"
-	AFX_IDP_SQL_ODBC_V2_REQUIRED
-		"需要符合 ODBC 的二级标准的驱动程序。"
-	AFX_IDP_SQL_NO_POSITIONED_UPDATES
-		"ODBC 驱动程序不支持定位更新。"
-	AFX_IDP_SQL_LOCK_MODE_NOT_SUPPORTED
-		"不支持所要求的锁模式。"
-	AFX_IDP_SQL_DATA_TRUNCATED
-		"数据被截断。"
-	AFX_IDP_SQL_ROW_FETCH
-		"检索记录出错。"
-	AFX_IDP_SQL_INCORRECT_ODBC
-		"没有找到所需的 ODBC 进入点。确保 ODBC 安装正确。"
-	AFX_IDP_SQL_UPDATE_DELETE_FAILED
-		"更新或删除操作失败。"
-	AFX_IDP_SQL_DYNAMIC_CURSOR_NOT_SUPPORTED
-		"“ODBC驱动程序不支持动态指针。”"
-	AFX_IDP_SQL_FIELD_NOT_FOUND
-		"无效的字段名或字段索引。"
-	AFX_IDP_SQL_BOOKMARKS_NOT_SUPPORTED
-		"书签不被 ODBC 驱动程序支持。"
-	AFX_IDP_SQL_BOOKMARKS_NOT_ENABLED
-		"书签在记录集中未激活。"
-	AFX_IDP_DAO_ENGINE_INITIALIZATION
-		"“无法对DAO/Jet db引擎进行初始化。”"
-	AFX_IDP_DAO_DFX_BIND
-		"“错的DFX值参数。”"
-	AFX_IDP_DAO_OBJECT_NOT_OPEN
-		"“DAO TableDef或QueryDef没有打开。”"
-	AFX_IDP_DAO_ROWTOOSHORT
-		"“GetRows 失败。分配给行的内存不够。”"
-	AFX_IDP_DAO_BADBINDINFO
-		"“GetRows 赋值错误。可能是数据类型不匹配造成的。”"
-	AFX_IDP_DAO_COLUMNUNAVAILABLE
-		"“GetRows 失败。所请求的列不是该记录值的一个成分。”"
-
-	AFX_IDS_DELETED "<已删除>"
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXDB_RC__

+ 0 - 66
libs/mfc/include/Chs/afxolecl.rc

@@ -1,66 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXOLECL_RC__
-#define __AFXOLECL_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifndef _INC_DLGS
-	#include <dlgs.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< 不能更改标准 MFC 资源! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Client Resources
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE strings
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_STATIC_OBJECT           "无法激活静止的 AciveX 对象。"
-	AFX_IDP_FAILED_TO_CONNECT       "连接失败。\n链接可能已经断了。"
-	AFX_IDP_SERVER_BUSY             "无法处理命令,服务器程序正忙。"
-	AFX_IDP_BAD_VERB                "执行服务器程序操作失败。"
-	AFX_IDP_FAILED_TO_LAUNCH        "启动服务器应用程序失败。"
-	AFX_IDS_UPDATING_ITEMS          "更新 ActiveX 对象"
-	AFX_IDP_FAILED_TO_CONVERT       "转换 ActiveX 对象失败。"
-	AFX_IDP_ASK_TO_DISCARD          "当正在退出 Windows 时,无法保存 ActiveX 对象!\n放弃对 %1 所做的所有的修改吗?"
-	AFX_IDP_FAILED_TO_CREATE        "创建对象失败。请确认应用程序已在系统注册表中注册。"
-
-	AFX_IDS_METAFILE_FORMAT         "图片(元文件)\n一幅图片"
-	AFX_IDS_DIB_FORMAT              "设备独立位图\n一幅设备独立位图"
-	AFX_IDS_BITMAP_FORMAT           "位图\n一幅位图"
-	AFX_IDS_LINKSOURCE_FORMAT       "%s\n%s"
-	AFX_IDS_EMBED_FORMAT            "%s\n%s"
-	AFX_IDS_RTF_FORMAT              "强化文本(RTF)\n字体和段落格式化的文本"
-	AFX_IDS_TEXT_FORMAT             "未格式化文本\n未经过任何格式化的文本"
-
-	AFX_IDS_INVALID_CURRENCY        "无效的货币。"
-	AFX_IDS_INVALID_DATETIME        "无效的日期时间。"
-	AFX_IDS_INVALID_DATETIMESPAN    "无效的日期时间跨度。"
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXOLECL_RC__

+ 0 - 53
libs/mfc/include/Chs/afxolesv.rc

@@ -1,53 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXOLESV_RC__
-#define __AFXOLESV_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< 不能更改标准 MFC 资源! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Server Resources
-
-// OLE strings
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_ASK_TO_UPDATE,              "在继续运行前对 %1 进行更新?"
-	AFX_IDP_FAILED_TO_UPDATE,           "不能更新客户。"
-
-	AFX_IDP_FAILED_TO_REGISTER,         "注册失败。ActiveX 功能无法正确使用。"
-	AFX_IDP_FAILED_TO_AUTO_REGISTER,    "更新系统注册记录失败。\n请试用 REGEDIT。"
-END
-
-STRINGTABLE PRELOAD
-BEGIN
-	AFX_IDS_APP_TITLE_EMBEDDING,        "%1 在 %2 中"
-	AFX_IDS_OBJ_TITLE_INPLACE,          "%1 - %2"
-	AFX_IDS_EXIT_MENU,                  "退出并回到 %1(&X)"
-	AFX_IDS_UPDATE_MENU,                "更新 %1(&U)"
-	AFX_IDS_SAVEFILECOPY,               "保存副本为"
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXOLESV_RC__

+ 0 - 90
libs/mfc/include/Chs/afxprint.rc

@@ -1,90 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXPRINT_RC__
-#define __AFXPRINT_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< 不能更改标准 MFC 资源! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// Printing Resources
-
-AFX_IDC_MAGNIFY         CURSOR  DISCARDABLE     "res\\magnify.cur"
-
-AFX_IDD_PRINTDLG DIALOG DISCARDABLE  6, 18, 133, 95
-STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | 0x04
-FONT 8, "MS Shell Dlg"
-BEGIN
-	CTEXT           "打印",IDC_STATIC,0,9,133,8
-	CTEXT           "",AFX_IDC_PRINT_DOCNAME,0,19,133,8
-	CTEXT           "在...上",IDC_STATIC,0,29,133,8
-	CTEXT           "",AFX_IDC_PRINT_PRINTERNAME,0,39,133,8
-	CTEXT           "",AFX_IDC_PRINT_PORTNAME,0,49,133,8
-	CTEXT           "",AFX_IDC_PRINT_PAGENUM,0,59,133,8
-	PUSHBUTTON      "取消",IDCANCEL,46,74,40,14
-END
-
-// Preview Toolbar Dialog
-AFX_IDD_PREVIEW_TOOLBAR DIALOG PRELOAD DISCARDABLE  0, 0, 330, 16
-STYLE WS_CHILD | 0x04
-FONT 8, "MS Shell Dlg"
-BEGIN
-	PUSHBUTTON      "打印(&P)...",AFX_ID_PREVIEW_PRINT,2,2,44,12
-	PUSHBUTTON      "下一页(&N)",AFX_ID_PREVIEW_NEXT,48,2,44,12
-	PUSHBUTTON      "前一页(&V)",AFX_ID_PREVIEW_PREV,94,2,44,12
-	PUSHBUTTON      "",AFX_ID_PREVIEW_NUMPAGE,140,2,44,12
-	PUSHBUTTON      "放大(&I)",AFX_ID_PREVIEW_ZOOMIN,186,2,44,12
-	PUSHBUTTON      "缩小(&O)",AFX_ID_PREVIEW_ZOOMOUT,232,2,44,12
-	PUSHBUTTON      "关闭(&C)",AFX_ID_PREVIEW_CLOSE,278,2,44,12
-END
-
-// Printing strings
-STRINGTABLE DISCARDABLE
-BEGIN
-	// print progress dialog strings
-	AFX_IDS_PRINTONPORT,            "于 %1"         // for print output
-	AFX_IDS_ONEPAGE,                "一页(&O)"     // for preview button
-	AFX_IDS_TWOPAGE,                "两页(&T)"     // for preview button
-	AFX_IDS_PRINTPAGENUM,           "第 %u 页"       // for print output
-	AFX_IDS_PREVIEWPAGEDESC,        "第 %u 页 \n第 %u 页-第 %u 页 \n"
-
-	// print to file dialog strings
-	AFX_IDS_PRINTDEFAULTEXT,        "prn"           // default extension
-	AFX_IDS_PRINTDEFAULT,           "Output.prn"    // default file
-	AFX_IDS_PRINTFILTER,
-		"打印机文件 (*.prn)|*.prn|所有文件 (*.*)|*.*||"
-	AFX_IDS_PRINTCAPTION,           "印出到文件" // caption for browse dlg
-	AFX_IDS_PRINTTOFILE,            "到 %1"         // to file
-END
-
-// Print Preview Accelerator Table
-AFX_IDR_PREVIEW_ACCEL ACCELERATORS LOADONCALL MOVEABLE
-BEGIN
-	VK_NEXT,    AFX_ID_PREVIEW_NEXT,    VIRTKEY, NOINVERT
-	VK_PRIOR,   AFX_ID_PREVIEW_PREV,    VIRTKEY, NOINVERT
-	VK_ESCAPE,  AFX_ID_PREVIEW_CLOSE,   VIRTKEY, NOINVERT
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXPRINT_RC__

+ 0 - 202
libs/mfc/include/Chs/afxres.rc

@@ -1,202 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXRES_RC__
-#define __AFXRES_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< 不能更改标准 MFC 资源! >\0"
-END
-#endif //APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// Default resource description for MFC applications
-/////////////////////////////////////////////////////////////////////////////
-
-/////////////////////////////////////////////////////////////////////////////
-// Strings
-
-STRINGTABLE DISCARDABLE
-BEGIN
-#ifndef _AFX_NO_APPMENU_RESOURCES
-	AFX_IDS_OPENFILE,               "打开"
-	AFX_IDS_SAVEFILE,               "保存为"
-	AFX_IDS_ALLFILTER,              "所有文件 (*.*)"
-	AFX_IDS_UNTITLED,               "无标题"
-	AFX_IDS_HIDE,                   "隐藏(&H)"
-#endif // !_AFX_NO_APPMENUSTRING_RESOURCES
-
-	AFX_IDS_MEMORY_EXCEPTION,       "内存不足。"
-	AFX_IDS_NOT_SUPPORTED_EXCEPTION,"试图执行系统不支持的操作。"
-	AFX_IDS_RESOURCE_EXCEPTION,     "必需的资源无法得到。"
-	AFX_IDS_USER_EXCEPTION,         "出现了未知的错误"
-
-	// General error prompts
-#ifndef _AFX_NO_FILECMD_RESOURCES
-	AFX_IDP_INVALID_FILENAME,       "无效的文件名。"
-	AFX_IDP_FAILED_TO_OPEN_DOC,     "打开文档失败。"
-	AFX_IDP_FAILED_TO_SAVE_DOC,     "保存文档失败。"
-	AFX_IDP_ASK_TO_SAVE,            "将改动保存到 %1?"
-	AFX_IDP_FAILED_TO_CREATE_DOC,   "建立空文档失败。"
-	AFX_IDP_FILE_TOO_LARGE,         "该文件太大,无法打开。"
-	AFX_IDP_FAILED_TO_START_PRINT,  "无法启动打印作业。"
-#endif // !_AFX_NO_FILECMD_RESOURCES
-	AFX_IDP_FAILED_TO_LAUNCH_HELP,  "启动帮助失败。"
-	AFX_IDP_INTERNAL_FAILURE,       "内部应用程序出错。"
-	AFX_IDP_COMMAND_FAILURE,        "命令失败。"
-	AFX_IDP_FAILED_MEMORY_ALLOC     "没有足够的内存执行操作。"
-	AFX_IDP_GET_NOT_SUPPORTED,      "无法读只写特性。"
-	AFX_IDP_SET_NOT_SUPPORTED,      "无法写只读特性。"
-	AFX_IDP_UNREG_DONE,               "系统注册项已被移除并且相应的 INI 文件(假如存在)也被删除。"
-	AFX_IDP_UNREG_FAILURE,            "不是所有的系统注册项(或 INI 文件)都被移除。"
-	AFX_IDP_DLL_LOAD_FAILED,        "在系统中没有找到此程序需要的文件%s。"
-	AFX_IDP_DLL_BAD_VERSION,        "此程序连接到文件 %s 中丢失的输出 %s 。此机器可能有一个 %s 不兼容的版本。"
-
-	// CFile/CArchive error strings for user failure
-#ifndef _AFX_NO_CFILE_RESOURCES
-	AFX_IDP_FAILED_INVALID_FORMAT   "非预期的文件格式。"
-	AFX_IDP_FAILED_INVALID_PATH     "无法找到该文件。\n请验证给出的路径和文件名是否正确。"
-	AFX_IDP_FAILED_DISK_FULL        "目的磁盘驱动器已满。"
-	AFX_IDP_FAILED_ACCESS_READ      "无法对 %1 进行读操作,它已经被其他人打开。"
-	AFX_IDP_FAILED_ACCESS_WRITE     "无法对 %1 进行写操作,因为它是只读文件或已经被其他人打开。"
-	AFX_IDP_FAILED_IO_ERROR_READ    "在对 %1 进行读操作时发生了一个非预期的错误。"
-	AFX_IDP_FAILED_IO_ERROR_WRITE   "在对 %1 进行写操作时发生了一个非预期的错误。"
-#endif // !_AFX_NO_CFILE_RESOURCES
-
-	// Parsing error prompts
-	AFX_IDP_PARSE_INT,              "请键入一个整数。"
-	AFX_IDP_PARSE_REAL,             "请键入一个数。"
-	AFX_IDP_PARSE_INT_RANGE,        "“请填入一个在%1和%2之间的整数。”"
-	AFX_IDP_PARSE_REAL_RANGE,       "“请填入一个在%1和%2之间的数字。”"
-	AFX_IDP_PARSE_STRING_SIZE,      "“请填入不多于%1个的字符。”"
-	AFX_IDP_PARSE_RADIO_BUTTON,     "请选择一个按钮。"
-	AFX_IDP_PARSE_BYTE,             "“请填入一个在0和255之间的整数。”"
-	AFX_IDP_PARSE_UINT,             "“请填入一个正整数。”"
-	AFX_IDP_PARSE_DATETIME,         "“请填入一个日期和/或时间值。”"
-	AFX_IDP_PARSE_CURRENCY,         "“请填入一个货币值。”"
-
-#ifndef _AFX_NO_OLE_RESOURCES
-	// OLE strings required for both servers and containers
-	AFX_IDS_PASTELINKEDTYPE         "链接的 %s"
-	AFX_IDS_UNKNOWNTYPE             "未知类型"
-	AFX_IDP_FAILED_TO_NOTIFY        "%1\n无法注册文档。\n此文档可能已经被打开。"
-	AFX_IDS_NOT_DOCOBJECT           "文档对象服务程序不支持这个文件。"
-#endif //!_AFX_NO_OLE_RESOURCES
-
-	AFX_IDP_NO_ERROR_AVAILABLE      "得不到出错信息。"
-
-#ifndef _AFX_NO_CFILE_RESOURCES
-	AFX_IDP_FILE_NONE                "无错误发生。"
-	AFX_IDP_FILE_GENERIC             "在对 %1 进行访问时发生了一个不明错误。"
-	AFX_IDP_FILE_NOT_FOUND           "没有找到 %1。"
-	AFX_IDP_FILE_BAD_PATH            "%1 中包含无效的路径。"
-	AFX_IDP_FILE_TOO_MANY_OPEN       "无法打开 %1 因为太多文件已被打开。"
-	AFX_IDP_FILE_ACCESS_DENIED       "对 %1 的存取被拒绝。"
-	AFX_IDP_FILE_INVALID_FILE        "一个无效的文件柄与 %1 相关联。"
-	AFX_IDP_FILE_REMOVE_CURRENT      "无法删除 %1 因为它是当前目录。"
-	AFX_IDP_FILE_DIR_FULL            "该目录已满,无法创建 %1。"
-	AFX_IDP_FILE_BAD_SEEK            "对 %1 进行查找失败。"
-	AFX_IDP_FILE_HARD_IO             "在存取 %1 时一个硬件输入/输出错误被报告。"
-	AFX_IDP_FILE_SHARING             "在存取 %1 时发生共享违例。"
-	AFX_IDP_FILE_LOCKING             "在存取 %1 时发生锁违例。"
-	AFX_IDP_FILE_DISKFULL            "在存取 %1 时磁盘已满。"
-	AFX_IDP_FILE_EOF                 "试图越过其尾端对 %1 进行读写。"
-	AFX_IDS_UNNAMED_FILE             "一未命名文件"
-#endif // !_AFX_NO_CFILE_RESOURCES
-
-	AFX_IDP_ARCH_NONE               "无错误发生。"
-	AFX_IDP_ARCH_GENERIC                "在对 %1 进行访问时发生了一个不明错误。"
-	AFX_IDP_ARCH_READONLY           "试图在对 %1 进行读操作的同时对其进行写操作。"
-	AFX_IDP_ARCH_ENDOFFILE          "试图越过其尾端对 %1 进行读写。"
-	AFX_IDP_ARCH_WRITEONLY          "试图在对 %1 进行写操作的同时对其进行读操作。"
-	AFX_IDP_ARCH_BADINDEX           "%1 格式错。"
-	AFX_IDP_ARCH_BADCLASS           "%1 含有非预期的对象。"
-	AFX_IDP_ARCH_BADSCHEMA          "%1 包含错误的模式。"
-
-#ifndef _AFX_NO_MAPI_RESOURCES
-	// MAPI strings / error messages
-	AFX_IDP_FAILED_MAPI_LOAD        "无法装入邮件系统支援。"
-	AFX_IDP_INVALID_MAPI_DLL        "邮件系统 DLL 无效。"
-	AFX_IDP_FAILED_MAPI_SEND        "传递邮件未能传递信息。"
-#endif //!_AFX_NO_MAPI_RESOURCES
-
-#ifndef _AFX_NO_OCC_RESOURCES
-	AFX_IDS_OCC_SCALEUNITS_PIXELS   "象素"
-#endif //!_AFX_NO_OCC_RESOURCES
-END
-
-/////////////////////////////////////////////////////////////////////////////
-// Cursors
-
-AFX_IDC_CONTEXTHELP     CURSOR  DISCARDABLE     "res\\help.cur"
-
-#ifndef _AFX_NO_SPLITTER_RESOURCES
-AFX_IDC_SMALLARROWS     CURSOR  DISCARDABLE     "res\\sarrows.cur"
-AFX_IDC_HSPLITBAR       CURSOR  DISCARDABLE     "res\\splith.cur"
-AFX_IDC_VSPLITBAR       CURSOR  DISCARDABLE     "res\\splitv.cur"
-AFX_IDC_NODROPCRSR      CURSOR  DISCARDABLE     "res\\nodrop.cur"
-#endif //!_AFX_NO_SPLITTER_RESOURCES
-
-#ifndef _AFX_NO_TRACKER_RESOURCES
-AFX_IDC_TRACKNWSE       CURSOR  DISCARDABLE     "res\\trcknwse.cur"
-AFX_IDC_TRACKNESW       CURSOR  DISCARDABLE     "res\\trcknesw.cur"
-AFX_IDC_TRACKNS         CURSOR  DISCARDABLE     "res\\trckns.cur"
-AFX_IDC_TRACKWE         CURSOR  DISCARDABLE     "res\\trckwe.cur"
-AFX_IDC_TRACK4WAY       CURSOR  DISCARDABLE     "res\\trck4way.cur"
-AFX_IDC_MOVE4WAY        CURSOR  DISCARDABLE     "res\\move4way.cur"
-#endif //!_AFX_NO_TRACKER_RESOURCES
-
-#ifndef _AFX_NO_CTL3D_RESOURCES
-26567 BITMAP "res\\3dcheck.bmp" // Note: 26567 comes from CTL3D.H
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// Standard Dialogs
-
-#ifndef _AFX_NO_NEWTYPEDLG_RESOURCES
-AFX_IDD_NEWTYPEDLG DIALOG DISCARDABLE  9, 26, 183, 70
-STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | 0x04
-CAPTION "新建"
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "新建(&N)",IDC_STATIC,6,5,123,8,NOT WS_GROUP
-	LISTBOX         AFX_IDC_LISTBOX,6,15,125,49,WS_VSCROLL | WS_TABSTOP
-	DEFPUSHBUTTON   "确定",IDOK,137,6,40,14
-	PUSHBUTTON      "取消",IDCANCEL,137,23,40,14
-	PUSHBUTTON      "帮助(&H)",ID_HELP,137,43,40,14
-END
-#endif // !_AFX_NO_NEWTYPEDLG_RESOURCES
-
-/////////////////////////////////////////////////////////////////////////////
-// CMiniFrameWnd Bitmap
-
-AFX_IDB_MINIFRAME_MENU      BITMAP  DISCARDABLE     "res\\minifwnd.bmp"
-
-/////////////////////////////////////////////////////////////////////////////
-// CCheckListBox Bitmaps
-
-AFX_IDB_CHECKLISTBOX_NT     BITMAP  DISCARDABLE     "res\\ntcheck.bmp"
-AFX_IDB_CHECKLISTBOX_95     BITMAP  DISCARDABLE     "res\\95check.bmp"
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //!__AFXRES_RC__
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 284
libs/mfc/include/Cht/afxctl.rc

@@ -1,284 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXCTL_RC__
-#define __AFXCTL_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< 無法改變標準MFC資源! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Control Resources
-
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-/////////////////////////////////////////////////////////////////////////////
-//
-// Bitmap
-//
-
-AFX_IDB_TRUETYPE        BITMAP  DISCARDABLE     "RES\\TRUETYPE.BMP"
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Dialog
-//
-
-AFX_IDD_PROPPAGE_FONT DIALOG DISCARDABLE  13, 54, 250, 110
-STYLE WS_CHILD | 0x4
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "屬性名稱(&N):",IDC_STATIC,3,5,61,8
-	COMBOBOX        AFX_IDC_FONTPROP,65,3,100,71,CBS_DROPDOWNLIST | CBS_SORT |
-					WS_VSCROLL | WS_TABSTOP
-	LTEXT           "字型(&F):",IDC_STATIC,3,19,91,8
-	COMBOBOX        AFX_IDC_FONTNAMES,3,29,91,77,CBS_SIMPLE |
-					CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT |
-					CBS_HASSTRINGS | CBS_DISABLENOSCROLL | WS_VSCROLL |
-					WS_TABSTOP
-	LTEXT           "字型樣式(&y):",IDC_STATIC,102,19,53,8
-	COMBOBOX        AFX_IDC_FONTSTYLES,104,29,53,53,CBS_DROPDOWNLIST |
-					CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
-	LTEXT           "大小(&S):",IDC_STATIC,167,19,40,8
-	COMBOBOX        AFX_IDC_FONTSIZES,167,29,36,53,CBS_DROPDOWN | CBS_SORT |
-					CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
-	GROUPBOX        "效果",IDC_STATIC,104,44,142,24,WS_GROUP
-	CONTROL         "取消線(&k)",AFX_IDC_STRIKEOUT,"Button",BS_AUTOCHECKBOX |
-					WS_TABSTOP,109,55,65,10
-	CONTROL         "底線(&U)",AFX_IDC_UNDERLINE,"Button",BS_AUTOCHECKBOX |
-					WS_TABSTOP,175,55,65,10
-	GROUPBOX        "範例",IDC_STATIC,104,71,142,36,WS_GROUP
-	CTEXT           "AaBbYyZz",AFX_IDC_SAMPLEBOX,110,80,130,22,SS_NOPREFIX |
-					NOT WS_VISIBLE
-END
-
-AFX_IDD_PROPPAGE_COLOR DIALOG DISCARDABLE  0, 0, 250, 62
-STYLE WS_CHILD | 0x4
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "屬性名稱(&N):",IDC_STATIC,3,3,100,8
-	COMBOBOX        AFX_IDC_COLORPROP,3,13,100,54,CBS_DROPDOWNLIST |
-					CBS_SORT | WS_VSCROLL | WS_TABSTOP
-	LTEXT           "系統顏色(&C):",IDC_STATIC,3,29,100,8
-	COMBOBOX        AFX_IDC_SYSTEMCOLORS,3,39,100,54,CBS_DROPDOWNLIST |
-					CBS_SORT | WS_VSCROLL | WS_TABSTOP
-	CONTROL         "",AFX_IDC_COLOR_BLACK,"Button",BS_OWNERDRAW | WS_GROUP |
-					WS_TABSTOP,118,4,15,11
-	CONTROL         "",AFX_IDC_COLOR_BLUE,"Button",BS_OWNERDRAW,138,4,15,11
-	CONTROL         "",AFX_IDC_COLOR_CYAN,"Button",BS_OWNERDRAW,158,4,15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKBLUE,"Button",BS_OWNERDRAW,178,4,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_DARKCYAN,"Button",BS_OWNERDRAW,118,18,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKGREEN,"Button",BS_OWNERDRAW,138,18,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKMAGENTA,"Button",BS_OWNERDRAW,158,
-					18,15,11
-	CONTROL         "",AFX_IDC_COLOR_GRAY,"Button",BS_OWNERDRAW,178,18,15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKRED,"Button",BS_OWNERDRAW,118,32,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_GREEN,"Button",BS_OWNERDRAW,138,32,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_LIGHTBROWN,"Button",BS_OWNERDRAW,158,32,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_LIGHTGRAY,"Button",BS_OWNERDRAW,178,32,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_MAGENTA,"Button",BS_OWNERDRAW,118,46,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_RED,"Button",BS_OWNERDRAW,138,46,15,11
-	CONTROL         "",AFX_IDC_COLOR_WHITE,"Button",BS_OWNERDRAW,158,46,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_YELLOW,"Button",BS_OWNERDRAW,178,46,15,
-					11
-END
-
-AFX_IDD_PROPPAGE_PICTURE DIALOG DISCARDABLE  0, 0, 250, 62
-STYLE WS_CHILD | 0x4
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "屬性名稱(&N):",IDC_STATIC,3,3,100,8
-	COMBOBOX        AFX_IDC_PROPNAME,3,13,100,30,CBS_DROPDOWNLIST | CBS_SORT |
-					WS_VSCROLL | WS_TABSTOP
-	PUSHBUTTON      "瀏覽(&B)...",AFX_IDC_BROWSE,3,35,54,14
-	PUSHBUTTON      "清除(&C)",AFX_IDC_CLEAR,61,35,54,14
-	RTEXT           "預覽:",IDC_STATIC,107,3,42,16
-	CONTROL         "",AFX_IDC_PICTURE,"Static",SS_BLACKFRAME,151,4,93,54
-END
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Dialog Info
-//
-
-AFX_IDD_PROPPAGE_FONT DLGINIT
-BEGIN
-	1002, 0x403, 12, 0
-0x6f42, 0x646c, 0x4920, 0x6174, 0x696c, 0x0063,
-	0
-END
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// String Table
-//
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_PROPPAGE_UNKNOWN "(未知)"
-	AFX_IDS_COLOR_DESKTOP   "桌面"
-	AFX_IDS_COLOR_APPWORKSPACE "應用程式工作區"
-	AFX_IDS_COLOR_WNDBACKGND "視窗背景"
-	AFX_IDS_COLOR_WNDTEXT   "視窗文字"
-	AFX_IDS_COLOR_MENUBAR   "功能表列"
-	AFX_IDS_COLOR_MENUTEXT  "功能表文字"
-	AFX_IDS_COLOR_ACTIVEBAR "現用標題列"
-	AFX_IDS_COLOR_INACTIVEBAR "非現用標題列"
-	AFX_IDS_COLOR_ACTIVETEXT "現用標題列文字"
-	AFX_IDS_COLOR_INACTIVETEXT "現用標題列文字"
-	AFX_IDS_COLOR_ACTIVEBORDER "現用邊界"
-	AFX_IDS_COLOR_INACTIVEBORDER "非現用邊界"
-END
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-
-STRINGTABLE DISCARDABLE
-BEGIN
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_COLOR_WNDFRAME  "視窗邊框"
-	AFX_IDS_COLOR_SCROLLBARS "捲軸"
-	AFX_IDS_COLOR_BTNFACE   "按鈕表面"
-	AFX_IDS_COLOR_BTNSHADOW "按鈕陰影"
-	AFX_IDS_COLOR_BTNTEXT   "按鈕文字"
-	AFX_IDS_COLOR_BTNHIGHLIGHT "按鈕強調"
-	AFX_IDS_COLOR_DISABLEDTEXT "失效文字"
-	AFX_IDS_COLOR_HIGHLIGHT "強調"
-	AFX_IDS_COLOR_HIGHLIGHTTEXT "強調文字"
-	AFX_IDS_REGULAR         "一般"
-	AFX_IDS_BOLD            "粗體"
-	AFX_IDS_ITALIC          "斜體"
-	AFX_IDS_BOLDITALIC      "粗斜體"
-	AFX_IDS_SAMPLETEXT      "AaBbYyZz"
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_DISPLAYSTRING_FONT "(字型)"
-	AFX_IDS_DISPLAYSTRING_COLOR "(顏色)"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_DISPLAYSTRING_PICTURE "(圖片 - %s)"
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_PICTUREFILTER   "所有圖片型態|*.bmp;*.cur;*.dib;*.emf;*.ico;*.wmf|點陣圖 (*.bmp;*.dib)|*.bmp;*.dib|圖示/指標 (*.ico;*.cur)|*.ico;*.cur|中繼檔 (*.wmf;*.emf)|*.wmf;*.emf|所有檔案 (*.*)|*.*||"
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_PICTYPE_UNKNOWN "未知"
-	AFX_IDS_PICTYPE_NONE    "沒有框線"
-	AFX_IDS_PICTYPE_BITMAP  "點陣圖形"
-	AFX_IDS_PICTYPE_METAFILE "中繼檔"
-	AFX_IDS_PICTYPE_ICON    "圖示"
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_COLOR_PPG       "彩色屬性頁"
-	AFX_IDS_COLOR_PPG_CAPTION "彩色"
-	AFX_IDS_FONT_PPG        "字型屬性頁"
-	AFX_IDS_FONT_PPG_CAPTION "字型"
-	AFX_IDS_PICTURE_PPG     "圖片屬性頁"
-	AFX_IDS_PICTURE_PPG_CAPTION "圖片"
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_BORDERSTYLE_0   "0 - 沒有框線"
-	AFX_IDS_BORDERSTYLE_1   "1 - 固定單線"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_VERB_EDIT       "編輯(&E)"
-	AFX_IDS_VERB_PROPERTIES "屬性(&P)..."
-END
-
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_PICTURECANTOPEN "無法載入圖片檔案 %1. 檔案也許或不存在, 或無法讀取."
-	AFX_IDP_PICTURECANTLOAD "無法載入圖片檔案 %1. 檔案格式錯誤."
-	AFX_IDP_PICTURETOOLARGE "無法載入圖片檔案 %1. 檔案太大記憶體不夠."
-	AFX_IDP_PICTUREREADFAILED
-							"無法載入圖片檔案 %1. 無法解釋的讀取失敗."
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_PICTUREBROWSETITLE "瀏覽圖片"
-END
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-
-#ifndef _AFX_NO_CTLERROR_RESOURCES
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_E_ILLEGALFUNCTIONCALL "不合法之功能呼叫"
-	AFX_IDP_E_OVERFLOW      "溢出(Overflow)"
-	AFX_IDP_E_OUTOFMEMORY   "記憶體用完"
-	AFX_IDP_E_DIVISIONBYZERO "除零"
-	AFX_IDP_E_OUTOFSTRINGSPACE "字串空間已滿"
-	AFX_IDP_E_OUTOFSTACKSPACE "堆疊已滿"
-	AFX_IDP_E_BADFILENAMEORNUMBER "壞的檔案名稱或編號"
-	AFX_IDP_E_FILENOTFOUND  "找不到檔案"
-	AFX_IDP_E_BADFILEMODE   "壞的檔案模態"
-	AFX_IDP_E_FILEALREADYOPEN "檔案已開啟"
-	AFX_IDP_E_DEVICEIOERROR "設備輸出入錯誤"
-	AFX_IDP_E_FILEALREADYEXISTS "檔案已存在"
-	AFX_IDP_E_BADRECORDLENGTH "壞的紀錄長度"
-	AFX_IDP_E_DISKFULL      "磁碟空間已滿"
-	AFX_IDP_E_BADRECORDNUMBER "壞的紀錄編號"
-	AFX_IDP_E_BADFILENAME   "壞的檔案名稱"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_E_TOOMANYFILES  "太多檔案"
-	AFX_IDP_E_DEVICEUNAVAILABLE "設備無法使用"
-	AFX_IDP_E_PERMISSIONDENIED "允許拒絕"
-	AFX_IDP_E_DISKNOTREADY  "磁碟機未備妥"
-	AFX_IDP_E_PATHFILEACCESSERROR "路徑/檔案存取錯誤"
-	AFX_IDP_E_PATHNOTFOUND  "找不到路徑"
-	AFX_IDP_E_INVALIDPATTERNSTRING "不合法的樣式字串"
-	AFX_IDP_E_INVALIDUSEOFNULL "不合法使用空值(null)"
-	AFX_IDP_E_INVALIDFILEFORMAT "不合法的檔案格式"
-	AFX_IDP_E_INVALIDPROPERTYVALUE "不合法的屬性值"
-	AFX_IDP_E_INVALIDPROPERTYARRAYINDEX "不合法的索引"
-	AFX_IDP_E_SETNOTSUPPORTEDATRUNTIME "無法在執行時設定屬性"
-	AFX_IDP_E_SETNOTSUPPORTED "唯讀屬性"
-	AFX_IDP_E_NEEDPROPERTYARRAYINDEX
-							"當使用屬性陣列時必須說明陣列索引"
-	AFX_IDP_E_SETNOTPERMITTED "這個控制項之屬性無法設定"
-	AFX_IDP_E_GETNOTSUPPORTEDATRUNTIME "無法在執行時讀取屬性"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_E_GETNOTSUPPORTED "唯寫屬性"
-	AFX_IDP_E_PROPERTYNOTFOUND "找不到屬性"
-	AFX_IDP_E_INVALIDCLIPBOARDFORMAT "不合法之剪貼簿格式"
-	AFX_IDP_E_INVALIDPICTURE "不合法圖片"
-	AFX_IDP_E_PRINTERERROR  "印表機錯誤"
-	AFX_IDP_E_CANTSAVEFILETOTEMP
-							"無法產生必須儲存之暫時檔案"
-	AFX_IDP_E_SEARCHTEXTNOTFOUND "無法找到想搜尋之文字"
-	AFX_IDP_E_REPLACEMENTSTOOLONG "取代文字過長"
-END
-#endif //!_AFX_NO_CTLERROR_RESOURCES
-
-#endif //!_AFXDLL
-#endif //__AFXOLECL_RC__

+ 0 - 105
libs/mfc/include/Cht/afxdb.rc

@@ -1,105 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXDB_RC__
-#define __AFXDB_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< 無法改變標準MFC資源! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// Database Resources
-
-// Database strings
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_SQL_CONNECT_FAIL
-		"嘗試連結資料來源失敗"
-	AFX_IDP_SQL_RECORDSET_FORWARD_ONLY
-		"資料集只支援向前移動."
-	AFX_IDP_SQL_EMPTY_COLUMN_LIST
-		"嘗試開啟表格失敗 - 無任何存取資料欄說明."
-	AFX_IDP_SQL_FIELD_SCHEMA_MISMATCH
-		"查詢傳回非預期資料欄型態."
-	AFX_IDP_SQL_ILLEGAL_MODE "修改或刪除嘗試失敗."
-	AFX_IDP_SQL_MULTIPLE_ROWS_AFFECTED "多個資料列被修改."
-	AFX_IDP_SQL_NO_CURRENT_RECORD "作業失敗, 無現行資料紀錄."
-	AFX_IDP_SQL_NO_ROWS_AFFECTED
-		"無任何資料列受修改或刪除作業影響."
-	AFX_IDP_SQL_RECORDSET_READONLY "資料集是唯讀"
-	AFX_IDP_SQL_SQL_NO_TOTAL
-		"ODBC驅動程式不支援MFC長二進位(LongBinary)資料模式."
-	AFX_IDP_SQL_ODBC_LOAD_FAILED
-		"嘗試載入必要元件 ODBC32.DLL 失敗."
-	AFX_IDP_SQL_DYNASET_NOT_SUPPORTED
-		"ODBC驅動程式不支援 Dynasets."
-	AFX_IDP_SQL_SNAPSHOT_NOT_SUPPORTED
-		"ODBC靜態游標需要snapshot支援."
-	AFX_IDP_SQL_API_CONFORMANCE
-		"ODBC驅動程式與MFC 資料庫類別不相容(API_CONFORMANCE >= SQL_OAC_LEVEL1 required)."
-	AFX_IDP_SQL_SQL_CONFORMANCE
-		"ODBC驅動程式與MFC資料庫類別不相容 (SQL_CONFORMANCE >= SQL_OSC_MINIMUM required)."
-	AFX_IDP_SQL_NO_DATA_FOUND
-		"嘗試使用捲軸捲動資料列超過第一筆資料."
-	AFX_IDP_SQL_ROW_UPDATE_NOT_SUPPORTED
-		"ODBC驅動程式不支援 Dynasets."
-	AFX_IDP_SQL_ODBC_V2_REQUIRED
-		"須要ODBC層次2順應驅動程式(Level 2 compliant driver)."
-	AFX_IDP_SQL_NO_POSITIONED_UPDATES
-		"ODBC驅動程式不支援定位修改(Positioned updates)."
-	AFX_IDP_SQL_LOCK_MODE_NOT_SUPPORTED
-		"不支援請求鎖定模態(Requested lock mode)."
-	AFX_IDP_SQL_DATA_TRUNCATED
-		"資料截取."
-	AFX_IDP_SQL_ROW_FETCH
-		"錯誤回復資料錄."
-	AFX_IDP_SQL_INCORRECT_ODBC
-		"一個必須的ODBC進入點沒找到.  確定ODBC被正確的安裝."
-	AFX_IDP_SQL_UPDATE_DELETE_FAILED
-		"修改或刪除失敗."
-	AFX_IDP_SQL_DYNAMIC_CURSOR_NOT_SUPPORTED
-		"ODBC驅動程式沒有支援動態游標."
-	AFX_IDP_SQL_FIELD_NOT_FOUND
-		"資料欄名稱或資料欄索引不正確。"
-	AFX_IDP_SQL_BOOKMARKS_NOT_SUPPORTED
-		"書籤不支援 ODBC 驅動器。"
-	AFX_IDP_SQL_BOOKMARKS_NOT_ENABLED
-		"在記錄集中書籤無法使用。"
-	AFX_IDP_DAO_ENGINE_INITIALIZATION
-		"無法進行DAO/Jet資料庫引擎(db engin)初始化."
-	AFX_IDP_DAO_DFX_BIND
-		"壞的DFX參數值."
-	AFX_IDP_DAO_OBJECT_NOT_OPEN
-		"DAO的TableDef物件或QueryDef物件未開啟."
-	AFX_IDP_DAO_ROWTOOSHORT
-		"GetRows失敗. 沒有足夠記憶體配置給資料列."
-	AFX_IDP_DAO_BADBINDINFO
-		"GetRows連結失敗. 也許是因資料型態不合所致."
-	AFX_IDP_DAO_COLUMNUNAVAILABLE
-		"GetRows失敗. 所要求的資料欄不在資料集(Recordset)中."
-
-	AFX_IDS_DELETED "<已刪除>"
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXDB_RC__

+ 0 - 66
libs/mfc/include/Cht/afxolecl.rc

@@ -1,66 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXOLECL_RC__
-#define __AFXOLECL_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifndef _INC_DLGS
-	#include <dlgs.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< 無法改變標準MFC資源! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Client Resources
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE strings
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_STATIC_OBJECT           "無法啟動靜態的 ActiveX 物件。"
-	AFX_IDP_FAILED_TO_CONNECT       "連結失敗.\n連結可能被破壞."
-	AFX_IDP_SERVER_BUSY             "無法處理指令, 伺服器忙碌中."
-	AFX_IDP_BAD_VERB                "伺服器作業執行失敗."
-	AFX_IDP_FAILED_TO_LAUNCH        "無法啟動伺服器應用程式."
-	AFX_IDS_UPDATING_ITEMS          "更新 ActiveX 物件"
-	AFX_IDP_FAILED_TO_CONVERT       "ActiveX 物件轉換失敗。"
-	AFX_IDP_ASK_TO_DISCARD          "離開視窗時,無法儲存 ActiveX 物件!\n放棄所有在 %1 中的變更嗎?"
-	AFX_IDP_FAILED_TO_CREATE        "產生物件失敗.  確定應用程式已登錄在系統登錄器中(system registry)."
-
-	AFX_IDS_METAFILE_FORMAT         "圖片(Metafile)\na 圖片"
-	AFX_IDS_DIB_FORMAT              "設備獨立點陣圖(Device Independent Bitmap)\na 設備獨立點陣圖(device independent bitmap)"
-	AFX_IDS_BITMAP_FORMAT           "點陣圖\na 點陣圖"
-	AFX_IDS_LINKSOURCE_FORMAT       "%s\n%s"
-	AFX_IDS_EMBED_FORMAT            "%s\n%s"
-	AFX_IDS_RTF_FORMAT              "Rich Text (RTF)\n無字型和段落格式的文字"
-	AFX_IDS_TEXT_FORMAT             "未格式化文字\n文字沒有任何格式"
-
-	AFX_IDS_INVALID_CURRENCY        "不合法的貨幣值(Currency)."
-	AFX_IDS_INVALID_DATETIME        "不合法的日期時間(DateTime)."
-	AFX_IDS_INVALID_DATETIMESPAN    "不合法的DateTimeSpan."
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXOLECL_RC__

+ 0 - 53
libs/mfc/include/Cht/afxolesv.rc

@@ -1,53 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXOLESV_RC__
-#define __AFXOLESV_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< 無法改變標準MFC資源! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Server Resources
-
-// OLE strings
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_ASK_TO_UPDATE,              "在進行前修改 %1?"
-	AFX_IDP_FAILED_TO_UPDATE,           "無法修改客戶(client)."
-
-	AFX_IDP_FAILED_TO_REGISTER,         "註冊失敗。某 ActiveX 功能可能無法正確運作。"
-	AFX_IDP_FAILED_TO_AUTO_REGISTER,    "修改系統登錄器(system registry)失敗.\n請嘗試使用REGEDIT."
-END
-
-STRINGTABLE PRELOAD
-BEGIN
-	AFX_IDS_APP_TITLE_EMBEDDING,        "%1 in %2"
-	AFX_IDS_OBJ_TITLE_INPLACE,          "%1 - %2"
-	AFX_IDS_EXIT_MENU,                  "離開(&x) && 跳回到%1"
-	AFX_IDS_UPDATE_MENU,                "修改(&U)%1"
-	AFX_IDS_SAVEFILECOPY,               "另存複製"
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXOLESV_RC__

+ 0 - 90
libs/mfc/include/Cht/afxprint.rc

@@ -1,90 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXPRINT_RC__
-#define __AFXPRINT_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"<無法改變標準MFC資源! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// Printing Resources
-
-AFX_IDC_MAGNIFY         CURSOR  DISCARDABLE     "res\\magnify.cur"
-
-AFX_IDD_PRINTDLG DIALOG DISCARDABLE  6, 18, 133, 95
-STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | 0x04
-FONT 8, "MS Shell Dlg"
-BEGIN
-	CTEXT           "列印",IDC_STATIC,0,9,133,8
-	CTEXT           "",AFX_IDC_PRINT_DOCNAME,0,19,133,8
-	CTEXT           "正在",IDC_STATIC,0,29,133,8
-	CTEXT           "",AFX_IDC_PRINT_PRINTERNAME,0,39,133,8
-	CTEXT           "",AFX_IDC_PRINT_PORTNAME,0,49,133,8
-	CTEXT           "",AFX_IDC_PRINT_PAGENUM,0,59,133,8
-	PUSHBUTTON      "取消",IDCANCEL,46,74,40,14
-END
-
-// Preview Toolbar Dialog
-AFX_IDD_PREVIEW_TOOLBAR DIALOG PRELOAD DISCARDABLE  0, 0, 330, 16
-STYLE WS_CHILD | 0x04
-FONT 8, "MS Shell Dlg"
-BEGIN
-	PUSHBUTTON      "列印(&P)...",AFX_ID_PREVIEW_PRINT,2,2,44,12
-	PUSHBUTTON      "下一頁(&N)",AFX_ID_PREVIEW_NEXT,48,2,44,12
-	PUSHBUTTON      "前一頁(&v)",AFX_ID_PREVIEW_PREV,94,2,44,12
-	PUSHBUTTON      "",AFX_ID_PREVIEW_NUMPAGE,140,2,44,12
-	PUSHBUTTON      "拉近(&I)",AFX_ID_PREVIEW_ZOOMIN,186,2,44,12
-	PUSHBUTTON      "拉遠(&O)",AFX_ID_PREVIEW_ZOOMOUT,232,2,44,12
-	PUSHBUTTON      "關閉(&C)",AFX_ID_PREVIEW_CLOSE,278,2,44,12
-END
-
-// Printing strings
-STRINGTABLE DISCARDABLE
-BEGIN
-	// print progress dialog strings
-	AFX_IDS_PRINTONPORT,            "在 %1"         // for print output
-	AFX_IDS_ONEPAGE,                "一頁(&O)"     // for preview button
-	AFX_IDS_TWOPAGE,                "兩頁(&T)"     // for preview button
-	AFX_IDS_PRINTPAGENUM,           "頁 %u"       // for print output
-	AFX_IDS_PREVIEWPAGEDESC,        "頁 %u\n頁 %u-%u\n"
-
-	// print to file dialog strings
-	AFX_IDS_PRINTDEFAULTEXT,        "prn"           // default extension
-	AFX_IDS_PRINTDEFAULT,           "Output.prn"    // default file
-	AFX_IDS_PRINTFILTER,
-		"印表機檔案(*.prn)|*.prn|All Files (*.*)|*.*||"
-	AFX_IDS_PRINTCAPTION,           "列印到檔案" // caption for browse dlg
-	AFX_IDS_PRINTTOFILE,            "到 %1"         // to file
-END
-
-// Print Preview Accelerator Table
-AFX_IDR_PREVIEW_ACCEL ACCELERATORS LOADONCALL MOVEABLE
-BEGIN
-	VK_NEXT,    AFX_ID_PREVIEW_NEXT,    VIRTKEY, NOINVERT
-	VK_PRIOR,   AFX_ID_PREVIEW_PREV,    VIRTKEY, NOINVERT
-	VK_ESCAPE,  AFX_ID_PREVIEW_CLOSE,   VIRTKEY, NOINVERT
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXPRINT_RC__

+ 0 - 202
libs/mfc/include/Cht/afxres.rc

@@ -1,202 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXRES_RC__
-#define __AFXRES_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< 無法改變標準MFC資源! >\0"
-END
-#endif //APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// Default resource description for MFC applications
-/////////////////////////////////////////////////////////////////////////////
-
-/////////////////////////////////////////////////////////////////////////////
-// Strings
-
-STRINGTABLE DISCARDABLE
-BEGIN
-#ifndef _AFX_NO_APPMENU_RESOURCES
-	AFX_IDS_OPENFILE,               "開啟舊檔"
-	AFX_IDS_SAVEFILE,               "另存新檔"
-	AFX_IDS_ALLFILTER,              "所有文件 (*.*)"
-	AFX_IDS_UNTITLED,               "未命名標題"
-	AFX_IDS_HIDE,                   "隱藏(&H)"
-#endif // !_AFX_NO_APPMENUSTRING_RESOURCES
-
-	AFX_IDS_MEMORY_EXCEPTION,       "記憶體不足."
-	AFX_IDS_NOT_SUPPORTED_EXCEPTION,"試圖執行未支援的作業."
-	AFX_IDS_RESOURCE_EXCEPTION,     "有一項必要的資源無法使用."
-	AFX_IDS_USER_EXCEPTION,         "產生一未知的錯誤."
-
-	// General error prompts
-#ifndef _AFX_NO_FILECMD_RESOURCES
-	AFX_IDP_INVALID_FILENAME,       "不合法之檔案名稱."
-	AFX_IDP_FAILED_TO_OPEN_DOC,     "開啟文件失敗."
-	AFX_IDP_FAILED_TO_SAVE_DOC,     "儲存文件失敗."
-	AFX_IDP_ASK_TO_SAVE,            "儲存修改到 %1?"
-	AFX_IDP_FAILED_TO_CREATE_DOC,   "產生空白文件失敗."
-	AFX_IDP_FILE_TOO_LARGE,         "檔案太大無法開啟."
-	AFX_IDP_FAILED_TO_START_PRINT,  "列印工作無法啟始."
-#endif // !_AFX_NO_FILECMD_RESOURCES
-	AFX_IDP_FAILED_TO_LAUNCH_HELP,  "說明開啟失敗."
-	AFX_IDP_INTERNAL_FAILURE,       "內部應用程式錯誤."
-	AFX_IDP_COMMAND_FAILURE,        "命令失敗."
-	AFX_IDP_FAILED_MEMORY_ALLOC     "記憶體不夠無法執行作業."
-	AFX_IDP_GET_NOT_SUPPORTED,      "無法讀取唯寫屬性."
-	AFX_IDP_SET_NOT_SUPPORTED,      "無法寫入唯讀屬性."
-	AFX_IDP_UNREG_DONE,               "已移除系統中的註冊項目,並已刪除相關的 INI 檔案。"
-	AFX_IDP_UNREG_FAILURE,            "並無移除系統中所有的註冊項目或 INI 檔案。。"
-	AFX_IDP_DLL_LOAD_FAILED,        "此程式需要使用檔案 %s,但無法找到此檔案。"
-	AFX_IDP_DLL_BAD_VERSION,        "此程式所連結的 Export: %s,在檔案 %s 中並不存在。本電腦中的 %s,可能為不相容的版本。"
-
-	// CFile/CArchive error strings for user failure
-#ifndef _AFX_NO_CFILE_RESOURCES
-	AFX_IDP_FAILED_INVALID_FORMAT   "檔案格式錯誤."
-	AFX_IDP_FAILED_INVALID_PATH     "%1\n沒有找到這個檔案.\n請確認正確的路徑和檔案名稱."
-	AFX_IDP_FAILED_DISK_FULL        "目標磁碟機空間已滿."
-	AFX_IDP_FAILED_ACCESS_READ      "無法讀取 %1, 它已經被某人開啟."
-	AFX_IDP_FAILED_ACCESS_WRITE     "無法寫入 %1, 它是唯讀檔或被某人開啟."
-	AFX_IDP_FAILED_IO_ERROR_READ    "當讀取 %1 時產生非預期錯誤."
-	AFX_IDP_FAILED_IO_ERROR_WRITE   "當寫入 %1 產生非預期錯誤."
-#endif // !_AFX_NO_CFILE_RESOURCES
-
-	// Parsing error prompts
-	AFX_IDP_PARSE_INT,              "請輸入一整數."
-	AFX_IDP_PARSE_REAL,             "請輸入一數值."
-	AFX_IDP_PARSE_INT_RANGE,        "請輸入一個在 %1 到 %2 之間的整數."
-	AFX_IDP_PARSE_REAL_RANGE,       "請輸入一個在 %1 到 %2 之間的數值."
-	AFX_IDP_PARSE_STRING_SIZE,      "請輸入少於 %1個文字."
-	AFX_IDP_PARSE_RADIO_BUTTON,     "請選擇一按鈕."
-	AFX_IDP_PARSE_BYTE,             "請輸入一個在 0 到 225 之間的整數."
-	AFX_IDP_PARSE_UINT,             "請輸入一正整數."
-	AFX_IDP_PARSE_DATETIME,         "請輸入一日期 和/或 時間."
-	AFX_IDP_PARSE_CURRENCY,         "請輸入一貨幣值."
-
-#ifndef _AFX_NO_OLE_RESOURCES
-	// OLE strings required for both servers and containers
-	AFX_IDS_PASTELINKEDTYPE         "連結 %s"
-	AFX_IDS_UNKNOWNTYPE             "未知型態"
-	AFX_IDP_FAILED_TO_NOTIFY        "%1\n無法登錄文件.\n這個文件已被開啟."
-	AFX_IDS_NOT_DOCOBJECT           "Document Object server 不支援此檔案。"
-#endif //!_AFX_NO_OLE_RESOURCES
-
-	AFX_IDP_NO_ERROR_AVAILABLE      "無可用的錯誤訊息."
-
-#ifndef _AFX_NO_CFILE_RESOURCES
-	AFX_IDP_FILE_NONE                "無錯誤產生."
-	AFX_IDP_FILE_GENERIC             "當存取 %1 時發生不可知的錯誤."
-	AFX_IDP_FILE_NOT_FOUND           "沒有找到 %1 ."
-	AFX_IDP_FILE_BAD_PATH            "%1 包含非合法路徑."
-	AFX_IDP_FILE_TOO_MANY_OPEN       "%1 無法開啟,因為已開啟太多檔案."
-	AFX_IDP_FILE_ACCESS_DENIED       "存取 %1 遭受拒絕."
-	AFX_IDP_FILE_INVALID_FILE        "一不合法檔案代碼與 %1 有關聯."
-	AFX_IDP_FILE_REMOVE_CURRENT      "%1 無法被移除因為它是使用中目錄."
-	AFX_IDP_FILE_DIR_FULL            "%1 無法產生因為目錄空間已滿."
-	AFX_IDP_FILE_BAD_SEEK            " %1 搜尋失敗"
-	AFX_IDP_FILE_HARD_IO             "當存取 %1 時產生硬體輸出入錯誤."
-	AFX_IDP_FILE_SHARING             "當存取 %1 時發生分享違反(Sharing Violation)."
-	AFX_IDP_FILE_LOCKING             "當存取 %1 時有產生鎖定違反(Locking Violation)."
-	AFX_IDP_FILE_DISKFULL            "當存取 %1 時磁碟空間已滿."
-	AFX_IDP_FILE_EOF                 "試圖存取超過 %1 之檔尾."
-	AFX_IDS_UNNAMED_FILE             "未命名檔案"
-#endif // !_AFX_NO_CFILE_RESOURCES
-
-	AFX_IDP_ARCH_NONE               "無錯誤產生."
-	AFX_IDP_ARCH_GENERIC                "當存取 %1 時發生不可知的錯誤."
-	AFX_IDP_ARCH_READONLY           "試圖寫入正在讀取中的 %1."
-	AFX_IDP_ARCH_ENDOFFILE          "試圖存取超過 %1 之檔尾."
-	AFX_IDP_ARCH_WRITEONLY          "試圖讀取正在寫入中的 %1."
-	AFX_IDP_ARCH_BADINDEX           "%1 有一壞的格式."
-	AFX_IDP_ARCH_BADCLASS           "%1 包含一非期望物件."
-	AFX_IDP_ARCH_BADSCHEMA          "%1 包含一不正確的觀點."
-
-#ifndef _AFX_NO_MAPI_RESOURCES
-	// MAPI strings / error messages
-	AFX_IDP_FAILED_MAPI_LOAD        "無法載入電子郵件支援."
-	AFX_IDP_INVALID_MAPI_DLL        "電子郵件系統之DLL是無效的."
-	AFX_IDP_FAILED_MAPI_SEND        "電子郵件傳送無法傳送訊息."
-#endif //!_AFX_NO_MAPI_RESOURCES
-
-#ifndef _AFX_NO_OCC_RESOURCES
-	AFX_IDS_OCC_SCALEUNITS_PIXELS   "像素"
-#endif //!_AFX_NO_OCC_RESOURCES
-END
-
-/////////////////////////////////////////////////////////////////////////////
-// Cursors
-
-AFX_IDC_CONTEXTHELP     CURSOR  DISCARDABLE     "res\\help.cur"
-
-#ifndef _AFX_NO_SPLITTER_RESOURCES
-AFX_IDC_SMALLARROWS     CURSOR  DISCARDABLE     "res\\sarrows.cur"
-AFX_IDC_HSPLITBAR       CURSOR  DISCARDABLE     "res\\splith.cur"
-AFX_IDC_VSPLITBAR       CURSOR  DISCARDABLE     "res\\splitv.cur"
-AFX_IDC_NODROPCRSR      CURSOR  DISCARDABLE     "res\\nodrop.cur"
-#endif //!_AFX_NO_SPLITTER_RESOURCES
-
-#ifndef _AFX_NO_TRACKER_RESOURCES
-AFX_IDC_TRACKNWSE       CURSOR  DISCARDABLE     "res\\trcknwse.cur"
-AFX_IDC_TRACKNESW       CURSOR  DISCARDABLE     "res\\trcknesw.cur"
-AFX_IDC_TRACKNS         CURSOR  DISCARDABLE     "res\\trckns.cur"
-AFX_IDC_TRACKWE         CURSOR  DISCARDABLE     "res\\trckwe.cur"
-AFX_IDC_TRACK4WAY       CURSOR  DISCARDABLE     "res\\trck4way.cur"
-AFX_IDC_MOVE4WAY        CURSOR  DISCARDABLE     "res\\move4way.cur"
-#endif //!_AFX_NO_TRACKER_RESOURCES
-
-#ifndef _AFX_NO_CTL3D_RESOURCES
-26567 BITMAP "res\\3dcheck.bmp" // Note: 26567 comes from CTL3D.H
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// Standard Dialogs
-
-#ifndef _AFX_NO_NEWTYPEDLG_RESOURCES
-AFX_IDD_NEWTYPEDLG DIALOG DISCARDABLE  9, 26, 183, 70
-STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | 0x04
-CAPTION "開啟新檔"
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "開啟新檔(&N) ",IDC_STATIC,6,5,123,8,NOT WS_GROUP
-	LISTBOX         AFX_IDC_LISTBOX,6,15,125,49,WS_VSCROLL | WS_TABSTOP
-	DEFPUSHBUTTON   "確定",IDOK,137,6,40,14
-	PUSHBUTTON      "取消",IDCANCEL,137,23,40,14
-	PUSHBUTTON      "說明(&H)",ID_HELP,137,43,40,14
-END
-#endif // !_AFX_NO_NEWTYPEDLG_RESOURCES
-
-/////////////////////////////////////////////////////////////////////////////
-// CMiniFrameWnd Bitmap
-
-AFX_IDB_MINIFRAME_MENU      BITMAP  DISCARDABLE     "res\\minifwnd.bmp"
-
-/////////////////////////////////////////////////////////////////////////////
-// CCheckListBox Bitmaps
-
-AFX_IDB_CHECKLISTBOX_NT     BITMAP  DISCARDABLE     "res\\ntcheck.bmp"
-AFX_IDB_CHECKLISTBOX_95     BITMAP  DISCARDABLE     "res\\95check.bmp"
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //!__AFXRES_RC__
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 284
libs/mfc/include/Deu/afxctl.rc

@@ -1,284 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXCTL_RC__
-#define __AFXCTL_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< Cannot change standard MFC resources! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Control Resources
-
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-/////////////////////////////////////////////////////////////////////////////
-//
-// Bitmap
-//
-
-AFX_IDB_TRUETYPE        BITMAP  DISCARDABLE     "RES\\TRUETYPE.BMP"
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Dialog
-//
-
-AFX_IDD_PROPPAGE_FONT DIALOG DISCARDABLE  13, 54, 250, 110
-STYLE WS_CHILD | 0x4
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "Eigenschafts&name:",IDC_STATIC,3,5,61,8
-	COMBOBOX        AFX_IDC_FONTPROP,65,3,100,71,CBS_DROPDOWNLIST | CBS_SORT |
-					WS_VSCROLL | WS_TABSTOP
-	LTEXT           "&Schriftart:",IDC_STATIC,3,19,91,8
-	COMBOBOX        AFX_IDC_FONTNAMES,3,29,91,77,CBS_SIMPLE |
-					CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT |
-					CBS_HASSTRINGS | CBS_DISABLENOSCROLL | WS_VSCROLL |
-					WS_TABSTOP
-	LTEXT           "Schriftst&il:",IDC_STATIC,102,19,53,8
-	COMBOBOX        AFX_IDC_FONTSTYLES,104,29,53,53,CBS_DROPDOWNLIST |
-					CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
-	LTEXT           "&Größe:",IDC_STATIC,167,19,40,8
-	COMBOBOX        AFX_IDC_FONTSIZES,167,29,36,53,CBS_DROPDOWN | CBS_SORT |
-					CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
-	GROUPBOX        "Effekte",IDC_STATIC,104,44,142,24,WS_GROUP
-	CONTROL         "&Durchgestrichen",AFX_IDC_STRIKEOUT,"Button",BS_AUTOCHECKBOX |
-					WS_TABSTOP,109,55,65,10
-	CONTROL         "&Unterstrichen",AFX_IDC_UNDERLINE,"Button",BS_AUTOCHECKBOX |
-					WS_TABSTOP,175,55,65,10
-	GROUPBOX        "Beispiel",IDC_STATIC,104,71,142,36,WS_GROUP
-	CTEXT           "AaBbYyZz",AFX_IDC_SAMPLEBOX,110,80,130,22,SS_NOPREFIX |
-					NOT WS_VISIBLE
-END
-
-AFX_IDD_PROPPAGE_COLOR DIALOG DISCARDABLE  0, 0, 250, 62
-STYLE WS_CHILD | 0x4
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "Eigenschafts&name:",IDC_STATIC,3,3,100,8
-	COMBOBOX        AFX_IDC_COLORPROP,3,13,100,54,CBS_DROPDOWNLIST |
-					CBS_SORT | WS_VSCROLL | WS_TABSTOP
-	LTEXT           "System&farbe:",IDC_STATIC,3,29,100,8
-	COMBOBOX        AFX_IDC_SYSTEMCOLORS,3,39,100,54,CBS_DROPDOWNLIST |
-					CBS_SORT | WS_VSCROLL | WS_TABSTOP
-	CONTROL         "",AFX_IDC_COLOR_BLACK,"Button",BS_OWNERDRAW | WS_GROUP |
-					WS_TABSTOP,118,4,15,11
-	CONTROL         "",AFX_IDC_COLOR_BLUE,"Button",BS_OWNERDRAW,138,4,15,11
-	CONTROL         "",AFX_IDC_COLOR_CYAN,"Button",BS_OWNERDRAW,158,4,15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKBLUE,"Button",BS_OWNERDRAW,178,4,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_DARKCYAN,"Button",BS_OWNERDRAW,118,18,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKGREEN,"Button",BS_OWNERDRAW,138,18,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKMAGENTA,"Button",BS_OWNERDRAW,158,
-					18,15,11
-	CONTROL         "",AFX_IDC_COLOR_GRAY,"Button",BS_OWNERDRAW,178,18,15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKRED,"Button",BS_OWNERDRAW,118,32,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_GREEN,"Button",BS_OWNERDRAW,138,32,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_LIGHTBROWN,"Button",BS_OWNERDRAW,158,32,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_LIGHTGRAY,"Button",BS_OWNERDRAW,178,32,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_MAGENTA,"Button",BS_OWNERDRAW,118,46,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_RED,"Button",BS_OWNERDRAW,138,46,15,11
-	CONTROL         "",AFX_IDC_COLOR_WHITE,"Button",BS_OWNERDRAW,158,46,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_YELLOW,"Button",BS_OWNERDRAW,178,46,15,
-					11
-END
-
-AFX_IDD_PROPPAGE_PICTURE DIALOG DISCARDABLE  0, 0, 250, 62
-STYLE WS_CHILD | 0x4
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "Eigenschafts&name:",IDC_STATIC,3,3,100,8
-	COMBOBOX        AFX_IDC_PROPNAME,3,13,100,30,CBS_DROPDOWNLIST | CBS_SORT |
-					WS_VSCROLL | WS_TABSTOP
-	PUSHBUTTON      "&Durchsuchen...",AFX_IDC_BROWSE,3,35,54,14
-	PUSHBUTTON      "&Löschen",AFX_IDC_CLEAR,61,35,54,14
-	RTEXT           "Vorschau:",IDC_STATIC,107,3,42,16
-	CONTROL         "",AFX_IDC_PICTURE,"Static",SS_BLACKFRAME,151,4,93,54
-END
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Dialog Info
-//
-
-AFX_IDD_PROPPAGE_FONT DLGINIT
-BEGIN
-	1002, 0x403, 12, 0
-0x6f42, 0x646c, 0x4920, 0x6174, 0x696c, 0x0063,
-	0
-END
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// String Table
-//
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_PROPPAGE_UNKNOWN "(Unbekannt)"
-	AFX_IDS_COLOR_DESKTOP   "Desktop"
-	AFX_IDS_COLOR_APPWORKSPACE "Anwendungsarbeitsbereich"
-	AFX_IDS_COLOR_WNDBACKGND "Fensterhintergrund"
-	AFX_IDS_COLOR_WNDTEXT   "Fenstertext"
-	AFX_IDS_COLOR_MENUBAR   "Menüleiste"
-	AFX_IDS_COLOR_MENUTEXT  "Menütext"
-	AFX_IDS_COLOR_ACTIVEBAR "Aktive Titelleiste"
-	AFX_IDS_COLOR_INACTIVEBAR "Inaktive Titelleiste"
-	AFX_IDS_COLOR_ACTIVETEXT "Aktiver Titelleistentext"
-	AFX_IDS_COLOR_INACTIVETEXT "Inaktiver Titelleistentext"
-	AFX_IDS_COLOR_ACTIVEBORDER "Aktiver Rahmen"
-	AFX_IDS_COLOR_INACTIVEBORDER "Inaktiver Rahmen"
-END
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-
-STRINGTABLE DISCARDABLE
-BEGIN
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_COLOR_WNDFRAME  "Fensterrahmen"
-	AFX_IDS_COLOR_SCROLLBARS "Bildlaufleisten"
-	AFX_IDS_COLOR_BTNFACE   "Schaltfläche"
-	AFX_IDS_COLOR_BTNSHADOW "Schaltflächenschatten"
-	AFX_IDS_COLOR_BTNTEXT   "Schaltflächentext"
-	AFX_IDS_COLOR_BTNHIGHLIGHT "Schaltflächenhervorhebung"
-	AFX_IDS_COLOR_DISABLEDTEXT "Deaktivierter Text"
-	AFX_IDS_COLOR_HIGHLIGHT "Markierung"
-	AFX_IDS_COLOR_HIGHLIGHTTEXT "Markierter Text"
-	AFX_IDS_REGULAR         "Normal"
-	AFX_IDS_BOLD            "Fett"
-	AFX_IDS_ITALIC          "Kursiv"
-	AFX_IDS_BOLDITALIC      "Fett-kursiv"
-	AFX_IDS_SAMPLETEXT      "AaBbYyZz"
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_DISPLAYSTRING_FONT "(Schriftart)"
-	AFX_IDS_DISPLAYSTRING_COLOR "(Farbe)"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_DISPLAYSTRING_PICTURE "(Bild - %s)"
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_PICTUREFILTER   "Alle Bildtypen|*.bmp;*.cur;*.dib;*.emf;*.ico;*.wmf|Bitmaps (*.bmp;*.dib)|*.bmp;*.dib|Symbole/Zeiger (*.ico;*.cur)|*.ico;*.cur|Metadateien (*.wmf;*.emf)|*.wmf;*.emf|Alle Dateien (*.*)|*.*||"
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_PICTYPE_UNKNOWN "Unbekannt"
-	AFX_IDS_PICTYPE_NONE    "Kein"
-	AFX_IDS_PICTYPE_BITMAP  "Bitmap"
-	AFX_IDS_PICTYPE_METAFILE "Metadatei"
-	AFX_IDS_PICTYPE_ICON    "Symbol"
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_COLOR_PPG       "Farbeigenschaften"
-	AFX_IDS_COLOR_PPG_CAPTION "Farben"
-	AFX_IDS_FONT_PPG        "Schrifteigenschaften"
-	AFX_IDS_FONT_PPG_CAPTION "Schriftarten"
-	AFX_IDS_PICTURE_PPG     "Bildeigenschaften"
-	AFX_IDS_PICTURE_PPG_CAPTION "Bilder"
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_BORDERSTYLE_0   "0 - Keiner"
-	AFX_IDS_BORDERSTYLE_1   "1 - Fester einzelner"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_VERB_EDIT       "&Bearbeiten"
-	AFX_IDS_VERB_PROPERTIES "&Eigenschaften..."
-END
-
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_PICTURECANTOPEN "Bilddatei %1 konnte nicht geöffnet werden. Die Datei existiert möglicherweise nicht oder ist nicht lesbar."
-	AFX_IDP_PICTURECANTLOAD "Bilddatei %1 konnte nicht geladen werden. Die Datei hat möglicherweise ein ungültiges Format."
-	AFX_IDP_PICTURETOOLARGE "Bilddatei %1 konnte nicht geladen werden, da sie nicht in den Speicher paßt."
-	AFX_IDP_PICTUREREADFAILED
-							"Bilddatei %1 konnte nicht geladen werden, da ein unbekannter Lesefehler auftrat."
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_PICTUREBROWSETITLE "Bilder durchsuchen"
-END
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-
-#ifndef _AFX_NO_CTLERROR_RESOURCES
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_E_ILLEGALFUNCTIONCALL "Ungültiger Funktionsaufruf"
-	AFX_IDP_E_OVERFLOW      "Überlauf"
-	AFX_IDP_E_OUTOFMEMORY   "Nicht genügend Speicher"
-	AFX_IDP_E_DIVISIONBYZERO "Division durch Null"
-	AFX_IDP_E_OUTOFSTRINGSPACE "Nicht genügend Zeichenfolgenspeicher"
-	AFX_IDP_E_OUTOFSTACKSPACE "Nicht genügend Stack-Speicher"
-	AFX_IDP_E_BADFILENAMEORNUMBER "Ungültiger Dateiname oder -nummer"
-	AFX_IDP_E_FILENOTFOUND  "Datei nicht gefunden"
-	AFX_IDP_E_BADFILEMODE   "Falscher Dateimodus"
-	AFX_IDP_E_FILEALREADYOPEN "Datei bereits geöffnet"
-	AFX_IDP_E_DEVICEIOERROR "Geräte-E/A-Fehler"
-	AFX_IDP_E_FILEALREADYEXISTS "Datei besteht bereits"
-	AFX_IDP_E_BADRECORDLENGTH "Ungültige Datensatzlänge"
-	AFX_IDP_E_DISKFULL      "Datenträger voll"
-	AFX_IDP_E_BADRECORDNUMBER "Ungültige Datensatznummer"
-	AFX_IDP_E_BADFILENAME   "Ungültiger Dateiname"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_E_TOOMANYFILES  "Zu viele Dateien"
-	AFX_IDP_E_DEVICEUNAVAILABLE "Gerät nicht verfügbar"
-	AFX_IDP_E_PERMISSIONDENIED "Zugriff verweigert"
-	AFX_IDP_E_DISKNOTREADY  "Laufwerk nicht bereit"
-	AFX_IDP_E_PATHFILEACCESSERROR "Pfad-/Dateizugriffsfehler"
-	AFX_IDP_E_PATHNOTFOUND  "Pfad nicht gefunden"
-	AFX_IDP_E_INVALIDPATTERNSTRING "Ungültige Musterzeichenfolge"
-	AFX_IDP_E_INVALIDUSEOFNULL "Ungültige Verwendung von Null"
-	AFX_IDP_E_INVALIDFILEFORMAT "Ungültiges Dateiformat"
-	AFX_IDP_E_INVALIDPROPERTYVALUE "Ungültiger Eigenschaftswert"
-	AFX_IDP_E_INVALIDPROPERTYARRAYINDEX "Ungültiger Feldindex"
-	AFX_IDP_E_SETNOTSUPPORTEDATRUNTIME "Eigenschaft kann nicht zur Laufzeit gesetzt werden"
-	AFX_IDP_E_SETNOTSUPPORTED "Eigenschaft ist schreibgeschützt"
-	AFX_IDP_E_NEEDPROPERTYARRAYINDEX
-							"Ein Feldindex muß angegeben sein, wenn ein Eigenschaftsfeld verwendet wird"
-	AFX_IDP_E_SETNOTPERMITTED "Eigenschaft kann für dieses Steuerelement nicht gesetzt werden"
-	AFX_IDP_E_GETNOTSUPPORTEDATRUNTIME "Eigenschaft kann nicht zur Laufzeit gelesen werden"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_E_GETNOTSUPPORTED "Eigenschaft ist lesegeschützt"
-	AFX_IDP_E_PROPERTYNOTFOUND "Eigenschaft nicht gefunden"
-	AFX_IDP_E_INVALIDCLIPBOARDFORMAT "Ungültiges Zwischenablageformat"
-	AFX_IDP_E_INVALIDPICTURE "Ungültiges Bild"
-	AFX_IDP_E_PRINTERERROR  "Druckerfehler"
-	AFX_IDP_E_CANTSAVEFILETOTEMP
-							"Zum Speichern notwendige temporäre Datei kann nicht erstellt werden"
-	AFX_IDP_E_SEARCHTEXTNOTFOUND "Suchtext nicht gefunden"
-	AFX_IDP_E_REPLACEMENTSTOOLONG "Ersetzungstext zu lang"
-END
-#endif //!_AFX_NO_CTLERROR_RESOURCES
-
-#endif //!_AFXDLL
-#endif //__AFXOLECL_RC__

+ 0 - 105
libs/mfc/include/Deu/afxdb.rc

@@ -1,105 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXDB_RC__
-#define __AFXDB_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< Cannot change standard MFC resources! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// Database Resources
-
-// Database strings
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_SQL_CONNECT_FAIL
-		"Der Verbindungsversuch zur Datenquelle ist gescheitert."
-	AFX_IDP_SQL_RECORDSET_FORWARD_ONLY
-		"Datensatzgruppe unterstützt nur Vorwärtsbewegung."
-	AFX_IDP_SQL_EMPTY_COLUMN_LIST
-		"Der Versuch, eine Tabelle zu öffnen, ist fehlgeschlagen, da am angegebenen Ort keine Spalten abgerufen werden konnten."
-	AFX_IDP_SQL_FIELD_SCHEMA_MISMATCH
-		"Von einer Abfrage wurden unerwartete Spaltendatentypen zurückgegeben."
-	AFX_IDP_SQL_ILLEGAL_MODE "Versuch zu aktualisieren oder zu löschen ist fehlgeschlagen."
-	AFX_IDP_SQL_MULTIPLE_ROWS_AFFECTED "Es wurden mehrere Zeilen aktualisiert."
-	AFX_IDP_SQL_NO_CURRENT_RECORD "Operation ist fehlgeschlagen; es gibt keinen aktuellen Datensatz."
-	AFX_IDP_SQL_NO_ROWS_AFFECTED
-		"Es waren keine Zeilen von der Aktualisierungs- oder Löschoperation betroffen."
-	AFX_IDP_SQL_RECORDSET_READONLY "Datensatzgruppe kann nur gelesen werden."
-	AFX_IDP_SQL_SQL_NO_TOTAL
-		"Der ODBC-Treiber unterstützt das MFC-LongBinary-Datenmodell nicht."
-	AFX_IDP_SQL_ODBC_LOAD_FAILED
-		"Der Versuch, die benötigte Komponente ODBC32.DLL zu laden, ist fehlgeschlagen."
-	AFX_IDP_SQL_DYNASET_NOT_SUPPORTED
-		"Der ODBC-Treiber unterstützt keine Dynasets."
-	AFX_IDP_SQL_SNAPSHOT_NOT_SUPPORTED
-		"Statische ODBC-Cursor werden zur Unterstützung von Snapshots benötigt."
-	AFX_IDP_SQL_API_CONFORMANCE
-		"Der ODBC-Treiber ist inkompatibel zu den MFC-Datenbankklassen (API_CONFORMANCE >= SQL_OAC_LEVEL1 wird benötigt)."
-	AFX_IDP_SQL_SQL_CONFORMANCE
-		"Der ODBC-Treiber ist inkompatibel zu den MFC-Datenbankklassen (SQL_CONFORMANCE >= SQL_OSC_MINIMUM wird benötigt)."
-	AFX_IDP_SQL_NO_DATA_FOUND
-		"Es wurde versucht, hinter das Ende oder vor den Anfang der Daten zu gelangen."
-	AFX_IDP_SQL_ROW_UPDATE_NOT_SUPPORTED
-		"Dynasets werden vom ODBC-Treiber nicht unterstützt."
-	AFX_IDP_SQL_ODBC_V2_REQUIRED
-		"Treiber gemäß ODBC Level 2 wird benötigt."
-	AFX_IDP_SQL_NO_POSITIONED_UPDATES
-		"Positionierte Aktualisierungen werden vom ODBC-Treiber nicht unterstützt."
-	AFX_IDP_SQL_LOCK_MODE_NOT_SUPPORTED
-		"Der angeforderte Sperrmodus wird nicht unterstützt."
-	AFX_IDP_SQL_DATA_TRUNCATED
-		"Daten abgeschnitten."
-	AFX_IDP_SQL_ROW_FETCH
-		"Fehler beim Abruf eines Datensatzes."
-	AFX_IDP_SQL_INCORRECT_ODBC
-		"Ein benötigter ODBC-Einsprungspunkt konnte nicht gefunden werden. Überprüfen Sie, ob OBDC korrekt installiert ist."
-	AFX_IDP_SQL_UPDATE_DELETE_FAILED
-		"Fehler bei der Aktualisierungs- oder Löschoperation."
-	AFX_IDP_SQL_DYNAMIC_CURSOR_NOT_SUPPORTED
-		"Dynamische Cursor werden vom ODBC-Treiber nicht unterstützt."
-	AFX_IDP_SQL_FIELD_NOT_FOUND
-		"Ungültiger Feldname oder Feldindex."
-	AFX_IDP_SQL_BOOKMARKS_NOT_SUPPORTED
-		"Lesezeichen werden für ODBC-Treiber nicht unterstützt."
-	AFX_IDP_SQL_BOOKMARKS_NOT_ENABLED
-		"Lesezeichen bei Satzgruppe nicht aktiviert."
-	AFX_IDP_DAO_ENGINE_INITIALIZATION
-		"Initialisierung des DAO/Jet-Datenbankmoduls nicht möglich."
-	AFX_IDP_DAO_DFX_BIND
-		"Ungültiger DFX-Werteparameter."
-	AFX_IDP_DAO_OBJECT_NOT_OPEN
-		"DAO-TableDef oder DAO-QueryDef nicht offen."
-	AFX_IDP_DAO_ROWTOOSHORT
-		"Fehler bei GetRows-Operation. Für die Zeile ist nicht genügend Speicher reserviert."
-	AFX_IDP_DAO_BADBINDINFO
-		"GetRows-Bindungsfehler. Nicht übereinstimmende Datentypen sind wahrscheinlich die Ursache."
-	AFX_IDP_DAO_COLUMNUNAVAILABLE
-		"Fehler bei GetRows-Operation. Die angeforderte Spalte ist kein Element der Datensatzgruppe."
-
-	AFX_IDS_DELETED "<Gelöscht>"
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXDB_RC__

+ 0 - 66
libs/mfc/include/Deu/afxolecl.rc

@@ -1,66 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXOLECL_RC__
-#define __AFXOLECL_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifndef _INC_DLGS
-	#include <dlgs.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< Cannot change standard MFC resources! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Client Resources
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE strings
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_STATIC_OBJECT           "Ein statisches ActiveX-Objekt kann nicht aktiviert werden."
-	AFX_IDP_FAILED_TO_CONNECT       "Fehler beim Verbindungsversuch.\nDie Verbindung ist vielleicht unterbrochen."
-	AFX_IDP_SERVER_BUSY             "Der Befehl kann nicht verarbeitet werden, weil der Server beschäftigt ist."
-	AFX_IDP_BAD_VERB                "Fehler beim Ausführen der Server-Operation."
-	AFX_IDP_FAILED_TO_LAUNCH        "Die Server-Anwendung konnte nicht gestartet werden."
-	AFX_IDS_UPDATING_ITEMS          "ActiveX-Objekte werden aktualisiert"
-	AFX_IDP_FAILED_TO_CONVERT       "ActiveX-Objekt konnte nicht konvertiert werden."
-	AFX_IDP_ASK_TO_DISCARD          "ActiveX-Objekte können beim Beenden von Windows nicht gespeichert werden!\nAlle bei %1 vorgenommenen Änderungen ignorieren?"
-	AFX_IDP_FAILED_TO_CREATE        "Fehler beim Erzeugen des Objekts. Stellen Sie sicher, daß das Objekt in der Systemregistrierung eingetragen ist."
-
-	AFX_IDS_METAFILE_FORMAT         "Bild (Metadatei)\nein Bild"
-	AFX_IDS_DIB_FORMAT              "Geräteunabhängiges Bitmap\nein geräteunabhängiges Bitmap"
-	AFX_IDS_BITMAP_FORMAT           "Bitmap\nein Bitmap"
-	AFX_IDS_LINKSOURCE_FORMAT       "%s\n%s"
-	AFX_IDS_EMBED_FORMAT            "%s\n%s"
-	AFX_IDS_RTF_FORMAT              "Rich Text (RTF)\nText mit Schrift- und Absatzformatierung"
-	AFX_IDS_TEXT_FORMAT             "Unformatierter Text\nText ohne Formatierung"
-
-	AFX_IDS_INVALID_CURRENCY        "Ungültige Währung."
-	AFX_IDS_INVALID_DATETIME        "Ungültiges Datum oder ungültige Zeit."
-	AFX_IDS_INVALID_DATETIMESPAN    "Ungültige Datums- oder Zeitspanne."
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXOLECL_RC__

+ 0 - 53
libs/mfc/include/Deu/afxolesv.rc

@@ -1,53 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXOLESV_RC__
-#define __AFXOLESV_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< Cannot change standard MFC resources! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Server Resources
-
-// OLE strings
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_ASK_TO_UPDATE,              "%1 vor dem Fortfahren aktualisieren?"
-	AFX_IDP_FAILED_TO_UPDATE,           "Client konnte nicht aktualisiert werden."
-
-	AFX_IDP_FAILED_TO_REGISTER,         "Registrierung nicht möglich. ActiveX-Features möglicherweise defekt."
-	AFX_IDP_FAILED_TO_AUTO_REGISTER,    "Fehler bei der Aktualisierung der Systemregistrierung.\nVersuchen Sie REGEDIT zu benutzen."
-END
-
-STRINGTABLE PRELOAD
-BEGIN
-	AFX_IDS_APP_TITLE_EMBEDDING,        "%1 in %2"
-	AFX_IDS_OBJ_TITLE_INPLACE,          "%1 - %2"
-	AFX_IDS_EXIT_MENU,                  "&Beenden und zu %1 zurückkehren"
-	AFX_IDS_UPDATE_MENU,                "&Aktualisiere %1"
-	AFX_IDS_SAVEFILECOPY,               "Kopie speichern unter"
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXOLESV_RC__

+ 0 - 90
libs/mfc/include/Deu/afxprint.rc

@@ -1,90 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXPRINT_RC__
-#define __AFXPRINT_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< Cannot change standard MFC resources! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// Printing Resources
-
-AFX_IDC_MAGNIFY         CURSOR  DISCARDABLE     "res\\magnify.cur"
-
-AFX_IDD_PRINTDLG DIALOG DISCARDABLE  6, 18, 133, 95
-STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | 0x04
-FONT 8, "MS Shell Dlg"
-BEGIN
-	CTEXT           "Drucke",IDC_STATIC,0,9,133,8
-	CTEXT           "",AFX_IDC_PRINT_DOCNAME,0,19,133,8
-	CTEXT           "auf",IDC_STATIC,0,29,133,8
-	CTEXT           "",AFX_IDC_PRINT_PRINTERNAME,0,39,133,8
-	CTEXT           "",AFX_IDC_PRINT_PORTNAME,0,49,133,8
-	CTEXT           "",AFX_IDC_PRINT_PAGENUM,0,59,133,8
-	PUSHBUTTON      "Abbrechen",IDCANCEL,46,74,40,14
-END
-
-// Preview Toolbar Dialog
-AFX_IDD_PREVIEW_TOOLBAR DIALOG PRELOAD DISCARDABLE  0, 0, 330, 16
-STYLE WS_CHILD | 0x04
-FONT 8, "MS Shell Dlg"
-BEGIN
-	PUSHBUTTON      "&Drucken...",AFX_ID_PREVIEW_PRINT,2,2,44,12
-	PUSHBUTTON      "&Nächste",AFX_ID_PREVIEW_NEXT,48,2,44,12
-	PUSHBUTTON      "&Vorherige",AFX_ID_PREVIEW_PREV,94,2,44,12
-	PUSHBUTTON      "",AFX_ID_PREVIEW_NUMPAGE,140,2,44,12
-	PUSHBUTTON      "Ver&größern",AFX_ID_PREVIEW_ZOOMIN,186,2,44,12
-	PUSHBUTTON      "Ver&kleinern",AFX_ID_PREVIEW_ZOOMOUT,232,2,44,12
-	PUSHBUTTON      "&Schließen",AFX_ID_PREVIEW_CLOSE,278,2,44,12
-END
-
-// Printing strings
-STRINGTABLE DISCARDABLE
-BEGIN
-	// print progress dialog strings
-	AFX_IDS_PRINTONPORT,            "auf %1"         // for print output
-	AFX_IDS_ONEPAGE,                "&Eine Seite"     // for preview button
-	AFX_IDS_TWOPAGE,                "&Zwei Seiten"     // for preview button
-	AFX_IDS_PRINTPAGENUM,           "Seite %u"       // for print output
-	AFX_IDS_PREVIEWPAGEDESC,        "Seite %u\nSeiten %u-%u\n"
-
-	// print to file dialog strings
-	AFX_IDS_PRINTDEFAULTEXT,        "prn"           // default extension
-	AFX_IDS_PRINTDEFAULT,           "Ausgabe.prn"    // default file
-	AFX_IDS_PRINTFILTER,
-		"Drucker-Dateien (*.prn)|*.prn|Alle Dateien (*.*)|*.*||"
-	AFX_IDS_PRINTCAPTION,           "In Datei drucken" // caption for browse dlg
-	AFX_IDS_PRINTTOFILE,            "in %1"         // to file
-END
-
-// Print Preview Accelerator Table
-AFX_IDR_PREVIEW_ACCEL ACCELERATORS LOADONCALL MOVEABLE
-BEGIN
-	VK_NEXT,    AFX_ID_PREVIEW_NEXT,    VIRTKEY, NOINVERT
-	VK_PRIOR,   AFX_ID_PREVIEW_PREV,    VIRTKEY, NOINVERT
-	VK_ESCAPE,  AFX_ID_PREVIEW_CLOSE,   VIRTKEY, NOINVERT
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXPRINT_RC__

+ 0 - 202
libs/mfc/include/Deu/afxres.rc

@@ -1,202 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXRES_RC__
-#define __AFXRES_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< Cannot change standard MFC resources! >\0"
-END
-#endif //APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// Default resource description for MFC applications
-/////////////////////////////////////////////////////////////////////////////
-
-/////////////////////////////////////////////////////////////////////////////
-// Strings
-
-STRINGTABLE DISCARDABLE
-BEGIN
-#ifndef _AFX_NO_APPMENU_RESOURCES
-	AFX_IDS_OPENFILE,               "Öffnen"
-	AFX_IDS_SAVEFILE,               "Speichern unter"
-	AFX_IDS_ALLFILTER,              "Alle Dateien (*.*)"
-	AFX_IDS_UNTITLED,               "Unbenannt"
-	AFX_IDS_HIDE,                   "&Verbergen"
-#endif // !_AFX_NO_APPMENUSTRING_RESOURCES
-
-	AFX_IDS_MEMORY_EXCEPTION,       "Nicht genügend Speicher."
-	AFX_IDS_NOT_SUPPORTED_EXCEPTION,"Es wurde versucht, eine nicht unterstützte Operation auszuführen."
-	AFX_IDS_RESOURCE_EXCEPTION,     "Eine benötigte Ressource ist nicht verfügbar."
-	AFX_IDS_USER_EXCEPTION,         "Ein unerwarteter Fehler ist aufgetreten."
-
-	// General error prompts
-#ifndef _AFX_NO_FILECMD_RESOURCES
-	AFX_IDP_INVALID_FILENAME,       "Ungültiger Dateiname."
-	AFX_IDP_FAILED_TO_OPEN_DOC,     "Fehler beim Öffnen des Dokuments."
-	AFX_IDP_FAILED_TO_SAVE_DOC,     "Fehler beim Speichern des Dokuments."
-	AFX_IDP_ASK_TO_SAVE,            "Änderungen in %1 speichern?"
-	AFX_IDP_FAILED_TO_CREATE_DOC,   "Fehler beim Erzeugen eines leeren Dokuments."
-	AFX_IDP_FILE_TOO_LARGE,         "Die Datei ist zu groß zum Öffnen."
-	AFX_IDP_FAILED_TO_START_PRINT,  "Der Druckauftrag konnte nicht gestartet werden."
-#endif // !_AFX_NO_FILECMD_RESOURCES
-	AFX_IDP_FAILED_TO_LAUNCH_HELP,  "Die Hilfe konnte nicht aufgerufen werden."
-	AFX_IDP_INTERNAL_FAILURE,       "Interner Anwendungsfehler."
-	AFX_IDP_COMMAND_FAILURE,        "Befehl fehlgeschlagen."
-	AFX_IDP_FAILED_MEMORY_ALLOC     "Nicht genügend Speicher vorhanden, um Operation auszuführen."
-	AFX_IDP_GET_NOT_SUPPORTED,      "Lesen ist wegen der Eigenschaft Nur-Schreiben nicht möglich."
-	AFX_IDP_SET_NOT_SUPPORTED,      "Schreiben ist wegen der Eigenschaft Nur-Lesen nicht möglich."
-	AFX_IDP_UNREG_DONE,               "Einträge in der Systemregistrierung wurden entfernt, und die INI-Datai (falls vorhanden) wurde gelöscht."
-	AFX_IDP_UNREG_FAILURE,            "Es wurde nicht jeder Eintrag in der Systemregistrierung (oder die ganze INI-Datei) entfernt."
-	AFX_IDP_DLL_LOAD_FAILED,        "Dieses Programm benötigt die Datei %s, die auf diesem System nicht gefunden wurde."
-	AFX_IDP_DLL_BAD_VERSION,        "Programm verbunden mit Export-%s (fehlt) in Datei %s. Auf diesem Computer ist evtl. eine nichtkompatible Version von %s installiert."
-
-	// CFile/CArchive error strings for user failure
-#ifndef _AFX_NO_CFILE_RESOURCES
-	AFX_IDP_FAILED_INVALID_FORMAT   "Unerwartetes Dateiformat."
-	AFX_IDP_FAILED_INVALID_PATH     "%1\nDiese Datei konnte nicht gefunden werden.\nÜberprüfen Sie, ob der korrekte Pfad und Dateiname angegeben wurde."
-	AFX_IDP_FAILED_DISK_FULL        "Das Ziellaufwerk ist voll."
-	AFX_IDP_FAILED_ACCESS_READ      "Lesen von %1 ist nicht möglich, da von anderem Anwender geöffnet."
-	AFX_IDP_FAILED_ACCESS_WRITE     "Schreiben auf %1 ist nicht möglich, da schreibgeschützt oder von anderem Anwender geöffnet."
-	AFX_IDP_FAILED_IO_ERROR_READ    "Beim Lesen von %1 ist ein unerwarteter Fehler aufgetreten."
-	AFX_IDP_FAILED_IO_ERROR_WRITE   "Beim Schreiben von %1 ist ein unerwarteter Fehler aufgetreten."
-#endif // !_AFX_NO_CFILE_RESOURCES
-
-	// Parsing error prompts
-	AFX_IDP_PARSE_INT,              "Geben Sie bitte eine ganze Zahl ein."
-	AFX_IDP_PARSE_REAL,             "Geben Sie bitte eine Zahl ein."
-	AFX_IDP_PARSE_INT_RANGE,        "Geben Sie bitte eine ganze Zahl zwischen %1 und %2 ein."
-	AFX_IDP_PARSE_REAL_RANGE,       "Geben Sie bitte eine Zahl zwischen %1 und %2 ein."
-	AFX_IDP_PARSE_STRING_SIZE,      "Geben Sie bitte nicht mehr als %1 Zeichen ein."
-	AFX_IDP_PARSE_RADIO_BUTTON,     "Wählen Sie bitte eine Schaltfläche."
-	AFX_IDP_PARSE_BYTE,             "Geben Sie bitte eine ganze Zahl zwischen 0 und 255 ein."
-	AFX_IDP_PARSE_UINT,             "Geben Sie bitte eine positive ganze Zahl ein."
-	AFX_IDP_PARSE_DATETIME,         "Geben Sie bitte ein Datum und/oder eine Zeit ein."
-	AFX_IDP_PARSE_CURRENCY,         "Geben Sie bitte eine Währung ein."
-
-#ifndef _AFX_NO_OLE_RESOURCES
-	// OLE strings required for both servers and containers
-	AFX_IDS_PASTELINKEDTYPE         "Verknüpft: %s"
-	AFX_IDS_UNKNOWNTYPE             "Unbekannter Typ"
-	AFX_IDP_FAILED_TO_NOTIFY        "%1\nRegistrierung des Dokuments nicht möglich.\nDas Dokument ist vielleicht schon geöffnet."
-	AFX_IDS_NOT_DOCOBJECT           "Die Datei wird nicht von einem Dokumentobjekt-Server unterstützt."
-#endif //!_AFX_NO_OLE_RESOURCES
-
-	AFX_IDP_NO_ERROR_AVAILABLE      "Keine Fehlermeldung verfügbar."
-
-#ifndef _AFX_NO_CFILE_RESOURCES
-	AFX_IDP_FILE_NONE                "Kein Fehler aufgetreten."
-	AFX_IDP_FILE_GENERIC             "Ein unbekannter Fehler ist beim Zugriff auf %1 aufgetreten."
-	AFX_IDP_FILE_NOT_FOUND           "%1 wurde nicht gefunden."
-	AFX_IDP_FILE_BAD_PATH            "%1 enthält eine ungültige Pfadangabe."
-	AFX_IDP_FILE_TOO_MANY_OPEN       "%1 konnte nicht geöffnet werden, da zu viele Dateien geöffnet sind."
-	AFX_IDP_FILE_ACCESS_DENIED       "Zugriff auf %1 wurde verwehrt."
-	AFX_IDP_FILE_INVALID_FILE        "Eine ungültige Dateikennung war mit %1 verbunden."
-	AFX_IDP_FILE_REMOVE_CURRENT      "Das Verzeichnis %1 konnte nicht entfernt werden, da es das aktuelle Verzeichnis ist. "
-	AFX_IDP_FILE_DIR_FULL            "%1 konnte nicht erstellt werden, da das Verzeichnis voll ist."
-	AFX_IDP_FILE_BAD_SEEK            "Positionierungsfehler auf %1."
-	AFX_IDP_FILE_HARD_IO             "Ein Hardware-E/A-Fehler wurde während des Zugriffs auf %1 gemeldet."
-	AFX_IDP_FILE_SHARING             "Eine Zugriffsverletzung ist während des Zugriffs auf %1 aufgetreten."
-	AFX_IDP_FILE_LOCKING             "Eine Sperrverletzung ist während des Zugriffs auf %1 aufgetreten."
-	AFX_IDP_FILE_DISKFULL            "Beim Zugriff auf %1 wurde ein voller Datenträger gemeldet."
-	AFX_IDP_FILE_EOF                 "Es wurde versucht, auf eine Stelle hinter dem Ende von %1 zuzugreifen."
-	AFX_IDS_UNNAMED_FILE             "eine unbenannte Datei"
-#endif // !_AFX_NO_CFILE_RESOURCES
-
-	AFX_IDP_ARCH_NONE               "Kein Fehler aufgetreten."
-	AFX_IDP_ARCH_GENERIC                "Ein unbekannter Fehler ist beim Zugriff auf %1 aufgetreten."
-	AFX_IDP_ARCH_READONLY           "%1 ist nur lesbar. Es wurde versucht, darauf zu schreiben."
-	AFX_IDP_ARCH_ENDOFFILE          "Es wurde versucht, auf eine Stelle hinter dem Ende von %1 zuzugreifen."
-	AFX_IDP_ARCH_WRITEONLY          "%1 ist lesegeschützt. Es wurde versucht, davon zu lesen."
-	AFX_IDP_ARCH_BADINDEX           "%1 besitzt ein falsches Format."
-	AFX_IDP_ARCH_BADCLASS           "%1 enthielt ein unerwartetes Objekt."
-	AFX_IDP_ARCH_BADSCHEMA          "%1 enthält ein falsches Schema."
-
-#ifndef _AFX_NO_MAPI_RESOURCES
-	// MAPI strings / error messages
-	AFX_IDP_FAILED_MAPI_LOAD        "Systemunterstützung für elektronische Post kann nicht geladen werden."
-	AFX_IDP_INVALID_MAPI_DLL        "Die System-DLL für elektronische Post ist ungültig."
-	AFX_IDP_FAILED_MAPI_SEND        "\042Nachricht senden\042 scheiterte beim Senden der Nachricht."
-#endif //!_AFX_NO_MAPI_RESOURCES
-
-#ifndef _AFX_NO_OCC_RESOURCES
-	AFX_IDS_OCC_SCALEUNITS_PIXELS   "Pixel"
-#endif //!_AFX_NO_OCC_RESOURCES
-END
-
-/////////////////////////////////////////////////////////////////////////////
-// Cursors
-
-AFX_IDC_CONTEXTHELP     CURSOR  DISCARDABLE     "res\\help.cur"
-
-#ifndef _AFX_NO_SPLITTER_RESOURCES
-AFX_IDC_SMALLARROWS     CURSOR  DISCARDABLE     "res\\sarrows.cur"
-AFX_IDC_HSPLITBAR       CURSOR  DISCARDABLE     "res\\splith.cur"
-AFX_IDC_VSPLITBAR       CURSOR  DISCARDABLE     "res\\splitv.cur"
-AFX_IDC_NODROPCRSR      CURSOR  DISCARDABLE     "res\\nodrop.cur"
-#endif //!_AFX_NO_SPLITTER_RESOURCES
-
-#ifndef _AFX_NO_TRACKER_RESOURCES
-AFX_IDC_TRACKNWSE       CURSOR  DISCARDABLE     "res\\trcknwse.cur"
-AFX_IDC_TRACKNESW       CURSOR  DISCARDABLE     "res\\trcknesw.cur"
-AFX_IDC_TRACKNS         CURSOR  DISCARDABLE     "res\\trckns.cur"
-AFX_IDC_TRACKWE         CURSOR  DISCARDABLE     "res\\trckwe.cur"
-AFX_IDC_TRACK4WAY       CURSOR  DISCARDABLE     "res\\trck4way.cur"
-AFX_IDC_MOVE4WAY        CURSOR  DISCARDABLE     "res\\move4way.cur"
-#endif //!_AFX_NO_TRACKER_RESOURCES
-
-#ifndef _AFX_NO_CTL3D_RESOURCES
-26567 BITMAP "res\\3dcheck.bmp" // Note: 26567 comes from CTL3D.H
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// Standard Dialogs
-
-#ifndef _AFX_NO_NEWTYPEDLG_RESOURCES
-AFX_IDD_NEWTYPEDLG DIALOG DISCARDABLE  9, 26, 183, 70
-STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | 0x04
-CAPTION "Neu"
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "&Neu",IDC_STATIC,6,5,123,8,NOT WS_GROUP
-	LISTBOX         AFX_IDC_LISTBOX,6,15,125,49,WS_VSCROLL | WS_TABSTOP
-	DEFPUSHBUTTON   "OK",IDOK,137,6,40,14
-	PUSHBUTTON      "Abbrechen",IDCANCEL,137,23,40,14
-	PUSHBUTTON      "&Hilfe",ID_HELP,137,43,40,14
-END
-#endif // !_AFX_NO_NEWTYPEDLG_RESOURCES
-
-/////////////////////////////////////////////////////////////////////////////
-// CMiniFrameWnd Bitmap
-
-AFX_IDB_MINIFRAME_MENU      BITMAP  DISCARDABLE     "res\\minifwnd.bmp"
-
-/////////////////////////////////////////////////////////////////////////////
-// CCheckListBox Bitmaps
-
-AFX_IDB_CHECKLISTBOX_NT     BITMAP  DISCARDABLE     "res\\ntcheck.bmp"
-AFX_IDB_CHECKLISTBOX_95     BITMAP  DISCARDABLE     "res\\95check.bmp"
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //!__AFXRES_RC__
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 284
libs/mfc/include/Esp/afxctl.rc

@@ -1,284 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXCTL_RC__
-#define __AFXCTL_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< ¡No se pueden cambiar recursos MFC estándar! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Control Resources
-
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-/////////////////////////////////////////////////////////////////////////////
-//
-// Bitmap
-//
-
-AFX_IDB_TRUETYPE        BITMAP  DISCARDABLE     "RES\\TRUETYPE.BMP"
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Dialog
-//
-
-AFX_IDD_PROPPAGE_FONT DIALOG DISCARDABLE  13, 54, 250, 110
-STYLE WS_CHILD | 0x4
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "&Propiedad:",IDC_STATIC,3,5,61,8
-	COMBOBOX        AFX_IDC_FONTPROP,65,3,100,71,CBS_DROPDOWNLIST | CBS_SORT |
-					WS_VSCROLL | WS_TABSTOP
-	LTEXT           "&Fuente:",IDC_STATIC,3,19,91,8
-	COMBOBOX        AFX_IDC_FONTNAMES,3,29,91,77,CBS_SIMPLE |
-					CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT |
-					CBS_HASSTRINGS | CBS_DISABLENOSCROLL | WS_VSCROLL |
-					WS_TABSTOP
-	LTEXT           "Estilo de &fuente:",IDC_STATIC,102,19,53,8
-	COMBOBOX        AFX_IDC_FONTSTYLES,104,29,53,53,CBS_DROPDOWNLIST |
-					CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
-	LTEXT           "&Tamaño:",IDC_STATIC,167,19,40,8
-	COMBOBOX        AFX_IDC_FONTSIZES,167,29,36,53,CBS_DROPDOWN | CBS_SORT |
-					CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
-	GROUPBOX        "Efectos",IDC_STATIC,104,44,142,24,WS_GROUP
-	CONTROL         "Ta&chado",AFX_IDC_STRIKEOUT,"Button",BS_AUTOCHECKBOX |
-					WS_TABSTOP,109,55,65,10
-	CONTROL         "S&ubrayado",AFX_IDC_UNDERLINE,"Button",BS_AUTOCHECKBOX |
-					WS_TABSTOP,175,55,65,10
-	GROUPBOX        "Ejemplo",IDC_STATIC,104,71,142,36,WS_GROUP
-	CTEXT           "AaBbYyZz",AFX_IDC_SAMPLEBOX,110,80,130,22,SS_NOPREFIX |
-					NOT WS_VISIBLE
-END
-
-AFX_IDD_PROPPAGE_COLOR DIALOG DISCARDABLE  0, 0, 250, 62
-STYLE WS_CHILD | 0x4
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "&Propiedad:",IDC_STATIC,3,3,100,8
-	COMBOBOX        AFX_IDC_COLORPROP,3,13,100,54,CBS_DROPDOWNLIST |
-					CBS_SORT | WS_VSCROLL | WS_TABSTOP
-	LTEXT           "&Color del sistema:",IDC_STATIC,3,29,100,8
-	COMBOBOX        AFX_IDC_SYSTEMCOLORS,3,39,100,54,CBS_DROPDOWNLIST |
-					CBS_SORT | WS_VSCROLL | WS_TABSTOP
-	CONTROL         "",AFX_IDC_COLOR_BLACK,"Button",BS_OWNERDRAW | WS_GROUP |
-					WS_TABSTOP,118,4,15,11
-	CONTROL         "",AFX_IDC_COLOR_BLUE,"Button",BS_OWNERDRAW,138,4,15,11
-	CONTROL         "",AFX_IDC_COLOR_CYAN,"Button",BS_OWNERDRAW,158,4,15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKBLUE,"Button",BS_OWNERDRAW,178,4,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_DARKCYAN,"Button",BS_OWNERDRAW,118,18,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKGREEN,"Button",BS_OWNERDRAW,138,18,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKMAGENTA,"Button",BS_OWNERDRAW,158,
-					18,15,11
-	CONTROL         "",AFX_IDC_COLOR_GRAY,"Button",BS_OWNERDRAW,178,18,15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKRED,"Button",BS_OWNERDRAW,118,32,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_GREEN,"Button",BS_OWNERDRAW,138,32,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_LIGHTBROWN,"Button",BS_OWNERDRAW,158,32,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_LIGHTGRAY,"Button",BS_OWNERDRAW,178,32,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_MAGENTA,"Button",BS_OWNERDRAW,118,46,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_RED,"Button",BS_OWNERDRAW,138,46,15,11
-	CONTROL         "",AFX_IDC_COLOR_WHITE,"Button",BS_OWNERDRAW,158,46,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_YELLOW,"Button",BS_OWNERDRAW,178,46,15,
-					11
-END
-
-AFX_IDD_PROPPAGE_PICTURE DIALOG DISCARDABLE  0, 0, 250, 62
-STYLE WS_CHILD | 0x4
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "&Propiedad:",IDC_STATIC,3,3,100,8
-	COMBOBOX        AFX_IDC_PROPNAME,3,13,100,30,CBS_DROPDOWNLIST | CBS_SORT |
-					WS_VSCROLL | WS_TABSTOP
-	PUSHBUTTON      "&Examinar...",AFX_IDC_BROWSE,3,35,54,14
-	PUSHBUTTON      "&Borrar",AFX_IDC_CLEAR,61,35,54,14
-	RTEXT           "Presentación preliminar:",IDC_STATIC,107,3,42,16
-	CONTROL         "",AFX_IDC_PICTURE,"Static",SS_BLACKFRAME,151,4,93,54
-END
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Dialog Info
-//
-
-AFX_IDD_PROPPAGE_FONT DLGINIT
-BEGIN
-	1002, 0x403, 12, 0
-0x6f42, 0x646c, 0x4920, 0x6174, 0x696c, 0x0063,
-	0
-END
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// String Table
-//
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_PROPPAGE_UNKNOWN "(Desconocido)"
-	AFX_IDS_COLOR_DESKTOP   "Escritorio"
-	AFX_IDS_COLOR_APPWORKSPACE "Area de trabajo de la aplicación"
-	AFX_IDS_COLOR_WNDBACKGND "Fondo de la ventana"
-	AFX_IDS_COLOR_WNDTEXT   "Texto de la ventana"
-	AFX_IDS_COLOR_MENUBAR   "Barra del menú"
-	AFX_IDS_COLOR_MENUTEXT  "Texto del menú"
-	AFX_IDS_COLOR_ACTIVEBAR "Barra de títulos activa"
-	AFX_IDS_COLOR_INACTIVEBAR "Barra de títulos inactiva"
-	AFX_IDS_COLOR_ACTIVETEXT "Texto de barra de títulos activa"
-	AFX_IDS_COLOR_INACTIVETEXT "Texto de barra de títulos inactiva"
-	AFX_IDS_COLOR_ACTIVEBORDER "Borde activo"
-	AFX_IDS_COLOR_INACTIVEBORDER "Borde inactivo"
-END
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-
-STRINGTABLE DISCARDABLE
-BEGIN
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_COLOR_WNDFRAME  "Marco de la ventana"
-	AFX_IDS_COLOR_SCROLLBARS "Barras de desplazamiento"
-	AFX_IDS_COLOR_BTNFACE   "Aspecto del botón"
-	AFX_IDS_COLOR_BTNSHADOW "Sombra del botón"
-	AFX_IDS_COLOR_BTNTEXT   "Texto del botón"
-	AFX_IDS_COLOR_BTNHIGHLIGHT "Resalte de botón"
-	AFX_IDS_COLOR_DISABLEDTEXT "Texto deshabilitado"
-	AFX_IDS_COLOR_HIGHLIGHT "Resaltar"
-	AFX_IDS_COLOR_HIGHLIGHTTEXT "Texto resaltado"
-	AFX_IDS_REGULAR         "Normal"
-	AFX_IDS_BOLD            "Negrita"
-	AFX_IDS_ITALIC          "Cursiva"
-	AFX_IDS_BOLDITALIC      "Negrita cursiva"
-	AFX_IDS_SAMPLETEXT      "AaBbYyZz"
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_DISPLAYSTRING_FONT "(Fuente)"
-	AFX_IDS_DISPLAYSTRING_COLOR "(Color)"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_DISPLAYSTRING_PICTURE "(Imagen - %s)"
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_PICTUREFILTER   "Todos los tipos de imagen|*.bmp;*.cur;*.dib;*.emf;*.ico;*.wmf|Mapas de bits (*.bmp;*.dib)|*.bmp;*.dib|Iconos/cursores (*.ico;*.cur)|*.ico;*.cur|Metaarchivos (*.wmf;*.emf)|*.wmf;*.emf|Todos los archivos (*.*)|*.*||"
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_PICTYPE_UNKNOWN "Desconocido"
-	AFX_IDS_PICTYPE_NONE    "Ninguno"
-	AFX_IDS_PICTYPE_BITMAP  "Mapa de bits"
-	AFX_IDS_PICTYPE_METAFILE "Metaarchivo"
-	AFX_IDS_PICTYPE_ICON    "Icono"
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_COLOR_PPG       "Página de propiedades de colores"
-	AFX_IDS_COLOR_PPG_CAPTION "Colores"
-	AFX_IDS_FONT_PPG        "Página de propiedades de fuentes"
-	AFX_IDS_FONT_PPG_CAPTION "Fuentes"
-	AFX_IDS_PICTURE_PPG     "Página de propiedades de imágenes"
-	AFX_IDS_PICTURE_PPG_CAPTION "Imágenes"
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_BORDERSTYLE_0   "0 - Ninguno"
-	AFX_IDS_BORDERSTYLE_1   "1 - Simple fijo "
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_VERB_EDIT       "&Editar"
-	AFX_IDS_VERB_PROPERTIES "&Propiedades..."
-END
-
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_PICTURECANTOPEN "Imposible abrir el archivo de imágenes %1. Puede que el archivo no exista o no se pueda leer."
-	AFX_IDP_PICTURECANTLOAD "Imposible cargar el archivo de imágenes %1. Puede que el archivo tenga un formato no válido."
-	AFX_IDP_PICTURETOOLARGE "Imposible cargar el archivo de imágenes %1. El archivo es demasiado grande para caber en la memoria."
-	AFX_IDP_PICTUREREADFAILED
-							"Imposible cargar el archivo de imágenes %1. Error de lectura desconocido."
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_PICTUREBROWSETITLE "Examinar imágenes"
-END
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-
-#ifndef _AFX_NO_CTLERROR_RESOURCES
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_E_ILLEGALFUNCTIONCALL "Llamada no válida a función"
-	AFX_IDP_E_OVERFLOW      "Desbordamiento"
-	AFX_IDP_E_OUTOFMEMORY   "No hay suficiente memoria"
-	AFX_IDP_E_DIVISIONBYZERO "División por cero"
-	AFX_IDP_E_OUTOFSTRINGSPACE "No hay suficiente espacio para cadenas"
-	AFX_IDP_E_OUTOFSTACKSPACE "No hay suficiente espacio de pila"
-	AFX_IDP_E_BADFILENAMEORNUMBER "Nombre o número de archivo incorrecto"
-	AFX_IDP_E_FILENOTFOUND  "No se ha encontrado el archivo"
-	AFX_IDP_E_BADFILEMODE   "Modo de archivo incorrecto"
-	AFX_IDP_E_FILEALREADYOPEN "El archivo ya está abierto"
-	AFX_IDP_E_DEVICEIOERROR "Error de E/S de dispositivo"
-	AFX_IDP_E_FILEALREADYEXISTS "El archivo ya existe"
-	AFX_IDP_E_BADRECORDLENGTH "La longitud de registro es incorrecta"
-	AFX_IDP_E_DISKFULL      "El disco está lleno"
-	AFX_IDP_E_BADRECORDNUMBER "El número de registro es incorrecto"
-	AFX_IDP_E_BADFILENAME   "Nombre de archivo incorrecto"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_E_TOOMANYFILES  "Demasiados archivos"
-	AFX_IDP_E_DEVICEUNAVAILABLE "El dispositivo no está disponible"
-	AFX_IDP_E_PERMISSIONDENIED "Permiso denegado"
-	AFX_IDP_E_DISKNOTREADY  "El disco no está listo"
-	AFX_IDP_E_PATHFILEACCESSERROR "Error de acceso a la ruta o el archivo"
-	AFX_IDP_E_PATHNOTFOUND  "No se ha encontrado la ruta de acceso"
-	AFX_IDP_E_INVALIDPATTERNSTRING "La cadena modelo no es válida"
-	AFX_IDP_E_INVALIDUSEOFNULL "Uso no válido de Null"
-	AFX_IDP_E_INVALIDFILEFORMAT "Formato de archivo no válido"
-	AFX_IDP_E_INVALIDPROPERTYVALUE "El valor de la propiedad no es válido"
-	AFX_IDP_E_INVALIDPROPERTYARRAYINDEX "Índice de matriz no válido"
-	AFX_IDP_E_SETNOTSUPPORTEDATRUNTIME "No se puede establecer la propiedad en tiempo de ejecución"
-	AFX_IDP_E_SETNOTSUPPORTED "La propiedad es de sólo lectura"
-	AFX_IDP_E_NEEDPROPERTYARRAYINDEX
-							"Se debe especificar el índice de matriz cuando se usa una matriz de propiedades"
-	AFX_IDP_E_SETNOTPERMITTED "No se puede establecer la propiedad en este control"
-	AFX_IDP_E_GETNOTSUPPORTEDATRUNTIME "No se puede leer la propiedad en tiempo de ejecución"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_E_GETNOTSUPPORTED "La propiedad es de sólo escritura"
-	AFX_IDP_E_PROPERTYNOTFOUND "No se ha encontrado la propiedad"
-	AFX_IDP_E_INVALIDCLIPBOARDFORMAT "El formato del portapapeles no es válido"
-	AFX_IDP_E_INVALIDPICTURE "La imagen no es válida"
-	AFX_IDP_E_PRINTERERROR  "Error de la impresora"
-	AFX_IDP_E_CANTSAVEFILETOTEMP
-							"No se puede crear el archivo temporal necesario para guardar"
-	AFX_IDP_E_SEARCHTEXTNOTFOUND "No se encontró el texto de búsqueda"
-	AFX_IDP_E_REPLACEMENTSTOOLONG "El texto de reemplazo es demasiado largo"
-END
-#endif //!_AFX_NO_CTLERROR_RESOURCES
-
-#endif //!_AFXDLL
-#endif //__AFXOLECL_RC__

+ 0 - 105
libs/mfc/include/Esp/afxdb.rc

@@ -1,105 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXDB_RC__
-#define __AFXDB_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< No se pueden cambiar recursos MFC estándar. >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// Database Resources
-
-// Database strings
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_SQL_CONNECT_FAIL
-		"Imposible conectarse al origen de datos"
-	AFX_IDP_SQL_RECORDSET_FORWARD_ONLY
-		"Recordset sólo admite movimiento hacia adelante."
-	AFX_IDP_SQL_EMPTY_COLUMN_LIST
-		"Imposible abrir tabla, no hay columnas en la posición especificada."
-	AFX_IDP_SQL_FIELD_SCHEMA_MISMATCH
-		"Se obtuvieron tipos de datos inesperados de la consulta."
-	AFX_IDP_SQL_ILLEGAL_MODE "Imposible Actualizar o Eliminar."
-	AFX_IDP_SQL_MULTIPLE_ROWS_AFFECTED "Filas actualizadas."
-	AFX_IDP_SQL_NO_CURRENT_RECORD "La operación ha fallado, no hay registro actual."
-	AFX_IDP_SQL_NO_ROWS_AFFECTED
-		"La operación de actualización o de eliminación no afectó a ninguna fila."
-	AFX_IDP_SQL_RECORDSET_READONLY "Recordset es de sólo lectura"
-	AFX_IDP_SQL_SQL_NO_TOTAL
-		"El controlador ODBC no admite el modelo de datos MFC LongBinary."
-	AFX_IDP_SQL_ODBC_LOAD_FAILED
-		"Imposible cargar ODBC32.DLL."
-	AFX_IDP_SQL_DYNASET_NOT_SUPPORTED
-		"El controlador ODBC no admite dynasets."
-	AFX_IDP_SQL_SNAPSHOT_NOT_SUPPORTED
-		"Se requieren cursores estáticos ODBC para compatibilidad con snapshot."
-	AFX_IDP_SQL_API_CONFORMANCE
-		"Controlador ODBC incompatible con clases de bases de datos MFC (se requiere que API_CONFORMANCE >=SQL_OAC_LEVEL1)."
-	AFX_IDP_SQL_SQL_CONFORMANCE
-		"Controlador ODBC incompatible con clases de bases de datos MFC (se requiere que API_CONFORMANCE >=SQL_OAC_LEVEL1)."
-	AFX_IDP_SQL_NO_DATA_FOUND
-		"Se intentó desplazarse más allá del fin o antes del inicio de los datos."
-	AFX_IDP_SQL_ROW_UPDATE_NOT_SUPPORTED
-		"El controlador ODBC no admite dynasets."
-	AFX_IDP_SQL_ODBC_V2_REQUIRED
-		"Se requiere un controlador ODBC que cumpla con el Nivel 2."
-	AFX_IDP_SQL_NO_POSITIONED_UPDATES
-		"El controlador ODBC no admite actualizaciones posicionadas."
-	AFX_IDP_SQL_LOCK_MODE_NOT_SUPPORTED
-		"No se admite el modo de bloqueo solicitado."
-	AFX_IDP_SQL_DATA_TRUNCATED
-		"Datos truncados."
-	AFX_IDP_SQL_ROW_FETCH
-		"Error al recuperar registro."
-	AFX_IDP_SQL_INCORRECT_ODBC
-		"No se encontró un punto de entrada ODBC requerido. Compruebe que ODBC esté instalado correctamente."
-	AFX_IDP_SQL_UPDATE_DELETE_FAILED
-		"Falló actualización o eliminación."
-	AFX_IDP_SQL_DYNAMIC_CURSOR_NOT_SUPPORTED
-		"El controlador ODBC no admite cursores dinámicos."
-	AFX_IDP_SQL_FIELD_NOT_FOUND
-		"Nombre de campo o de índice no válido."
-	AFX_IDP_SQL_BOOKMARKS_NOT_SUPPORTED
-		"El controlador ODBC no admite marcadores."
-	AFX_IDP_SQL_BOOKMARKS_NOT_ENABLED
-		"Marcadores no habilitados en recordset."
-	AFX_IDP_DAO_ENGINE_INITIALIZATION
-		"Imposible inicializar motor de base de datos DAO/Jet."
-	AFX_IDP_DAO_DFX_BIND
-		"Parámetro de valor DFX incorrecto."
-	AFX_IDP_DAO_OBJECT_NOT_OPEN
-		"DAO TableDef o QueryDef no está abierto."
-	AFX_IDP_DAO_ROWTOOSHORT
-		"Falló GetRows. No hay suficiente memoria asignada a la fila."
-	AFX_IDP_DAO_BADBINDINFO
-		"Error de enlace de GetRows; es posible que algún tipo de datos no coincida."
-	AFX_IDP_DAO_COLUMNUNAVAILABLE
-		"Falló GetRows. La solicitud de columna no es miembro de este recordset." 
-
-	AFX_IDS_DELETED "<Eliminado>"
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXDB_RC__

+ 0 - 66
libs/mfc/include/Esp/afxolecl.rc

@@ -1,66 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXOLECL_RC__
-#define __AFXOLECL_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifndef _INC_DLGS
-	#include <dlgs.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< Imposible cambiar recursos MFC estándar. >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Client Resources
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE strings
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_STATIC_OBJECT           "No se puede activar un objeto ActiveX estático."
-	AFX_IDP_FAILED_TO_CONNECT       "Imposible conectar.\nVínculo puede estar roto."
-	AFX_IDP_SERVER_BUSY             "Imposible procesar el comando, servidor ocupado."
-	AFX_IDP_BAD_VERB                "Imposible efectuar operación del servidor."
-	AFX_IDP_FAILED_TO_LAUNCH        "Imposible ejecutar la aplicación del servidor."
-	AFX_IDS_UPDATING_ITEMS          "Actualizando objetos ActiveX"
-	AFX_IDP_FAILED_TO_CONVERT       "No se puede convertir el objeto ActiveX."
-	AFX_IDP_ASK_TO_DISCARD          "No se pueden guardar objetos ActiveX al salir de Windows.\n¿Descartar todos los cambios de %1?"
-	AFX_IDP_FAILED_TO_CREATE        "No se puede crear objeto. Compruebe que la aplicación está registrada en el sistema."
-
-	AFX_IDS_METAFILE_FORMAT         "Imagen (Metarchivo)\nuna imagen"
-	AFX_IDS_DIB_FORMAT              "Mapa de bits independiente de dispositivos\nun mapa de bits independiente de dispositivos"
-	AFX_IDS_BITMAP_FORMAT           "Mapa de bits\nun mapa de bits"
-	AFX_IDS_LINKSOURCE_FORMAT       "%s\n%s"
-	AFX_IDS_EMBED_FORMAT            "%s\n%s"
-	AFX_IDS_RTF_FORMAT              "Formato de texto enriquecido (RTF)\ntexto con formato de fuentes y párrafos"
-	AFX_IDS_TEXT_FORMAT             "Texto sin formato\ntexto sin ningún tipo de formato"
-
-	AFX_IDS_INVALID_CURRENCY        "Moneda no válida."
-	AFX_IDS_INVALID_DATETIME        "DateTime no válido."
-	AFX_IDS_INVALID_DATETIMESPAN    "DateTimeSpan no válido."
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXOLECL_RC__

+ 0 - 53
libs/mfc/include/Esp/afxolesv.rc

@@ -1,53 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXOLESV_RC__
-#define __AFXOLESV_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< No se pueden cambiar recursos MFC estándar. >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Server Resources
-
-// OLE strings
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_ASK_TO_UPDATE,              "¿Actualizar %1 antes de continuar?"
-	AFX_IDP_FAILED_TO_UPDATE,           "Imposible actualizar el cliente."
-
-	AFX_IDP_FAILED_TO_REGISTER,         "No se puede registrar. Puede que algunas funciones ActiveX no funcionen."
-	AFX_IDP_FAILED_TO_AUTO_REGISTER,    "Imposible actualizar el registro del sistema.\nIntente con REGEDIT."
-END
-
-STRINGTABLE PRELOAD
-BEGIN
-	AFX_IDS_APP_TITLE_EMBEDDING,        "%1 en %2"
-	AFX_IDS_OBJ_TITLE_INPLACE,          "%1 - %2"
-	AFX_IDS_EXIT_MENU,                  "&Salir y volvera %1"
-	AFX_IDS_UPDATE_MENU,                "&Actualizar %1"
-	AFX_IDS_SAVEFILECOPY,               "Guardar copia como"
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXOLESV_RC__

+ 0 - 90
libs/mfc/include/Esp/afxprint.rc

@@ -1,90 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXPRINT_RC__
-#define __AFXPRINT_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< No se pueden cambiar recursos MFC estándar >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// Printing Resources
-
-AFX_IDC_MAGNIFY         CURSOR  DISCARDABLE     "res\\magnify.cur"
-
-AFX_IDD_PRINTDLG DIALOG DISCARDABLE  6, 18, 133, 95
-STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | 0x04
-FONT 8, "MS Shell Dlg"
-BEGIN
-	CTEXT           "Imprimiendo",IDC_STATIC,0,9,133,8
-	CTEXT           "",AFX_IDC_PRINT_DOCNAME,0,19,133,8
-	CTEXT           "en la",IDC_STATIC,0,29,133,8
-	CTEXT           "",AFX_IDC_PRINT_PRINTERNAME,0,39,133,8
-	CTEXT           "",AFX_IDC_PRINT_PORTNAME,0,49,133,8
-	CTEXT           "",AFX_IDC_PRINT_PAGENUM,0,59,133,8
-	PUSHBUTTON      "Cancelar",IDCANCEL,46,74,40,14
-END
-
-// Preview Toolbar Dialog
-AFX_IDD_PREVIEW_TOOLBAR DIALOG PRELOAD DISCARDABLE  0, 0, 330, 16
-STYLE WS_CHILD | 0x04
-FONT 8, "MS Shell Dlg"
-BEGIN
-	PUSHBUTTON      "&Imprimir...",AFX_ID_PREVIEW_PRINT,2,2,44,12
-	PUSHBUTTON      "&Siguiente",AFX_ID_PREVIEW_NEXT,48,2,44,12
-	PUSHBUTTON      "&Anterior",AFX_ID_PREVIEW_PREV,94,2,44,12
-	PUSHBUTTON      "",AFX_ID_PREVIEW_NUMPAGE,140,2,44,12
-	PUSHBUTTON      "Ac&ercar",AFX_ID_PREVIEW_ZOOMIN,186,2,44,12
-	PUSHBUTTON      "A&lejar",AFX_ID_PREVIEW_ZOOMOUT,232,2,44,12
-	PUSHBUTTON      "&Cerrar",AFX_ID_PREVIEW_CLOSE,278,2,44,12
-END
-
-// Printing strings
-STRINGTABLE DISCARDABLE
-BEGIN
-	// print progress dialog strings
-	AFX_IDS_PRINTONPORT,            "en  %1"         // for print output
-	AFX_IDS_ONEPAGE,                "&Una página"     // for preview button
-	AFX_IDS_TWOPAGE,                "&Dos páginas"     // for preview button
-	AFX_IDS_PRINTPAGENUM,           "Página %u"       // for print output
-	AFX_IDS_PREVIEWPAGEDESC,        "Página %u\nPáginas %u-%u\n"
-
-	// print to file dialog strings
-	AFX_IDS_PRINTDEFAULTEXT,        "prn"           // default extension
-	AFX_IDS_PRINTDEFAULT,           "Output.prn"    // default file
-	AFX_IDS_PRINTFILTER,
-		"Archivos de impresora (*.prn)|*.prn|Todos los archivos (*.*)|*.*||"
-	AFX_IDS_PRINTCAPTION,           "Imprimir a archivo" // caption for browse dlg
-	AFX_IDS_PRINTTOFILE,            "a  %1"         // to file
-END
-
-// Print Preview Accelerator Table
-AFX_IDR_PREVIEW_ACCEL ACCELERATORS LOADONCALL MOVEABLE
-BEGIN
-	VK_NEXT,    AFX_ID_PREVIEW_NEXT,    VIRTKEY, NOINVERT
-	VK_PRIOR,   AFX_ID_PREVIEW_PREV,    VIRTKEY, NOINVERT
-	VK_ESCAPE,  AFX_ID_PREVIEW_CLOSE,   VIRTKEY, NOINVERT
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXPRINT_RC__

+ 0 - 202
libs/mfc/include/Esp/afxres.rc

@@ -1,202 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXRES_RC__
-#define __AFXRES_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< No se pueden cambiar recursos MFC estándar. >\0"
-END
-#endif //APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// Default resource description for MFC applications
-/////////////////////////////////////////////////////////////////////////////
-
-/////////////////////////////////////////////////////////////////////////////
-// Strings
-
-STRINGTABLE DISCARDABLE
-BEGIN
-#ifndef _AFX_NO_APPMENU_RESOURCES
-	AFX_IDS_OPENFILE,               "Abrir"
-	AFX_IDS_SAVEFILE,               "Guardar como"
-	AFX_IDS_ALLFILTER,              "Todos los archivos (*.*)"
-	AFX_IDS_UNTITLED,               "Sin título"
-	AFX_IDS_HIDE,                   "&Ocultar"
-#endif // !_AFX_NO_APPMENUSTRING_RESOURCES
-
-	AFX_IDS_MEMORY_EXCEPTION,       "No hay suficiente memoria."
-	AFX_IDS_NOT_SUPPORTED_EXCEPTION,"Se intentó una operación no permitida."
-	AFX_IDS_RESOURCE_EXCEPTION,     "Rcurso necesario no disponible."
-	AFX_IDS_USER_EXCEPTION,         "Se encontr¢ un error desconocido."
-
-	// General error prompts
-#ifndef _AFX_NO_FILECMD_RESOURCES
-	AFX_IDP_INVALID_FILENAME,       "Nombre de archivo no válido."
-	AFX_IDP_FAILED_TO_OPEN_DOC,     "Imposible abrir documento."
-	AFX_IDP_FAILED_TO_SAVE_DOC,     "Imposible guardar documento."
-	AFX_IDP_ASK_TO_SAVE,            "¿Guardar cambios a %1?"
-	AFX_IDP_FAILED_TO_CREATE_DOC,   "Imposible crear el documento vacío."
-	AFX_IDP_FILE_TOO_LARGE,         "Archivo demasiado grande."
-	AFX_IDP_FAILED_TO_START_PRINT,  "Imposible iniciar impresión."
-#endif // !_AFX_NO_FILECMD_RESOURCES
-	AFX_IDP_FAILED_TO_LAUNCH_HELP,  "Imposible ejecutar la ayuda."
-	AFX_IDP_INTERNAL_FAILURE,       "Error interno de la aplicación."
-	AFX_IDP_COMMAND_FAILURE,        "Falló el comando."
-	AFX_IDP_FAILED_MEMORY_ALLOC     "No hay suficiente memoria para efectuar la operación."
-	AFX_IDP_GET_NOT_SUPPORTED,      "Imposible leer una propiedad de sólo escritura."
-	AFX_IDP_SET_NOT_SUPPORTED,      "Imposible escribir en una propiedad de sólo lectura."
-	AFX_IDP_UNREG_DONE,               "Se quitaron las entradas del Registro del sistema y eliminaron los archivos INI (si existían)."
-	AFX_IDP_UNREG_FAILURE,            "No se quitaron todas las entradas del Registro (o archivo INI)."
-	AFX_IDP_DLL_LOAD_FAILED,        "Este programa requiere el archivo %s, pero no está en este sistema."
-	AFX_IDP_DLL_BAD_VERSION,        "This program is linked to the missing export %s in the file %s. This machine may have an incompatible version of %s."
-
-	// CFile/CArchive error strings for user failure
-#ifndef _AFX_NO_CFILE_RESOURCES
-	AFX_IDP_FAILED_INVALID_FORMAT   "Formato de archivo no esperado."
-	AFX_IDP_FAILED_INVALID_PATH     "%1\nImposible encontrar este archivo.\nCompruebe que la ruta y el nombre de archivo son correctos"
-	AFX_IDP_FAILED_DISK_FULL        "La unidad de disco de destino está llena."
-	AFX_IDP_FAILED_ACCESS_READ      "Imposible leer de %1, alguien más lo ha abierto."
-	AFX_IDP_FAILED_ACCESS_WRITE     "Imposible escribir en %1, es de sólo lectura o alguien más lo ha abierto."
-	AFX_IDP_FAILED_IO_ERROR_READ    "Error inesperado al leer %1."
-	AFX_IDP_FAILED_IO_ERROR_WRITE   "Error inesperado al escribir en %1."
-#endif // !_AFX_NO_CFILE_RESOURCES
-
-	// Parsing error prompts
-	AFX_IDP_PARSE_INT,              "Introduzca un número entero."
-	AFX_IDP_PARSE_REAL,             "Introduzca un número."
-	AFX_IDP_PARSE_INT_RANGE,        "Introduzca un número entero entre %1 y %2."
-	AFX_IDP_PARSE_REAL_RANGE,       "Introduzca un número entre %1 y %2."
-	AFX_IDP_PARSE_STRING_SIZE,      "No introduzca más de %1 caracteres."
-	AFX_IDP_PARSE_RADIO_BUTTON,     "Seleccione un botón."
-	AFX_IDP_PARSE_BYTE,             "Introduzca un número entero entre 0 y 255."
-	AFX_IDP_PARSE_UINT,             "Introduzca un número entero positivo."
-	AFX_IDP_PARSE_DATETIME,         "Introduzca una fecha y/o una hora."
-	AFX_IDP_PARSE_CURRENCY,         "Introduzca una moneda."
-
-#ifndef _AFX_NO_OLE_RESOURCES
-	// OLE strings required for both servers and containers
-	AFX_IDS_PASTELINKEDTYPE         "%s vinculado"
-	AFX_IDS_UNKNOWNTYPE             "Tipo desconocido"
-	AFX_IDP_FAILED_TO_NOTIFY        "%1\nImposible registrar el documento.\nPuede que el documento ya esté abierto."
-	AFX_IDS_NOT_DOCOBJECT           "El archivo no es compatible con un servidor Document Object."
-#endif //!_AFX_NO_OLE_RESOURCES
-
-	AFX_IDP_NO_ERROR_AVAILABLE      "No hay ningún mensaje de error disponible."
-
-#ifndef _AFX_NO_CFILE_RESOURCES
-	AFX_IDP_FILE_NONE                "No ha ocurrido ningún error."
-	AFX_IDP_FILE_GENERIC             "Error desconocido al acceder a %1."
-	AFX_IDP_FILE_NOT_FOUND           "No se encontró %1."
-	AFX_IDP_FILE_BAD_PATH            "%1 contiene una ruta no válida."
-	AFX_IDP_FILE_TOO_MANY_OPEN       "Imposible abrir %1, hay demasiados archivos abiertos."
-	AFX_IDP_FILE_ACCESS_DENIED       "Acceso denegado a %1."
-	AFX_IDP_FILE_INVALID_FILE        "Controlador no válido asociado a %1."
-	AFX_IDP_FILE_REMOVE_CURRENT      "Imposible eliminar %1 porque es el directorio actual."
-	AFX_IDP_FILE_DIR_FULL            "Imposible crear %1 porque el directorio está lleno."
-	AFX_IDP_FILE_BAD_SEEK            "Fin de búsqueda en %1 "
-	AFX_IDP_FILE_HARD_IO             "Error de E/S de hardware al acceder a %1."
-	AFX_IDP_FILE_SHARING             "Violación de acceso compartido al acceder a %1."
-	AFX_IDP_FILE_LOCKING             "Violación de bloqueo al acceder %1. "
-	AFX_IDP_FILE_DISKFULL            "Disco lleno al acceder a %1."
-	AFX_IDP_FILE_EOF                 "Se intentó acceder a %1 más allá del final."
-	AFX_IDS_UNNAMED_FILE             "un archivo sin nombre"
-#endif // !_AFX_NO_CFILE_RESOURCES
-
-	AFX_IDP_ARCH_NONE               "No ha ocurrido ningún error."
-	AFX_IDP_ARCH_GENERIC                "Error desconocido al acceder a %1."
-	AFX_IDP_ARCH_READONLY           "Se intentó escribir en %1 mientras se lo estaba leyendo."
-	AFX_IDP_ARCH_ENDOFFILE          "Se intentó acceder a %1 más allá del final."
-	AFX_IDP_ARCH_WRITEONLY          "Se intentó leer de %1 mientras estaba escribiendo."
-	AFX_IDP_ARCH_BADINDEX           "%1 tiene un formato incorrecto."
-	AFX_IDP_ARCH_BADCLASS           "%1 contiene un objeto inesperado."
-	AFX_IDP_ARCH_BADSCHEMA          "%1 contiene un esquema incorrecto."
-
-#ifndef _AFX_NO_MAPI_RESOURCES
-	// MAPI strings / error messages
-	AFX_IDP_FAILED_MAPI_LOAD        "Imposible cargar el soporte del sistema de correo."
-	AFX_IDP_INVALID_MAPI_DLL        "La DLL del sistema de correo no es válida."
-	AFX_IDP_FAILED_MAPI_SEND        "Enviar correo no envió el mensaje."
-#endif //!_AFX_NO_MAPI_RESOURCES
-
-#ifndef _AFX_NO_OCC_RESOURCES
-	AFX_IDS_OCC_SCALEUNITS_PIXELS   "píxeles"
-#endif //!_AFX_NO_OCC_RESOURCES
-END
-
-/////////////////////////////////////////////////////////////////////////////
-// Cursors
-
-AFX_IDC_CONTEXTHELP     CURSOR  DISCARDABLE     "res\\help.cur"
-
-#ifndef _AFX_NO_SPLITTER_RESOURCES
-AFX_IDC_SMALLARROWS     CURSOR  DISCARDABLE     "res\\sarrows.cur"
-AFX_IDC_HSPLITBAR       CURSOR  DISCARDABLE     "res\\splith.cur"
-AFX_IDC_VSPLITBAR       CURSOR  DISCARDABLE     "res\\splitv.cur"
-AFX_IDC_NODROPCRSR      CURSOR  DISCARDABLE     "res\\nodrop.cur"
-#endif //!_AFX_NO_SPLITTER_RESOURCES
-
-#ifndef _AFX_NO_TRACKER_RESOURCES
-AFX_IDC_TRACKNWSE       CURSOR  DISCARDABLE     "res\\trcknwse.cur"
-AFX_IDC_TRACKNESW       CURSOR  DISCARDABLE     "res\\trcknesw.cur"
-AFX_IDC_TRACKNS         CURSOR  DISCARDABLE     "res\\trckns.cur"
-AFX_IDC_TRACKWE         CURSOR  DISCARDABLE     "res\\trckwe.cur"
-AFX_IDC_TRACK4WAY       CURSOR  DISCARDABLE     "res\\trck4way.cur"
-AFX_IDC_MOVE4WAY        CURSOR  DISCARDABLE     "res\\move4way.cur"
-#endif //!_AFX_NO_TRACKER_RESOURCES
-
-#ifndef _AFX_NO_CTL3D_RESOURCES
-26567 BITMAP "res\\3dcheck.bmp" // Note: 26567 comes from CTL3D.H
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// Standard Dialogs
-
-#ifndef _AFX_NO_NEWTYPEDLG_RESOURCES
-AFX_IDD_NEWTYPEDLG DIALOG DISCARDABLE  9, 26, 183, 70
-STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | 0x04
-CAPTION "Nuevo"
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "&Nuevo ",IDC_STATIC,6,5,123,8,NOT WS_GROUP
-	LISTBOX         AFX_IDC_LISTBOX,6,15,125,49,WS_VSCROLL | WS_TABSTOP
-	DEFPUSHBUTTON   "Aceptar",IDOK,137,6,40,14
-	PUSHBUTTON      "Cancelar",IDCANCEL,137,23,40,14
-	PUSHBUTTON      "&Ayuda",ID_HELP,137,43,40,14
-END
-#endif // !_AFX_NO_NEWTYPEDLG_RESOURCES
-
-/////////////////////////////////////////////////////////////////////////////
-// CMiniFrameWnd Bitmap
-
-AFX_IDB_MINIFRAME_MENU      BITMAP  DISCARDABLE     "res\\minifwnd.bmp"
-
-/////////////////////////////////////////////////////////////////////////////
-// CCheckListBox Bitmaps
-
-AFX_IDB_CHECKLISTBOX_NT     BITMAP  DISCARDABLE     "res\\ntcheck.bmp"
-AFX_IDB_CHECKLISTBOX_95     BITMAP  DISCARDABLE     "res\\95check.bmp"
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //!__AFXRES_RC__
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 284
libs/mfc/include/Fra/afxctl.rc

@@ -1,284 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXCTL_RC__
-#define __AFXCTL_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< Cannot change standard MFC resources! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Control Resources
-
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-/////////////////////////////////////////////////////////////////////////////
-//
-// Bitmap
-//
-
-AFX_IDB_TRUETYPE        BITMAP  DISCARDABLE     "RES\\TRUETYPE.BMP"
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Dialog
-//
-
-AFX_IDD_PROPPAGE_FONT DIALOG DISCARDABLE  13, 54, 250, 110
-STYLE WS_CHILD | 0x4
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "&Nom de propriété:",IDC_STATIC,3,5,61,8
-	COMBOBOX        AFX_IDC_FONTPROP,65,3,100,71,CBS_DROPDOWNLIST | CBS_SORT |
-					WS_VSCROLL | WS_TABSTOP
-	LTEXT           "Po&lice:",IDC_STATIC,3,19,91,8
-	COMBOBOX        AFX_IDC_FONTNAMES,3,29,91,77,CBS_SIMPLE |
-					CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT |
-					CBS_HASSTRINGS | CBS_DISABLENOSCROLL | WS_VSCROLL |
-					WS_TABSTOP
-	LTEXT           "St&yle de police:",IDC_STATIC,102,19,53,8
-	COMBOBOX        AFX_IDC_FONTSTYLES,104,29,53,53,CBS_DROPDOWNLIST |
-					CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
-	LTEXT           "&Taille:",IDC_STATIC,167,19,40,8
-	COMBOBOX        AFX_IDC_FONTSIZES,167,29,36,53,CBS_DROPDOWN | CBS_SORT |
-					CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
-	GROUPBOX        "Effets",IDC_STATIC,104,44,142,24,WS_GROUP
-	CONTROL         "&Barré",AFX_IDC_STRIKEOUT,"Button",BS_AUTOCHECKBOX |
-					WS_TABSTOP,109,55,65,10
-	CONTROL         "&Souligné",AFX_IDC_UNDERLINE,"Button",BS_AUTOCHECKBOX |
-					WS_TABSTOP,175,55,65,10
-	GROUPBOX        "Exemple",IDC_STATIC,104,71,142,36,WS_GROUP
-	CTEXT           "AaBbYyZz",AFX_IDC_SAMPLEBOX,110,80,130,22,SS_NOPREFIX |
-					NOT WS_VISIBLE
-END
-
-AFX_IDD_PROPPAGE_COLOR DIALOG DISCARDABLE  0, 0, 250, 62
-STYLE WS_CHILD | 0x4
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "&Nom de propriété:",IDC_STATIC,3,3,100,8
-	COMBOBOX        AFX_IDC_COLORPROP,3,13,100,54,CBS_DROPDOWNLIST |
-					CBS_SORT | WS_VSCROLL | WS_TABSTOP
-	LTEXT           "&Couleur système:",IDC_STATIC,3,29,100,8
-	COMBOBOX        AFX_IDC_SYSTEMCOLORS,3,39,100,54,CBS_DROPDOWNLIST |
-					CBS_SORT | WS_VSCROLL | WS_TABSTOP
-	CONTROL         "",AFX_IDC_COLOR_BLACK,"Button",BS_OWNERDRAW | WS_GROUP |
-					WS_TABSTOP,118,4,15,11
-	CONTROL         "",AFX_IDC_COLOR_BLUE,"Button",BS_OWNERDRAW,138,4,15,11
-	CONTROL         "",AFX_IDC_COLOR_CYAN,"Button",BS_OWNERDRAW,158,4,15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKBLUE,"Button",BS_OWNERDRAW,178,4,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_DARKCYAN,"Button",BS_OWNERDRAW,118,18,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKGREEN,"Button",BS_OWNERDRAW,138,18,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKMAGENTA,"Button",BS_OWNERDRAW,158,
-					18,15,11
-	CONTROL         "",AFX_IDC_COLOR_GRAY,"Button",BS_OWNERDRAW,178,18,15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKRED,"Button",BS_OWNERDRAW,118,32,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_GREEN,"Button",BS_OWNERDRAW,138,32,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_LIGHTBROWN,"Button",BS_OWNERDRAW,158,32,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_LIGHTGRAY,"Button",BS_OWNERDRAW,178,32,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_MAGENTA,"Button",BS_OWNERDRAW,118,46,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_RED,"Button",BS_OWNERDRAW,138,46,15,11
-	CONTROL         "",AFX_IDC_COLOR_WHITE,"Button",BS_OWNERDRAW,158,46,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_YELLOW,"Button",BS_OWNERDRAW,178,46,15,
-					11
-END
-
-AFX_IDD_PROPPAGE_PICTURE DIALOG DISCARDABLE  0, 0, 250, 62
-STYLE WS_CHILD | 0x4
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "&Nom de propriété:",IDC_STATIC,3,3,100,8
-	COMBOBOX        AFX_IDC_PROPNAME,3,13,100,30,CBS_DROPDOWNLIST | CBS_SORT |
-					WS_VSCROLL | WS_TABSTOP
-	PUSHBUTTON      "Pa&rcourir...",AFX_IDC_BROWSE,3,35,54,14
-	PUSHBUTTON      "&Effacer",AFX_IDC_CLEAR,61,35,54,14
-	RTEXT           "Aperçu:",IDC_STATIC,107,3,42,16
-	CONTROL         "",AFX_IDC_PICTURE,"Static",SS_BLACKFRAME,151,4,93,54
-END
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Dialog Info
-//
-
-AFX_IDD_PROPPAGE_FONT DLGINIT
-BEGIN
-	1002, 0x403, 12, 0
-0x6f42, 0x646c, 0x4920, 0x6174, 0x696c, 0x0063,
-	0
-END
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// String Table
-//
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_PROPPAGE_UNKNOWN "(Inconnu)"
-	AFX_IDS_COLOR_DESKTOP   "Bureau"
-	AFX_IDS_COLOR_APPWORKSPACE "Espace de travail de l'application"
-	AFX_IDS_COLOR_WNDBACKGND "Arrière-plan de la fenêtre"
-	AFX_IDS_COLOR_WNDTEXT   "Texte de la fenêtre"
-	AFX_IDS_COLOR_MENUBAR   "Barre de menu"
-	AFX_IDS_COLOR_MENUTEXT  "Texte de menu"
-	AFX_IDS_COLOR_ACTIVEBAR "Barre de titre active"
-	AFX_IDS_COLOR_INACTIVEBAR "Barre de titre inactive"
-	AFX_IDS_COLOR_ACTIVETEXT "Texte de la barre de titre active"
-	AFX_IDS_COLOR_INACTIVETEXT "Texte de la barre de titre inactive"
-	AFX_IDS_COLOR_ACTIVEBORDER "Bordure active"
-	AFX_IDS_COLOR_INACTIVEBORDER "Bordure inactive"
-END
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-
-STRINGTABLE DISCARDABLE
-BEGIN
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_COLOR_WNDFRAME  "Cadre de la fenêtre"
-	AFX_IDS_COLOR_SCROLLBARS "Barres de défilement"
-	AFX_IDS_COLOR_BTNFACE   "Face du bouton"
-	AFX_IDS_COLOR_BTNSHADOW "Ombre du bouton"
-	AFX_IDS_COLOR_BTNTEXT   "Texte du bouton"
-	AFX_IDS_COLOR_BTNHIGHLIGHT "Surbrillance du bouton"
-	AFX_IDS_COLOR_DISABLEDTEXT "Texte désactivé"
-	AFX_IDS_COLOR_HIGHLIGHT "Surbrillance"
-	AFX_IDS_COLOR_HIGHLIGHTTEXT "Texte en surbrillance"
-	AFX_IDS_REGULAR         "Normal"
-	AFX_IDS_BOLD            "Gras"
-	AFX_IDS_ITALIC          "Italique"
-	AFX_IDS_BOLDITALIC      "Italique gras"
-	AFX_IDS_SAMPLETEXT      "AaBbYyZz"
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_DISPLAYSTRING_FONT "(Police)"
-	AFX_IDS_DISPLAYSTRING_COLOR "(Couleur)"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_DISPLAYSTRING_PICTURE "(Image - %s)"
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_PICTUREFILTER   "Tous les type d'images|*.bmp;*.cur;*.dib;*.emf;*.ico;*.wmf|Images en mode point (*.bmp;*.dib)|*.bmp;*.dib|Icônes/Curseurs (*.ico;*.cur)|*.ico;*.cur|Métafichiers (*.wmf;*.emf)|*.wmf;*.emf|Tous les fichiers (*.*)|*.*||"
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_PICTYPE_UNKNOWN "Inconnu"
-	AFX_IDS_PICTYPE_NONE    "Aucun"
-	AFX_IDS_PICTYPE_BITMAP  "Image en mode point"
-	AFX_IDS_PICTYPE_METAFILE "Métafichier"
-	AFX_IDS_PICTYPE_ICON    "Icône"
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_COLOR_PPG       "Page de propriété de couleur"
-	AFX_IDS_COLOR_PPG_CAPTION "Couleurs"
-	AFX_IDS_FONT_PPG        "Page de propriété de police"
-	AFX_IDS_FONT_PPG_CAPTION "Polices"
-	AFX_IDS_PICTURE_PPG     "Page de propriété d'image"
-	AFX_IDS_PICTURE_PPG_CAPTION "Images"
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_BORDERSTYLE_0   "0 - Aucun"
-	AFX_IDS_BORDERSTYLE_1   "1 - Trait simple"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_VERB_EDIT       "&Modifier"
-	AFX_IDS_VERB_PROPERTIES "&Propriétés..."
-END
-
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_PICTURECANTOPEN "Impossible d'ouvrir le fichier image %1. Le fichier peut ne pas exister, ou peut ne pas être lisible."
-	AFX_IDP_PICTURECANTLOAD "Impossible de charger le fichier image %1. Le fichier peut avoir un format incorrect."
-	AFX_IDP_PICTURETOOLARGE "Impossible de charger le fichier image %1. Le fichier est trop grand pour tenir en mémoire."
-	AFX_IDP_PICTUREREADFAILED
-							"Impossible de charger le fichier image %1. Echec à la lecture."
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_PICTUREBROWSETITLE "Parcourir les images"
-END
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-
-#ifndef _AFX_NO_CTLERROR_RESOURCES
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_E_ILLEGALFUNCTIONCALL "Appel de fonction incorrect"
-	AFX_IDP_E_OVERFLOW      "Dépassement de capacité"
-	AFX_IDP_E_OUTOFMEMORY   "Mémoire épuisée"
-	AFX_IDP_E_DIVISIONBYZERO "Division par zéro"
-	AFX_IDP_E_OUTOFSTRINGSPACE "Espace de chaîne insuffisant"
-	AFX_IDP_E_OUTOFSTACKSPACE "Espace pile insuffisant"
-	AFX_IDP_E_BADFILENAMEORNUMBER "Nom ou numéro de fichier incorrect"
-	AFX_IDP_E_FILENOTFOUND  "Fichier introuvable"
-	AFX_IDP_E_BADFILEMODE   "Mode d'accès au  fichier incorrect"
-	AFX_IDP_E_FILEALREADYOPEN "Fichier déjà ouvert"
-	AFX_IDP_E_DEVICEIOERROR "Erreur d'entrée/sortie de périphérique"
-	AFX_IDP_E_FILEALREADYEXISTS "Ce fichier existe déjà"
-	AFX_IDP_E_BADRECORDLENGTH "Longueur d'enregistrement incorrecte"
-	AFX_IDP_E_DISKFULL      "Disque plein"
-	AFX_IDP_E_BADRECORDNUMBER "Numéro d'enregistrement incorrect"
-	AFX_IDP_E_BADFILENAME   "Nom de fichier incorrect"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_E_TOOMANYFILES  "Trop de fichiers"
-	AFX_IDP_E_DEVICEUNAVAILABLE "Périphérique non disponible"
-	AFX_IDP_E_PERMISSIONDENIED "Permission refusée"
-	AFX_IDP_E_DISKNOTREADY  "Disque non prêt"
-	AFX_IDP_E_PATHFILEACCESSERROR "Erreur dans le chemin d'accès"
-	AFX_IDP_E_PATHNOTFOUND  "Chemin d'accès introuvable"
-	AFX_IDP_E_INVALIDPATTERNSTRING "Chaîne de motif incorrecte"
-	AFX_IDP_E_INVALIDUSEOFNULL "Utilisation incorrecte de NULL"
-	AFX_IDP_E_INVALIDFILEFORMAT "Format de fichier incorrect"
-	AFX_IDP_E_INVALIDPROPERTYVALUE "Valeur de propriété incorrecte"
-	AFX_IDP_E_INVALIDPROPERTYARRAYINDEX "Index de tableau incorrect"
-	AFX_IDP_E_SETNOTSUPPORTEDATRUNTIME "La propriété ne peut pas être définie au moment de l'exécution"
-	AFX_IDP_E_SETNOTSUPPORTED "Propriété en lecture seule"
-	AFX_IDP_E_NEEDPROPERTYARRAYINDEX
-							"Vous devez spécifier un index de tableau lorsque vous utilisez un tableau de propriété"
-	AFX_IDP_E_SETNOTPERMITTED "Cette propriété ne peut pas être définie pour ce contrôle"
-	AFX_IDP_E_GETNOTSUPPORTEDATRUNTIME "La propriété ne peut pas être lue au moment de l'exécution"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_E_GETNOTSUPPORTED "Propriété en écriture seule"
-	AFX_IDP_E_PROPERTYNOTFOUND "Propriété introuvable"
-	AFX_IDP_E_INVALIDCLIPBOARDFORMAT "Format de Presse-papiers incorrect"
-	AFX_IDP_E_INVALIDPICTURE "Image incorrecte"
-	AFX_IDP_E_PRINTERERROR  "Erreur d'imprimante"
-	AFX_IDP_E_CANTSAVEFILETOTEMP
-							"Impossible de créer le fichier temporaire nécessaire pour l'enregistrement"
-	AFX_IDP_E_SEARCHTEXTNOTFOUND "Texte recherché introuvable"
-	AFX_IDP_E_REPLACEMENTSTOOLONG "Texte de remplacement trop long"
-END
-#endif //!_AFX_NO_CTLERROR_RESOURCES
-
-#endif //!_AFXDLL
-#endif //__AFXOLECL_RC__

+ 0 - 105
libs/mfc/include/Fra/afxdb.rc

@@ -1,105 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXDB_RC__
-#define __AFXDB_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< Cannot change standard MFC resources! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// Database Resources
-
-// Database strings
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_SQL_CONNECT_FAIL
-		"Tentative infructueuse de connexion à la source de données"
-	AFX_IDP_SQL_RECORDSET_FORWARD_ONLY
-		"Le jeu d'enregistrements n'accepte que les déplacements vers l'avant."
-	AFX_IDP_SQL_EMPTY_COLUMN_LIST
-		"Tentative infructueuse d'ouverture de table - colonnes à extraire introuvables à l'endroit spécifié."
-	AFX_IDP_SQL_FIELD_SCHEMA_MISMATCH
-		"La requête a renvoyé des types de données de colonnes inattendus."
-	AFX_IDP_SQL_ILLEGAL_MODE "Tentative infructueuse de Mise à jour ou de Suppression."
-	AFX_IDP_SQL_MULTIPLE_ROWS_AFFECTED "Plusieurs lignes ont été mises à jour."
-	AFX_IDP_SQL_NO_CURRENT_RECORD "L'opération a échoué, pas d'enregistrement en cours"
-	AFX_IDP_SQL_NO_ROWS_AFFECTED
-		"Aucune ligne n'a été affectée par l'opération de mise à jour ou de suppression."
-	AFX_IDP_SQL_RECORDSET_READONLY "Le jeu d'enregistrements est en lecture seule"
-	AFX_IDP_SQL_SQL_NO_TOTAL
-		"Le pilote ODBC ne prend pas en charge le modèle de données LongBinary MFC."
-	AFX_IDP_SQL_ODBC_LOAD_FAILED
-		"Tentative infructueuse de chargement de l'élément ODBC32.DLL."
-	AFX_IDP_SQL_DYNASET_NOT_SUPPORTED
-		"Le gestionnaire ODBC ne prend pas en charge les feuilles de réponses dynamiques."
-	AFX_IDP_SQL_SNAPSHOT_NOT_SUPPORTED
-		"Curseurs ODBC statiques requis pour la prise en charge des instantanés."
-	AFX_IDP_SQL_API_CONFORMANCE
-		"Gestionnaire ODBC incompatible avec les classes de bases de données MFC (API_CONFORMANCE >= SQL_OAC_LEVEL1 requis)."
-	AFX_IDP_SQL_SQL_CONFORMANCE
-		"Gestionnaire ODBC incompatible avec les classes de bases de données MFC (SQL_CONFORMANCE >= SQL_OSC_MINIMUM requis)."
-	AFX_IDP_SQL_NO_DATA_FOUND
-		"Tentative de défilement après la fin ou avant le début des données."
-	AFX_IDP_SQL_ROW_UPDATE_NOT_SUPPORTED
-		"Feuilles de réponses dynamiques non prises en charge par le gestionnaire ODBC."
-	AFX_IDP_SQL_ODBC_V2_REQUIRED
-		"Gestionnaire ODBC conforme Niveau 2 (Level 2) requis."
-	AFX_IDP_SQL_NO_POSITIONED_UPDATES
-		"Les mises à jour programmées ne sont pas prises en charge par le gestionnaire ODBC."
-	AFX_IDP_SQL_LOCK_MODE_NOT_SUPPORTED
-		"Le mode de verrouillage requis n'est pas accepté."
-	AFX_IDP_SQL_DATA_TRUNCATED
-		"Données tronquées."
-	AFX_IDP_SQL_ROW_FETCH
-		"Erreur de récupération de l'enregistrement."
-	AFX_IDP_SQL_INCORRECT_ODBC
-		"Un point d'entrée ODBC requis est introuvable. Vérifiez qu'ODBC est correctement installé."
-	AFX_IDP_SQL_UPDATE_DELETE_FAILED
-		"Echec de la mise à jour ou de la suppression."
-	AFX_IDP_SQL_DYNAMIC_CURSOR_NOT_SUPPORTED
-		"Curseurs dynamiques non pris en charge par le pilote ODBC."
-	AFX_IDP_SQL_FIELD_NOT_FOUND
-		"Nom ou index de champ non valide"
-	AFX_IDP_SQL_BOOKMARKS_NOT_SUPPORTED
-		"Les onglets ne sont pas compatibles avec le pilote ODBC."
-	AFX_IDP_SQL_BOOKMARKS_NOT_ENABLED
-		"Les onglets ne sont pas activés sur le recordset."
-	AFX_IDP_DAO_ENGINE_INITIALIZATION
-		"Impossible d'initialiser le moteur de base de données DAO/Jet."
-	AFX_IDP_DAO_DFX_BIND
-		"Valeur du paramètre DFX incorrecte."
-	AFX_IDP_DAO_OBJECT_NOT_OPEN
-		"DAO TableDef ou QueryDef non ouverts."
-	AFX_IDP_DAO_ROWTOOSHORT
-		"Echec de GetRows. Mémoire allouée insuffisante pour la ligne."
-	AFX_IDP_DAO_BADBINDINFO
-		"Erreur de liens GetRows. Ceci est probablement du à une mauvaise correspondance de types de données."
-	AFX_IDP_DAO_COLUMNUNAVAILABLE
-		"Echec de GetRows. La colonne demandée n'est pas un membre de ce jeu d'enregistrements."
-
-	AFX_IDS_DELETED "<Effacé>"
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXDB_RC__

+ 0 - 66
libs/mfc/include/Fra/afxolecl.rc

@@ -1,66 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXOLECL_RC__
-#define __AFXOLECL_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifndef _INC_DLGS
-	#include <dlgs.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< Cannot change standard MFC resources! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Client Resources
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE strings
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_STATIC_OBJECT           "Impossible d'activer un objet ActiveX statique."
-	AFX_IDP_FAILED_TO_CONNECT       "La connexion a échoué. \nLa liaison est peut être rompue."
-	AFX_IDP_SERVER_BUSY             "Impossible d'exécuter la commande, le serveur est occupé."
-	AFX_IDP_BAD_VERB                "Erreur lors de l'exécution de l'opération par l'application serveur."
-	AFX_IDP_FAILED_TO_LAUNCH        "Erreur lors du démarrage d'une application serveur."
-	AFX_IDS_UPDATING_ITEMS          "Mise à jour des objets ActiveX"
-	AFX_IDP_FAILED_TO_CONVERT       "Echec de conversion de l'objet ActiveX."
-	AFX_IDP_ASK_TO_DISCARD          "Impossible de sauvegarder les objets ActiveX en quittant Windows !\nRejeter tous les modifications sur %1?"
-	AFX_IDP_FAILED_TO_CREATE        "Echec de création de l'objet. Vérifiez que l'application est entrée dans le registre du système."
-
-	AFX_IDS_METAFILE_FORMAT         "Image (métafichier)\na image"
-	AFX_IDS_DIB_FORMAT              "Image en mode point indépendante du périphérique\na image en mode point indépendante du périphérique"
-	AFX_IDS_BITMAP_FORMAT           "Image en mode point\na image en mode point"
-	AFX_IDS_LINKSOURCE_FORMAT       "%s\n%s"
-	AFX_IDS_EMBED_FORMAT            "%s\n%s"
-	AFX_IDS_RTF_FORMAT              "Rich Text (RTF)\ntexte avec du formatage de police et de paragraphe"
-	AFX_IDS_TEXT_FORMAT             "Texte non formaté\ntexte sans aucun formatage"
-
-	AFX_IDS_INVALID_CURRENCY        "Monnaie non valide."
-	AFX_IDS_INVALID_DATETIME        "DateTime non valide."
-	AFX_IDS_INVALID_DATETIMESPAN    "DateTimeSpan non valide."
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXOLECL_RC__

+ 0 - 53
libs/mfc/include/Fra/afxolesv.rc

@@ -1,53 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXOLESV_RC__
-#define __AFXOLESV_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< Cannot change standard MFC resources! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Server Resources
-
-// OLE strings
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_ASK_TO_UPDATE,              "Mettre à jour %1 avant de continuer?"
-	AFX_IDP_FAILED_TO_UPDATE,           "Impossible de mettre à jour le client."
-
-	AFX_IDP_FAILED_TO_REGISTER,         "Echec de registration. Les fonctionalités ActiveX pourraient ne pas fonctionner correctement."
-	AFX_IDP_FAILED_TO_AUTO_REGISTER,    "La mise à jour du registre du système a échoué. \nEssayez d'utiliser REGEDIT."
-END
-
-STRINGTABLE PRELOAD
-BEGIN
-	AFX_IDS_APP_TITLE_EMBEDDING,        "%1 dans %2"
-	AFX_IDS_OBJ_TITLE_INPLACE,          "%1 - %2"
-	AFX_IDS_EXIT_MENU,                  "&Quitter et retourner à %1"
-	AFX_IDS_UPDATE_MENU,                "Mise à jo&ur de %1"
-	AFX_IDS_SAVEFILECOPY,               "Enregistrer la copie sous"
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXOLESV_RC__

+ 0 - 90
libs/mfc/include/Fra/afxprint.rc

@@ -1,90 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXPRINT_RC__
-#define __AFXPRINT_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< Cannot change standard MFC resources! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// Printing Resources
-
-AFX_IDC_MAGNIFY         CURSOR  DISCARDABLE     "res\\magnify.cur"
-
-AFX_IDD_PRINTDLG DIALOG DISCARDABLE  6, 18, 133, 95
-STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | 0x04
-FONT 8, "MS Shell Dlg"
-BEGIN
-	CTEXT           "Impression",IDC_STATIC,0,9,133,8
-	CTEXT           "",AFX_IDC_PRINT_DOCNAME,0,19,133,8
-	CTEXT           "sur",IDC_STATIC,0,29,133,8
-	CTEXT           "",AFX_IDC_PRINT_PRINTERNAME,0,39,133,8
-	CTEXT           "",AFX_IDC_PRINT_PORTNAME,0,49,133,8
-	CTEXT           "",AFX_IDC_PRINT_PAGENUM,0,59,133,8
-	PUSHBUTTON      "Annuler",IDCANCEL,46,74,40,14
-END
-
-// Preview Toolbar Dialog
-AFX_IDD_PREVIEW_TOOLBAR DIALOG PRELOAD DISCARDABLE  0, 0, 330, 16
-STYLE WS_CHILD | 0x04
-FONT 8, "MS Shell Dlg"
-BEGIN
-	PUSHBUTTON      "&Imprimer...",AFX_ID_PREVIEW_PRINT,2,2,44,12
-	PUSHBUTTON      "&Suivante",AFX_ID_PREVIEW_NEXT,48,2,44,12
-	PUSHBUTTON      "&Précédente",AFX_ID_PREVIEW_PREV,94,2,44,12
-	PUSHBUTTON      "",AFX_ID_PREVIEW_NUMPAGE,140,2,44,12
-	PUSHBUTTON      "Zoom ava&nt",AFX_ID_PREVIEW_ZOOMIN,186,2,44,12
-	PUSHBUTTON      "Zoom a&rrière",AFX_ID_PREVIEW_ZOOMOUT,232,2,44,12
-	PUSHBUTTON      "&Fermer",AFX_ID_PREVIEW_CLOSE,278,2,44,12
-END
-
-// Printing strings
-STRINGTABLE DISCARDABLE
-BEGIN
-	// print progress dialog strings
-	AFX_IDS_PRINTONPORT,            "sur %1"         // for print output
-	AFX_IDS_ONEPAGE,                "&Une page"     // for preview button
-	AFX_IDS_TWOPAGE,                "&Deux pages"     // for preview button
-	AFX_IDS_PRINTPAGENUM,           "Page %u"       // for print output
-	AFX_IDS_PREVIEWPAGEDESC,        "Page %u\nPages %u-%u\n"
-
-	// print to file dialog strings
-	AFX_IDS_PRINTDEFAULTEXT,        "prn"           // default extension
-	AFX_IDS_PRINTDEFAULT,           "Output.prn"    // default file
-	AFX_IDS_PRINTFILTER,
-		"Fichiers imprimante (*.prn)|*.prn|Tous (*.*)|*.*||"
-	AFX_IDS_PRINTCAPTION,           "Imprime vers un fichier" // caption for browse dlg
-	AFX_IDS_PRINTTOFILE,            "vers %1"         // to file
-END
-
-// Print Preview Accelerator Table
-AFX_IDR_PREVIEW_ACCEL ACCELERATORS LOADONCALL MOVEABLE
-BEGIN
-	VK_NEXT,    AFX_ID_PREVIEW_NEXT,    VIRTKEY, NOINVERT
-	VK_PRIOR,   AFX_ID_PREVIEW_PREV,    VIRTKEY, NOINVERT
-	VK_ESCAPE,  AFX_ID_PREVIEW_CLOSE,   VIRTKEY, NOINVERT
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXPRINT_RC__

+ 0 - 202
libs/mfc/include/Fra/afxres.rc

@@ -1,202 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXRES_RC__
-#define __AFXRES_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< Cannot change standard MFC resources! >\0"
-END
-#endif //APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// Default resource description for MFC applications
-/////////////////////////////////////////////////////////////////////////////
-
-/////////////////////////////////////////////////////////////////////////////
-// Strings
-
-STRINGTABLE DISCARDABLE
-BEGIN
-#ifndef _AFX_NO_APPMENU_RESOURCES
-	AFX_IDS_OPENFILE,               "Ouvrir"
-	AFX_IDS_SAVEFILE,               "Enregistrer sous"
-	AFX_IDS_ALLFILTER,              "Tous les fichiers (*.*)"
-	AFX_IDS_UNTITLED,               "sans nom"
-	AFX_IDS_HIDE,                   "&Masquer"
-#endif // !_AFX_NO_APPMENUSTRING_RESOURCES
-
-	AFX_IDS_MEMORY_EXCEPTION,       "Mémoire insuffisante."
-	AFX_IDS_NOT_SUPPORTED_EXCEPTION,"Une opération non prise en charge a été tentée."
-	AFX_IDS_RESOURCE_EXCEPTION,     "Une ressource requise était non disponible."
-	AFX_IDS_USER_EXCEPTION,         "Une erreur inconnue s'est produite."
-
-	// General error prompts
-#ifndef _AFX_NO_FILECMD_RESOURCES
-	AFX_IDP_INVALID_FILENAME,       "Nom de fichier non valide."
-	AFX_IDP_FAILED_TO_OPEN_DOC,     "L'ouverture du document a échoué."
-	AFX_IDP_FAILED_TO_SAVE_DOC,     "L'enregistrement du document a échoué."
-	AFX_IDP_ASK_TO_SAVE,            "Enregistrer les modifications apportées à %1?"
-	AFX_IDP_FAILED_TO_CREATE_DOC,   "La création d'un document vide a échoué."
-	AFX_IDP_FILE_TOO_LARGE,         "Le fichier est trop volumineux pour être ouvert."
-	AFX_IDP_FAILED_TO_START_PRINT,  "Impossible de lancer l'impression."
-#endif // !_AFX_NO_FILECMD_RESOURCES
-	AFX_IDP_FAILED_TO_LAUNCH_HELP,  "Le démarrage de l'aide a échoué."
-	AFX_IDP_INTERNAL_FAILURE,       "Erreur d'application interne."
-	AFX_IDP_COMMAND_FAILURE,        "La commande a échoué."
-	AFX_IDP_FAILED_MEMORY_ALLOC     "Mémoire insuffisante pour exécuter l'opération."
-	AFX_IDP_GET_NOT_SUPPORTED,      "Impossible de lire une propriété en écriture seule."
-	AFX_IDP_SET_NOT_SUPPORTED,      "Impossible d'écrire une propriété en lecture seule."
-	AFX_IDP_UNREG_DONE,               "Les entrées du registre Système ont été supprimées et le fichier INI (si besoin est) a été effacé."
-	AFX_IDP_UNREG_FAILURE,            "Toutes les entrées du registre Système (ou le fichier INI) n'ont pas été supprimées."
-	AFX_IDP_DLL_LOAD_FAILED,        "Ce programme requiert le fichier %s. Celui-ci est introuvable sur ce système."
-	AFX_IDP_DLL_BAD_VERSION,        "Ce programme est lié à l'export %s, absent du fichier %s. Cet ordinateur semble présenter une version non compatible de %s."
-
-	// CFile/CArchive error strings for user failure
-#ifndef _AFX_NO_CFILE_RESOURCES
-	AFX_IDP_FAILED_INVALID_FORMAT   "Format de fichier inattendu."
-	AFX_IDP_FAILED_INVALID_PATH     "%1\nImpossible de trouver ce fichier. Vérifiez que le chemin et le nom du fichier sont corrects."
-	AFX_IDP_FAILED_DISK_FULL        "Le lecteur de disque de destination est plein."
-	AFX_IDP_FAILED_ACCESS_READ      "Impossible de lire à partir de %1, il est en cours d'utilisation."
-	AFX_IDP_FAILED_ACCESS_WRITE     "Impossible d'écrire sur %1, il est en lecture seule ou en cours d'utilisation."
-	AFX_IDP_FAILED_IO_ERROR_READ    "Une erreur inattendue s'est produite lors de la lecture de %1."
-	AFX_IDP_FAILED_IO_ERROR_WRITE   "Une erreur inattendue s'est produite lors de l'écriture de %1."
-#endif // !_AFX_NO_CFILE_RESOURCES
-
-	// Parsing error prompts
-	AFX_IDP_PARSE_INT,              "Tapez un nombre entier."
-	AFX_IDP_PARSE_REAL,             "Tapez un nombre."
-	AFX_IDP_PARSE_INT_RANGE,        "Tapez un nombre entier compris entre %1 et %2."
-	AFX_IDP_PARSE_REAL_RANGE,       "Tapez un nombre compris entre %1 et %2."
-	AFX_IDP_PARSE_STRING_SIZE,      "Tapez %1 caractères au maximum."
-	AFX_IDP_PARSE_RADIO_BUTTON,     "Choisissez un bouton."
-	AFX_IDP_PARSE_BYTE,             "Veuillez entrer un entier compris entre 0 et 255."
-	AFX_IDP_PARSE_UINT,             "Veuillez entrer un entier positif."
-	AFX_IDP_PARSE_DATETIME,         "Veuillez entrer une date et/ou une heure."
-	AFX_IDP_PARSE_CURRENCY,         "Veuillez entrer une monnaie."
-
-#ifndef _AFX_NO_OLE_RESOURCES
-	// OLE strings required for both servers and containers
-	AFX_IDS_PASTELINKEDTYPE         "%s lié(e)"
-	AFX_IDS_UNKNOWNTYPE             "Type inconnu"
-	AFX_IDP_FAILED_TO_NOTIFY        "%1\nImpossible d'enregistrer le document. \nLe document est peut-être déjà ouvert."
-	AFX_IDS_NOT_DOCOBJECT           "Le fichier n'est pas supporté par un serveur d'objet Document."
-#endif //!_AFX_NO_OLE_RESOURCES
-
-	AFX_IDP_NO_ERROR_AVAILABLE      "Aucun message d'erreur n'est disponible."
-
-#ifndef _AFX_NO_CFILE_RESOURCES
-	AFX_IDP_FILE_NONE                "Aucune erreur ne s'est produite."
-	AFX_IDP_FILE_GENERIC             "Une erreur inconnue s'est produite lors de l'accès à %1."
-	AFX_IDP_FILE_NOT_FOUND           "Impossible de trouver %1."
-	AFX_IDP_FILE_BAD_PATH            "%1 contient un chemin non valide."
-	AFX_IDP_FILE_TOO_MANY_OPEN       "Impossible d'ouvrir %1 car il y a trop de fichiers ouverts."
-	AFX_IDP_FILE_ACCESS_DENIED       "L'accès à %1 a été refusé."
-	AFX_IDP_FILE_INVALID_FILE        "Un descripteur de fichier non valide a été associé à %1."
-	AFX_IDP_FILE_REMOVE_CURRENT      "Impossible d'enlever %1 car c'est le répertoire courant."
-	AFX_IDP_FILE_DIR_FULL            "Impossible de créer %1 car le répertoire est plein."
-	AFX_IDP_FILE_BAD_SEEK            "Echec de la recherche sur %1"
-	AFX_IDP_FILE_HARD_IO             "Une erreur d'E/S matérielle a été reportée lors de l'accès à %1."
-	AFX_IDP_FILE_SHARING             "Une violation de partage s'est produite lors de l'accès à %1."
-	AFX_IDP_FILE_LOCKING             "Une violation de verrouillage s'est produite lors de l'accès à %1."
-	AFX_IDP_FILE_DISKFULL            "Disque plein lors de l'accès à %1."
-	AFX_IDP_FILE_EOF                 "Tentative d'accès à %1 après sa fin."
-	AFX_IDS_UNNAMED_FILE             "un fichier non nommé"
-#endif // !_AFX_NO_CFILE_RESOURCES
-
-	AFX_IDP_ARCH_NONE               "Aucune erreur ne s'est produite."
-	AFX_IDP_ARCH_GENERIC                "Une erreur inconnue s'est produite lors de l'accès à %1."
-	AFX_IDP_ARCH_READONLY           "Tentative d'écriture de %1 ouvert pour la lecture."
-	AFX_IDP_ARCH_ENDOFFILE          "Tentative d'accès à %1 après sa fin."
-	AFX_IDP_ARCH_WRITEONLY          "Tentative de lecture de %1 ouvert pour l'écriture."
-	AFX_IDP_ARCH_BADINDEX           "%1 a un mauvais format."
-	AFX_IDP_ARCH_BADCLASS           "%1 contient un objet inattendu."
-	AFX_IDP_ARCH_BADSCHEMA          "%1 contient un schéma incorrect."
-
-#ifndef _AFX_NO_MAPI_RESOURCES
-	// MAPI strings / error messages
-	AFX_IDP_FAILED_MAPI_LOAD        "Impossible de charger la prise en charge du système de messagerie électronique."
-	AFX_IDP_INVALID_MAPI_DLL        "La DLL système de la messagerie n'est pas valide."
-	AFX_IDP_FAILED_MAPI_SEND        "La messagerie électronique n'a pas pu envoyer le message."
-#endif //!_AFX_NO_MAPI_RESOURCES
-
-#ifndef _AFX_NO_OCC_RESOURCES
-	AFX_IDS_OCC_SCALEUNITS_PIXELS   "pixels"
-#endif //!_AFX_NO_OCC_RESOURCES
-END
-
-/////////////////////////////////////////////////////////////////////////////
-// Cursors
-
-AFX_IDC_CONTEXTHELP     CURSOR  DISCARDABLE     "res\\help.cur"
-
-#ifndef _AFX_NO_SPLITTER_RESOURCES
-AFX_IDC_SMALLARROWS     CURSOR  DISCARDABLE     "res\\sarrows.cur"
-AFX_IDC_HSPLITBAR       CURSOR  DISCARDABLE     "res\\splith.cur"
-AFX_IDC_VSPLITBAR       CURSOR  DISCARDABLE     "res\\splitv.cur"
-AFX_IDC_NODROPCRSR      CURSOR  DISCARDABLE     "res\\nodrop.cur"
-#endif //!_AFX_NO_SPLITTER_RESOURCES
-
-#ifndef _AFX_NO_TRACKER_RESOURCES
-AFX_IDC_TRACKNWSE       CURSOR  DISCARDABLE     "res\\trcknwse.cur"
-AFX_IDC_TRACKNESW       CURSOR  DISCARDABLE     "res\\trcknesw.cur"
-AFX_IDC_TRACKNS         CURSOR  DISCARDABLE     "res\\trckns.cur"
-AFX_IDC_TRACKWE         CURSOR  DISCARDABLE     "res\\trckwe.cur"
-AFX_IDC_TRACK4WAY       CURSOR  DISCARDABLE     "res\\trck4way.cur"
-AFX_IDC_MOVE4WAY        CURSOR  DISCARDABLE     "res\\move4way.cur"
-#endif //!_AFX_NO_TRACKER_RESOURCES
-
-#ifndef _AFX_NO_CTL3D_RESOURCES
-26567 BITMAP "res\\3dcheck.bmp" // Note: 26567 comes from CTL3D.H
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// Standard Dialogs
-
-#ifndef _AFX_NO_NEWTYPEDLG_RESOURCES
-AFX_IDD_NEWTYPEDLG DIALOG DISCARDABLE  9, 26, 183, 70
-STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | 0x04
-CAPTION "Nouveau"
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "&Nouveau",IDC_STATIC,6,5,123,8,NOT WS_GROUP
-	LISTBOX         AFX_IDC_LISTBOX,6,15,125,49,WS_VSCROLL | WS_TABSTOP
-	DEFPUSHBUTTON   "OK",IDOK,137,6,40,14
-	PUSHBUTTON      "Annuler",IDCANCEL,137,23,40,14
-	PUSHBUTTON      "&Aide",ID_HELP,137,43,40,14
-END
-#endif // !_AFX_NO_NEWTYPEDLG_RESOURCES
-
-/////////////////////////////////////////////////////////////////////////////
-// CMiniFrameWnd Bitmap
-
-AFX_IDB_MINIFRAME_MENU      BITMAP  DISCARDABLE     "res\\minifwnd.bmp"
-
-/////////////////////////////////////////////////////////////////////////////
-// CCheckListBox Bitmaps
-
-AFX_IDB_CHECKLISTBOX_NT     BITMAP  DISCARDABLE     "res\\ntcheck.bmp"
-AFX_IDB_CHECKLISTBOX_95     BITMAP  DISCARDABLE     "res\\95check.bmp"
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //!__AFXRES_RC__
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 284
libs/mfc/include/Ita/afxctl.rc

@@ -1,284 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXCTL_RC__
-#define __AFXCTL_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< Impossibile modificare le risorse standard MFC >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Control Resources
-
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-/////////////////////////////////////////////////////////////////////////////
-//
-// Bitmap
-//
-
-AFX_IDB_TRUETYPE        BITMAP  DISCARDABLE     "RES\\TRUETYPE.BMP"
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Dialog
-//
-
-AFX_IDD_PROPPAGE_FONT DIALOG DISCARDABLE  13, 54, 250, 110
-STYLE WS_CHILD | 0x4
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "&Proprietà:",IDC_STATIC,3,5,61,8
-	COMBOBOX        AFX_IDC_FONTPROP,65,3,100,71,CBS_DROPDOWNLIST | CBS_SORT |
-					WS_VSCROLL | WS_TABSTOP
-	LTEXT           "&Tipo di carattere:",IDC_STATIC,3,19,91,8
-	COMBOBOX        AFX_IDC_FONTNAMES,3,29,91,77,CBS_SIMPLE |
-					CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT |
-					CBS_HASSTRINGS | CBS_DISABLENOSCROLL | WS_VSCROLL |
-					WS_TABSTOP
-	LTEXT           "St&ile:",IDC_STATIC,102,19,53,8
-	COMBOBOX        AFX_IDC_FONTSTYLES,104,29,53,53,CBS_DROPDOWNLIST |
-					CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
-	LTEXT           "&Dimensione:",IDC_STATIC,167,19,40,8
-	COMBOBOX        AFX_IDC_FONTSIZES,167,29,36,53,CBS_DROPDOWN | CBS_SORT |
-					CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
-	GROUPBOX        "Effetti",IDC_STATIC,104,44,142,24,WS_GROUP
-	CONTROL         "Bar&rato",AFX_IDC_STRIKEOUT,"Button",BS_AUTOCHECKBOX |
-					WS_TABSTOP,109,55,65,10
-	CONTROL         "&Sottolineato",AFX_IDC_UNDERLINE,"Button",BS_AUTOCHECKBOX |
-					WS_TABSTOP,175,55,65,10
-	GROUPBOX        "Esempio",IDC_STATIC,104,71,142,36,WS_GROUP
-	CTEXT           "AaBbYyZz",AFX_IDC_SAMPLEBOX,110,80,130,22,SS_NOPREFIX |
-					NOT WS_VISIBLE
-END
-
-AFX_IDD_PROPPAGE_COLOR DIALOG DISCARDABLE  0, 0, 250, 62
-STYLE WS_CHILD | 0x4
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "&Proprietà:",IDC_STATIC,3,3,100,8
-	COMBOBOX        AFX_IDC_COLORPROP,3,13,100,54,CBS_DROPDOWNLIST |
-					CBS_SORT | WS_VSCROLL | WS_TABSTOP
-	LTEXT           "&Colore di sistema:",IDC_STATIC,3,29,100,8
-	COMBOBOX        AFX_IDC_SYSTEMCOLORS,3,39,100,54,CBS_DROPDOWNLIST |
-					CBS_SORT | WS_VSCROLL | WS_TABSTOP
-	CONTROL         "",AFX_IDC_COLOR_BLACK,"Button",BS_OWNERDRAW | WS_GROUP |
-					WS_TABSTOP,118,4,15,11
-	CONTROL         "",AFX_IDC_COLOR_BLUE,"Button",BS_OWNERDRAW,138,4,15,11
-	CONTROL         "",AFX_IDC_COLOR_CYAN,"Button",BS_OWNERDRAW,158,4,15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKBLUE,"Button",BS_OWNERDRAW,178,4,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_DARKCYAN,"Button",BS_OWNERDRAW,118,18,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKGREEN,"Button",BS_OWNERDRAW,138,18,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKMAGENTA,"Button",BS_OWNERDRAW,158,
-					18,15,11
-	CONTROL         "",AFX_IDC_COLOR_GRAY,"Button",BS_OWNERDRAW,178,18,15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKRED,"Button",BS_OWNERDRAW,118,32,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_GREEN,"Button",BS_OWNERDRAW,138,32,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_LIGHTBROWN,"Button",BS_OWNERDRAW,158,32,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_LIGHTGRAY,"Button",BS_OWNERDRAW,178,32,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_MAGENTA,"Button",BS_OWNERDRAW,118,46,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_RED,"Button",BS_OWNERDRAW,138,46,15,11
-	CONTROL         "",AFX_IDC_COLOR_WHITE,"Button",BS_OWNERDRAW,158,46,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_YELLOW,"Button",BS_OWNERDRAW,178,46,15,
-					11
-END
-
-AFX_IDD_PROPPAGE_PICTURE DIALOG DISCARDABLE  0, 0, 250, 62
-STYLE WS_CHILD | 0x4
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "&Proprietà:",IDC_STATIC,3,3,100,8
-	COMBOBOX        AFX_IDC_PROPNAME,3,13,100,30,CBS_DROPDOWNLIST | CBS_SORT |
-					WS_VSCROLL | WS_TABSTOP
-	PUSHBUTTON      "&Sfoglia...",AFX_IDC_BROWSE,3,35,54,14
-	PUSHBUTTON      "&Cancella",AFX_IDC_CLEAR,61,35,54,14
-	RTEXT           "Anteprima:",IDC_STATIC,107,3,42,16
-	CONTROL         "",AFX_IDC_PICTURE,"Static",SS_BLACKFRAME,151,4,93,54
-END
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Dialog Info
-//
-
-AFX_IDD_PROPPAGE_FONT DLGINIT
-BEGIN
-	1002, 0x403, 12, 0
-0x6f42, 0x646c, 0x4920, 0x6174, 0x696c, 0x0063,
-	0
-END
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// String Table
-//
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_PROPPAGE_UNKNOWN "(Sconosciuto)"
-	AFX_IDS_COLOR_DESKTOP   "Desktop"
-	AFX_IDS_COLOR_APPWORKSPACE "Area di lavoro dell'applicazione"
-	AFX_IDS_COLOR_WNDBACKGND "Sfondo della finestra"
-	AFX_IDS_COLOR_WNDTEXT   "Testo della finestra"
-	AFX_IDS_COLOR_MENUBAR   "Barra dei menu"
-	AFX_IDS_COLOR_MENUTEXT  "Testo dei menu"
-	AFX_IDS_COLOR_ACTIVEBAR "Barra del titolo attiva"
-	AFX_IDS_COLOR_INACTIVEBAR "Barra del titolo inattiva"
-	AFX_IDS_COLOR_ACTIVETEXT "Testo della barra del titolo attiva"
-	AFX_IDS_COLOR_INACTIVETEXT "Testo della barra del titolo inattiva"
-	AFX_IDS_COLOR_ACTIVEBORDER "Bordo attivo"
-	AFX_IDS_COLOR_INACTIVEBORDER "Bordo inattivo"
-END
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-
-STRINGTABLE DISCARDABLE
-BEGIN
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_COLOR_WNDFRAME  "Cornice della finestra"
-	AFX_IDS_COLOR_SCROLLBARS "Barre di scorrimento"
-	AFX_IDS_COLOR_BTNFACE   "Aspetto pulsante"
-	AFX_IDS_COLOR_BTNSHADOW "Ombreggiatura pulsante"
-	AFX_IDS_COLOR_BTNTEXT   "Testo del pulsante"
-	AFX_IDS_COLOR_BTNHIGHLIGHT "Evidenziazione del pulsante"
-	AFX_IDS_COLOR_DISABLEDTEXT "Testo disattivato"
-	AFX_IDS_COLOR_HIGHLIGHT "Evidenziazione"
-	AFX_IDS_COLOR_HIGHLIGHTTEXT "Testo evidenziato"
-	AFX_IDS_REGULAR         "Normale"
-	AFX_IDS_BOLD            "Grassetto"
-	AFX_IDS_ITALIC          "Corsivo"
-	AFX_IDS_BOLDITALIC      "Grassetto corsivo"
-	AFX_IDS_SAMPLETEXT      "AaBbYyZz"
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_DISPLAYSTRING_FONT "(Tipo di carattere)"
-	AFX_IDS_DISPLAYSTRING_COLOR "(Colore)"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_DISPLAYSTRING_PICTURE "(Immagine - %s)"
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_PICTUREFILTER   "Tutte le immagini |*.bmp;*.cur;*.dib;*.emf;*.ico;*.wmf|Bitmap (*.bmp;*.dib)|*.bmp;*.dib|Icone/cursori (*.ico;*.cur)|*.ico;*.cur|Metafile (*.wmf;*.emf)|*.wmf;*.emf|Tutti i file (*.*)|*.*||"
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_PICTYPE_UNKNOWN "Sconosciuto"
-	AFX_IDS_PICTYPE_NONE    "Nessuno"
-	AFX_IDS_PICTYPE_BITMAP  "Bitmap"
-	AFX_IDS_PICTYPE_METAFILE "Metafile"
-	AFX_IDS_PICTYPE_ICON    "Icona"
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_COLOR_PPG       "Scheda delle proprietà del colore"
-	AFX_IDS_COLOR_PPG_CAPTION "Colori"
-	AFX_IDS_FONT_PPG        "Scheda delle proprietà dei caratteri"
-	AFX_IDS_FONT_PPG_CAPTION "Caratteri"
-	AFX_IDS_PICTURE_PPG     "Scheda delle proprietà delle immagini"
-	AFX_IDS_PICTURE_PPG_CAPTION "Immagini"
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_BORDERSTYLE_0   "0 - None"
-	AFX_IDS_BORDERSTYLE_1   "1 - Fixed Single"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_VERB_EDIT       "&Modifica"
-	AFX_IDS_VERB_PROPERTIES "&Proprietà..."
-END
-
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_PICTURECANTOPEN "Impossibile aprire il file immagine %1. Il file non esiste o è illeggibile."
-	AFX_IDP_PICTURECANTLOAD "Impossibile caricare il file immagine %1. È possibile che il formato del file non sia valido."
-	AFX_IDP_PICTURETOOLARGE "Impossibile caricare l'immagine %1. Il file è troppo grande per essere contenuto in memoria."
-	AFX_IDP_PICTUREREADFAILED
-							"Impossibile caricare l'immagine %1. Errore di lettura non definito. "
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_PICTUREBROWSETITLE "Sfoglia immagini"
-END
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-
-#ifndef _AFX_NO_CTLERROR_RESOURCES
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_E_ILLEGALFUNCTIONCALL "Chiamata di funzione non valida"
-	AFX_IDP_E_OVERFLOW      "Overflow"
-	AFX_IDP_E_OUTOFMEMORY   "Memoria esaurita"
-	AFX_IDP_E_DIVISIONBYZERO "Divisione per zero"
-	AFX_IDP_E_OUTOFSTRINGSPACE "Spazio della stringa esaurito"
-	AFX_IDP_E_OUTOFSTACKSPACE "Spazio dello stack esaurito"
-	AFX_IDP_E_BADFILENAMEORNUMBER "Nome o numero di file non valido"
-	AFX_IDP_E_FILENOTFOUND  "Impossibile trovare il file"
-	AFX_IDP_E_BADFILEMODE   "Modalità file non valida"
-	AFX_IDP_E_FILEALREADYOPEN "File già aperto"
-	AFX_IDP_E_DEVICEIOERROR "Errore di I/O sulla periferica"
-	AFX_IDP_E_FILEALREADYEXISTS "File già esistente"
-	AFX_IDP_E_BADRECORDLENGTH "Lunghezza record non valida"
-	AFX_IDP_E_DISKFULL      "Disco pieno"
-	AFX_IDP_E_BADRECORDNUMBER "Numero record non valido"
-	AFX_IDP_E_BADFILENAME   "Nome file non valido"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_E_TOOMANYFILES  "Troppi file"
-	AFX_IDP_E_DEVICEUNAVAILABLE "Periferica non disponibile"
-	AFX_IDP_E_PERMISSIONDENIED "Permesso negato"
-	AFX_IDP_E_DISKNOTREADY  "Disco non pronto"
-	AFX_IDP_E_PATHFILEACCESSERROR "Errore di accesso al percorso o al file"
-	AFX_IDP_E_PATHNOTFOUND  "Impossibile trovare il percorso"
-	AFX_IDP_E_INVALIDPATTERNSTRING "Stringa di ricerca non valida"
-	AFX_IDP_E_INVALIDUSEOFNULL "Utilizzo di Null non valido"
-	AFX_IDP_E_INVALIDFILEFORMAT "Formato file non valido"
-	AFX_IDP_E_INVALIDPROPERTYVALUE "Valore della proprietà non valido"
-	AFX_IDP_E_INVALIDPROPERTYARRAYINDEX "Indice della matrice non valido"
-	AFX_IDP_E_SETNOTSUPPORTEDATRUNTIME "Impossibile impostare la proprietà in fase di esecuzione"
-	AFX_IDP_E_SETNOTSUPPORTED "La proprietà è di sola lettura"
-	AFX_IDP_E_NEEDPROPERTYARRAYINDEX
-							"È necessario specificare un indice di matrice quando si utilizza una matrice di proprietà"
-	AFX_IDP_E_SETNOTPERMITTED "Impossibile impostare la proprietà per questo controllo"
-	AFX_IDP_E_GETNOTSUPPORTEDATRUNTIME "Impossibile leggere la proprietà in fase di esecuzione"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_E_GETNOTSUPPORTED "La proprietà è di sola scrittura"
-	AFX_IDP_E_PROPERTYNOTFOUND "Impossibile trovare la proprietà"
-	AFX_IDP_E_INVALIDCLIPBOARDFORMAT "Formato Appunti non valido"
-	AFX_IDP_E_INVALIDPICTURE "Immagine non valida"
-	AFX_IDP_E_PRINTERERROR  "Errore della stampante"
-	AFX_IDP_E_CANTSAVEFILETOTEMP
-							"Impossibile creare un file temporaneo necessario per il salvataggio"
-	AFX_IDP_E_SEARCHTEXTNOTFOUND "Testo della ricerca non trovato"
-	AFX_IDP_E_REPLACEMENTSTOOLONG "Testo sostitutivo troppo lungo"
-END
-#endif //!_AFX_NO_CTLERROR_RESOURCES
-
-#endif //!_AFXDLL
-#endif //__AFXOLECL_RC__

+ 0 - 105
libs/mfc/include/Ita/afxdb.rc

@@ -1,105 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXDB_RC__
-#define __AFXDB_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< Impossibile modificare le risorse standard MFC >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// Database Resources
-
-// Database strings
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_SQL_CONNECT_FAIL
-		"Tentativo di connessione alla fonte dati esterna non riuscito"
-	AFX_IDP_SQL_RECORDSET_FORWARD_ONLY
-		"Il set di record supporta solo il movimento in avanti."
-	AFX_IDP_SQL_EMPTY_COLUMN_LIST
-		"Tentativo di aprire una tabella non riuscito. Non c'erano colonne da recuperare dove specificato. "
-	AFX_IDP_SQL_FIELD_SCHEMA_MISMATCH
-		"La ricerca ha fornito tipi di dati inattesi per le colonne."
-	AFX_IDP_SQL_ILLEGAL_MODE "Tentativo di aggiornamento o di cancellazione non riuscito."
-	AFX_IDP_SQL_MULTIPLE_ROWS_AFFECTED "Sono state aggiornate righe multiple."
-	AFX_IDP_SQL_NO_CURRENT_RECORD "Operazione non riuscita, nessun record corrente."
-	AFX_IDP_SQL_NO_ROWS_AFFECTED
-		"Nessuna riga è stata influenzata dall'operazione di aggiornamento o di cancellazione."
-	AFX_IDP_SQL_RECORDSET_READONLY "Il set di record è di sola lettura"
-	AFX_IDP_SQL_SQL_NO_TOTAL
-		"Il driver ODBC non supporta il modello dati MFC LongBinary."
-	AFX_IDP_SQL_ODBC_LOAD_FAILED
-		"Tentativo di caricare la componente richiesta ODBC32.DLL non riuscito."
-	AFX_IDP_SQL_DYNASET_NOT_SUPPORTED
-		"Il driver ODBC non supporta i dynaset."
-	AFX_IDP_SQL_SNAPSHOT_NOT_SUPPORTED
-		"Puntatori statici ODBC richiesti per il supporto dell'anteprima."
-	AFX_IDP_SQL_API_CONFORMANCE
-		"Il driver ODBC è incompatibile con le classi di database MFC (utilizzare API_CONFORMANCE >= SQL_OAC_LEVEL1)"
-	AFX_IDP_SQL_SQL_CONFORMANCE
-		"Il driver ODBC è incompatibile con le classi di database MFC (utilizzare SQL_CONFORMANCE >= SQL_OSC_MINIMUM)"
-	AFX_IDP_SQL_NO_DATA_FOUND
-		"Tentativo di scorrere i dati oltre la fine o prima dell'inizio."
-	AFX_IDP_SQL_ROW_UPDATE_NOT_SUPPORTED
-		"Il driver ODBC non supporta i dynaset."
-	AFX_IDP_SQL_ODBC_V2_REQUIRED
-		"È richiesto un driver conforme al livello 2 di ODBC."
-	AFX_IDP_SQL_NO_POSITIONED_UPDATES
-		"Il driver ODBC non supporta gli aggiornamenti dipendenti dalla posizione."
-	AFX_IDP_SQL_LOCK_MODE_NOT_SUPPORTED
-		"La modalità blocco richiesta non è supportata."
-	AFX_IDP_SQL_DATA_TRUNCATED
-		"Dati troncati."
-	AFX_IDP_SQL_ROW_FETCH
-		"Errore nel recupero di record."
-	AFX_IDP_SQL_INCORRECT_ODBC
-		"Non è stato trovato un punto di ingresso ODBC richiesto. Assicurarsi che ODBC sia installato correttamente."
-	AFX_IDP_SQL_UPDATE_DELETE_FAILED
-		"Aggiornamento o cancellazione non riusciti."
-	AFX_IDP_SQL_DYNAMIC_CURSOR_NOT_SUPPORTED
-		"Cursore dinamico non supportato dal driver ODBC."
-	AFX_IDP_SQL_FIELD_NOT_FOUND
-		"Nome di campo o indice non valido."
-	AFX_IDP_SQL_BOOKMARKS_NOT_SUPPORTED
-		"Segnalibro non supportato per il driver ODBC."
-	AFX_IDP_SQL_BOOKMARKS_NOT_ENABLED
-		"Segnalibro non attivo sul recordset."
-	AFX_IDP_DAO_ENGINE_INITIALIZATION
-		"Non è possibile inizializzare il motore del db DAO/Jet."
-	AFX_IDP_DAO_DFX_BIND
-		"Il valore del parametro DFX non è valido."
-	AFX_IDP_DAO_OBJECT_NOT_OPEN
-		"Il DAO TableDef o QueryDef non sono aperti."
-	AFX_IDP_DAO_ROWTOOSHORT
-		"Errore GetRows. Memoria insufficiente per la fila." 
-	AFX_IDP_DAO_BADBINDINFO
-		"Errore GetRows di collegamento. Probabilmente causato da un tipo di dati non corrispondente."
-	AFX_IDP_DAO_COLUMNUNAVAILABLE
-		"Errore GetRows. La colonna richiesta non fa parte di questo set di record."
-
-	AFX_IDS_DELETED "<Cancellato>"
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXDB_RC__

+ 0 - 66
libs/mfc/include/Ita/afxolecl.rc

@@ -1,66 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXOLECL_RC__
-#define __AFXOLECL_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifndef _INC_DLGS
-	#include <dlgs.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< Impossibile modificare le risorse standard MFC >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Client Resources
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE strings
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_STATIC_OBJECT           "Impossibile attivare un oggetto statico ActiveX."
-	AFX_IDP_FAILED_TO_CONNECT       "Connessione non riuscita.\nIl collegamento potrebbe essere interrotto."
-	AFX_IDP_SERVER_BUSY             "Impossibile elaborare il comando, il server è impegnato."
-	AFX_IDP_BAD_VERB                "Impossibile eseguire l'operazione sul server."
-	AFX_IDP_FAILED_TO_LAUNCH        "Impossibile avviare l'applicazione sul server."
-	AFX_IDS_UPDATING_ITEMS          "Aggiornamento in corso oggetti ActiveX"
-	AFX_IDP_FAILED_TO_CONVERT       "Conversione dell'oggetto ActiveX fallita."
-	AFX_IDP_ASK_TO_DISCARD          "Impossiblie salvare oggetti ActiveX durante l'uscita da Windows!\nAnnullare tutte le modifiche a %1?"
-	AFX_IDP_FAILED_TO_CREATE        "Errore nel creare l'oggetto.  Assicurarsi che l'applicazione sia inclusa nel registro del sistema."
-
-	AFX_IDS_METAFILE_FORMAT         "Illustrazione (Metafile)\na illustrazione "
-	AFX_IDS_DIB_FORMAT              "Device Indipendent Bitmap\na bitmap indipendente dalla periferica"
-	AFX_IDS_BITMAP_FORMAT           "Bitmap\na bitmap"
-	AFX_IDS_LINKSOURCE_FORMAT       "%s\n%s"
-	AFX_IDS_EMBED_FORMAT            "%s\n%s"
-	AFX_IDS_RTF_FORMAT              "Formato RTF\ntesto con formattazione di carattere e di paragrafo"
-	AFX_IDS_TEXT_FORMAT             "Testo non formattato\ntesto senza alcuna formattazione"
-
-	AFX_IDS_INVALID_CURRENCY        "Formato valuta non valido."
-	AFX_IDS_INVALID_DATETIME        "Formato data/ora non valido."
-	AFX_IDS_INVALID_DATETIMESPAN    "Periodo di tempo non valido."
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXOLECL_RC__

+ 0 - 53
libs/mfc/include/Ita/afxolesv.rc

@@ -1,53 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXOLESV_RC__
-#define __AFXOLESV_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< Impossibile modificare le risorse standard MFC >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Server Resources
-
-// OLE strings
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_ASK_TO_UPDATE,              "Aggiornare %1 prima di procedere?"
-	AFX_IDP_FAILED_TO_UPDATE,           "Impossibile aggiornare il client."
-
-	AFX_IDP_FAILED_TO_REGISTER,         "Registrazione fallita. Le funzionalità ActiveX potrebbero non funzionare correttamente."
-	AFX_IDP_FAILED_TO_AUTO_REGISTER,    "Impossibile aggiornare il registro di sistema.\nProvare utilizzando REGEDIT."
-END
-
-STRINGTABLE PRELOAD
-BEGIN
-	AFX_IDS_APP_TITLE_EMBEDDING,        "%1 in %2"
-	AFX_IDS_OBJ_TITLE_INPLACE,          "%1 - %2"
-	AFX_IDS_EXIT_MENU,                  "&Esci && ritorna a %1"
-	AFX_IDS_UPDATE_MENU,                "&Aggiorna %1"
-	AFX_IDS_SAVEFILECOPY,               "Salva copia con nome"
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXOLESV_RC__

+ 0 - 90
libs/mfc/include/Ita/afxprint.rc

@@ -1,90 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXPRINT_RC__
-#define __AFXPRINT_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< Impossibile modificare le risorse standard MFC >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// Printing Resources
-
-AFX_IDC_MAGNIFY         CURSOR  DISCARDABLE     "res\\magnify.cur"
-
-AFX_IDD_PRINTDLG DIALOG DISCARDABLE  6, 18, 133, 95
-STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | 0x04
-FONT 8, "MS Shell Dlg"
-BEGIN
-	CTEXT           "Stampa in corso",IDC_STATIC,0,9,133,8
-	CTEXT           "",AFX_IDC_PRINT_DOCNAME,0,19,133,8
-	CTEXT           "sul",IDC_STATIC,0,29,133,8
-	CTEXT           "",AFX_IDC_PRINT_PRINTERNAME,0,39,133,8
-	CTEXT           "",AFX_IDC_PRINT_PORTNAME,0,49,133,8
-	CTEXT           "",AFX_IDC_PRINT_PAGENUM,0,59,133,8
-	PUSHBUTTON      "Annulla",IDCANCEL,46,74,40,14
-END
-
-// Preview Toolbar Dialog
-AFX_IDD_PREVIEW_TOOLBAR DIALOG PRELOAD DISCARDABLE  0, 0, 330, 16
-STYLE WS_CHILD | 0x04
-FONT 8, "MS Shell Dlg"
-BEGIN
-	PUSHBUTTON      "Stam&pa...",AFX_ID_PREVIEW_PRINT,2,2,44,12
-	PUSHBUTTON      "Pag. &succes.",AFX_ID_PREVIEW_NEXT,48,2,44,12
-	PUSHBUTTON      "Pag. p&reced.",AFX_ID_PREVIEW_PREV,94,2,44,12
-	PUSHBUTTON      "",AFX_ID_PREVIEW_NUMPAGE,140,2,44,12
-	PUSHBUTTON      "Ingrand&isci",AFX_ID_PREVIEW_ZOOMIN,186,2,44,12
-	PUSHBUTTON      "Ri&duci",AFX_ID_PREVIEW_ZOOMOUT,232,2,44,12
-	PUSHBUTTON      "&Chiudi",AFX_ID_PREVIEW_CLOSE,278,2,44,12
-END
-
-// Printing strings
-STRINGTABLE DISCARDABLE
-BEGIN
-	// print progress dialog strings
-	AFX_IDS_PRINTONPORT,            "su %1"         // for print output
-	AFX_IDS_ONEPAGE,                "&Una pagina"     // for preview button
-	AFX_IDS_TWOPAGE,                "&Due pagine"     // for preview button
-	AFX_IDS_PRINTPAGENUM,           "Pagina %u"       // for print output
-	AFX_IDS_PREVIEWPAGEDESC,        "Pagina %u\nPagine %u-%u\n"
-
-	// print to file dialog strings
-	AFX_IDS_PRINTDEFAULTEXT,        "prn"           // default extension
-	AFX_IDS_PRINTDEFAULT,           "Output.prn"    // default file
-	AFX_IDS_PRINTFILTER,
-		"File della stampante (*.prn)|*.prn|Tutti i file (*.*)|*.*||"
-	AFX_IDS_PRINTCAPTION,           "Stampa su file" // caption for browse dlg
-	AFX_IDS_PRINTTOFILE,            "su %1"         // to file
-END
-
-// Print Preview Accelerator Table
-AFX_IDR_PREVIEW_ACCEL ACCELERATORS LOADONCALL MOVEABLE
-BEGIN
-	VK_NEXT,    AFX_ID_PREVIEW_NEXT,    VIRTKEY, NOINVERT
-	VK_PRIOR,   AFX_ID_PREVIEW_PREV,    VIRTKEY, NOINVERT
-	VK_ESCAPE,  AFX_ID_PREVIEW_CLOSE,   VIRTKEY, NOINVERT
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXPRINT_RC__

+ 0 - 202
libs/mfc/include/Ita/afxres.rc

@@ -1,202 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXRES_RC__
-#define __AFXRES_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< Impossibile modificare le risorse MFC standard >\0 "
-END
-#endif //APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// Default resource description for MFC applications
-/////////////////////////////////////////////////////////////////////////////
-
-/////////////////////////////////////////////////////////////////////////////
-// Strings
-
-STRINGTABLE DISCARDABLE
-BEGIN
-#ifndef _AFX_NO_APPMENU_RESOURCES
-	AFX_IDS_OPENFILE,               "Apri"
-	AFX_IDS_SAVEFILE,               "Salva con nome"
-	AFX_IDS_ALLFILTER,              "Tutti i file (*.*)"
-	AFX_IDS_UNTITLED,               "Senza titolo"
-	AFX_IDS_HIDE,                   "&Nascondi"
-#endif // !_AFX_NO_APPMENUSTRING_RESOURCES
-
-	AFX_IDS_MEMORY_EXCEPTION,       "Memoria insufficiente."
-	AFX_IDS_NOT_SUPPORTED_EXCEPTION,"È stata tentata un'operazione non supportata."
-	AFX_IDS_RESOURCE_EXCEPTION,     "Una risorsa richiesta non era disponibile."
-	AFX_IDS_USER_EXCEPTION,         "Si Š verificato un errore sconosciuto."
-
-	// General error prompts
-#ifndef _AFX_NO_FILECMD_RESOURCES
-	AFX_IDP_INVALID_FILENAME,       "Nome file non valido."
-	AFX_IDP_FAILED_TO_OPEN_DOC,     "Impossibile aprire il documento."
-	AFX_IDP_FAILED_TO_SAVE_DOC,     "Impossibile salvare il documento."
-	AFX_IDP_ASK_TO_SAVE,            "Salvare le modifiche a %1?"
-	AFX_IDP_FAILED_TO_CREATE_DOC,   "Impossibile creare un documento vuoto."
-	AFX_IDP_FILE_TOO_LARGE,         "Il file è troppo grande per essere aperto."
-	AFX_IDP_FAILED_TO_START_PRINT,  "Impossibile avviare il lavoro di stampa."
-#endif // !_AFX_NO_FILECMD_RESOURCES
-	AFX_IDP_FAILED_TO_LAUNCH_HELP,  "Impossibile avviare la Guida."
-	AFX_IDP_INTERNAL_FAILURE,       "Errore interno dell'applicazione."
-	AFX_IDP_COMMAND_FAILURE,        "Comando non riuscito."
-	AFX_IDP_FAILED_MEMORY_ALLOC     "Memoria insufficiente per eseguire l'operazione."
-	AFX_IDP_GET_NOT_SUPPORTED,      "Impossibile leggere la proprietà in sola scrittura."
-	AFX_IDP_SET_NOT_SUPPORTED,      "Impossibile scrivere la proprietà in sola lettura."
-	AFX_IDP_UNREG_DONE,               "Le voci del registro di sistema sono state rimosse e il file .INI (se presente) è stato rimosso."
-	AFX_IDP_UNREG_FAILURE,            "Non tutte le voci del registro di sistema (o il file .INI) sono state rimosse."
-	AFX_IDP_DLL_LOAD_FAILED,        "Questo programma richiede %s, che è assente in questo sistema."
-	AFX_IDP_DLL_BAD_VERSION,        "Questo programma è collegato alla funzione esportata %s, assente dal file %s. Il sistema potrebbe avere una versione incompatibile di %s."
-
-	// CFile/CArchive error strings for user failure
-#ifndef _AFX_NO_CFILE_RESOURCES
-	AFX_IDP_FAILED_INVALID_FORMAT   "Formato file inatteso."
-	AFX_IDP_FAILED_INVALID_PATH     "%1\nImpossibile trovare questo file.\nVerificare che siano stati forniti il percorso e il nome del file corretti."
-	AFX_IDP_FAILED_DISK_FULL        "L'unità disco di destinazione è piena."
-	AFX_IDP_FAILED_ACCESS_READ      "Impossibile leggere da %1, è già aperto da un altro utente."
-	AFX_IDP_FAILED_ACCESS_WRITE     "Impossibile scrivere su %1, è di sola lettura o già aperto."
-	AFX_IDP_FAILED_IO_ERROR_READ    "Errore inatteso durante la lettura di %1."
-	AFX_IDP_FAILED_IO_ERROR_WRITE   "Errore inatteso durante la scrittura di %1."
-#endif // !_AFX_NO_CFILE_RESOURCES
-
-	// Parsing error prompts
-	AFX_IDP_PARSE_INT,              "Digitare un numero intero."
-	AFX_IDP_PARSE_REAL,             "Digitare un numero."
-	AFX_IDP_PARSE_INT_RANGE,        "Digitare un numero intero compreso tra %1 e %2."
-	AFX_IDP_PARSE_REAL_RANGE,       "Digitare un numero compreso tra %1 e %2."
-	AFX_IDP_PARSE_STRING_SIZE,      "Non digitare più di %1 caratteri."
-	AFX_IDP_PARSE_RADIO_BUTTON,     "Selezionare un pulsante."
-	AFX_IDP_PARSE_BYTE,             "Digitare un intero compreso tra 0 e 255."
-	AFX_IDP_PARSE_UINT,             "Digitare un numero intero positivo."
-	AFX_IDP_PARSE_DATETIME,         "Digitare una data e/o un'ora."
-	AFX_IDP_PARSE_CURRENCY,         "Digitare un tipo di valuta."
-
-#ifndef _AFX_NO_OLE_RESOURCES
-	// OLE strings required for both servers and containers
-	AFX_IDS_PASTELINKEDTYPE         "Collegato %s"
-	AFX_IDS_UNKNOWNTYPE             "Tipo sconosciuto"
-	AFX_IDP_FAILED_TO_NOTIFY        "%1\nImpossibile registrare il documento.\nIl documento potrebbe essere già aperto."
-	AFX_IDS_NOT_DOCOBJECT           "Il file non e' supportato da un server Document Object."
-#endif //!_AFX_NO_OLE_RESOURCES
-
-	AFX_IDP_NO_ERROR_AVAILABLE      "Nessun messaggio di errore è disponibile."
-
-#ifndef _AFX_NO_CFILE_RESOURCES
-	AFX_IDP_FILE_NONE                "Non si è verificato alcun errore."
-	AFX_IDP_FILE_GENERIC             "Si è verificato un errore sconosciuto durante l'accesso a %1."
-	AFX_IDP_FILE_NOT_FOUND           "%1 non trovato."
-	AFX_IDP_FILE_BAD_PATH            "%1 contiene un percorso non valido."
-	AFX_IDP_FILE_TOO_MANY_OPEN       "Non è stato possibile aprire %1 poiché vi sono troppi file aperti."
-	AFX_IDP_FILE_ACCESS_DENIED       "Accesso a %1 negato."
-	AFX_IDP_FILE_INVALID_FILE        "Un gestore di file non valido è stato associato a %1."
-	AFX_IDP_FILE_REMOVE_CURRENT      "Impossibile rimuovere %1 poiché è la directory corrente."
-	AFX_IDP_FILE_DIR_FULL            "Impossibile creare %1 poiché la directory è piena."
-	AFX_IDP_FILE_BAD_SEEK            "Ricerca fallita su %1"
-	AFX_IDP_FILE_HARD_IO             "Nell'accesso a %1 è stato registrato un errore hardware di I/O. "
-	AFX_IDP_FILE_SHARING             "Durante l'accesso a %1 si è verificata una violazione di condivisione."
-	AFX_IDP_FILE_LOCKING             "Durante l'accesso a %1 si è verificata una violazione di blocco."
-	AFX_IDP_FILE_DISKFULL            "Disco pieno durante l'accesso a %1."
-	AFX_IDP_FILE_EOF                 "È stato fatto un tentativo di accedere a %1 oltre la sua fine."
-	AFX_IDS_UNNAMED_FILE             "un file senza nome"
-#endif // !_AFX_NO_CFILE_RESOURCES
-
-	AFX_IDP_ARCH_NONE               "Non si è verificato alcun errore."
-	AFX_IDP_ARCH_GENERIC                "Si è verificato un errore sconosciuto durante l'accesso a %1."
-	AFX_IDP_ARCH_READONLY           "Si è tentato di scrivere sulla lettura %1."
-	AFX_IDP_ARCH_ENDOFFILE          "È stato fatto un tentativo di accedere a %1 oltre la sua fine."
-	AFX_IDP_ARCH_WRITEONLY          "Si è tentato di leggere dalla scrittura di %1."
-	AFX_IDP_ARCH_BADINDEX           "Formato di %1 non valido."
-	AFX_IDP_ARCH_BADCLASS           "%1 conteneva un oggetto inatteso."
-	AFX_IDP_ARCH_BADSCHEMA          "%1 contiene uno schema errato."
-
-#ifndef _AFX_NO_MAPI_RESOURCES
-	// MAPI strings / error messages
-	AFX_IDP_FAILED_MAPI_LOAD        "Impossibile caricare il supporto di sistema per la posta elettronica."
-	AFX_IDP_INVALID_MAPI_DLL        "La DLL del sistema di posta elettronica non è valida."
-	AFX_IDP_FAILED_MAPI_SEND        "Impossibile inviare un messaggio con il comando di invio."
-#endif //!_AFX_NO_MAPI_RESOURCES
-
-#ifndef _AFX_NO_OCC_RESOURCES
-	AFX_IDS_OCC_SCALEUNITS_PIXELS   "pixel"
-#endif //!_AFX_NO_OCC_RESOURCES
-END
-
-/////////////////////////////////////////////////////////////////////////////
-// Cursors
-
-AFX_IDC_CONTEXTHELP     CURSOR  DISCARDABLE     "res\\help.cur"
-
-#ifndef _AFX_NO_SPLITTER_RESOURCES
-AFX_IDC_SMALLARROWS     CURSOR  DISCARDABLE     "res\\sarrows.cur"
-AFX_IDC_HSPLITBAR       CURSOR  DISCARDABLE     "res\\splith.cur"
-AFX_IDC_VSPLITBAR       CURSOR  DISCARDABLE     "res\\splitv.cur"
-AFX_IDC_NODROPCRSR      CURSOR  DISCARDABLE     "res\\nodrop.cur"
-#endif //!_AFX_NO_SPLITTER_RESOURCES
-
-#ifndef _AFX_NO_TRACKER_RESOURCES
-AFX_IDC_TRACKNWSE       CURSOR  DISCARDABLE     "res\\trcknwse.cur"
-AFX_IDC_TRACKNESW       CURSOR  DISCARDABLE     "res\\trcknesw.cur"
-AFX_IDC_TRACKNS         CURSOR  DISCARDABLE     "res\\trckns.cur"
-AFX_IDC_TRACKWE         CURSOR  DISCARDABLE     "res\\trckwe.cur"
-AFX_IDC_TRACK4WAY       CURSOR  DISCARDABLE     "res\\trck4way.cur"
-AFX_IDC_MOVE4WAY        CURSOR  DISCARDABLE     "res\\move4way.cur"
-#endif //!_AFX_NO_TRACKER_RESOURCES
-
-#ifndef _AFX_NO_CTL3D_RESOURCES
-26567 BITMAP "res\\3dcheck.bmp" // Note: 26567 comes from CTL3D.H
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// Standard Dialogs
-
-#ifndef _AFX_NO_NEWTYPEDLG_RESOURCES
-AFX_IDD_NEWTYPEDLG DIALOG DISCARDABLE  9, 26, 183, 70
-STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | 0x04
-CAPTION "Nuovo"
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "&Nuovo",IDC_STATIC,6,5,123,8,NOT WS_GROUP
-	LISTBOX         AFX_IDC_LISTBOX,6,15,125,49,WS_VSCROLL | WS_TABSTOP
-	DEFPUSHBUTTON   "OK",IDOK,137,6,40,14
-	PUSHBUTTON      "Annulla",IDCANCEL,137,23,40,14
-	PUSHBUTTON      "&?",ID_HELP,137,43,40,14
-END
-#endif // !_AFX_NO_NEWTYPEDLG_RESOURCES
-
-/////////////////////////////////////////////////////////////////////////////
-// CMiniFrameWnd Bitmap
-
-AFX_IDB_MINIFRAME_MENU      BITMAP  DISCARDABLE     "res\\minifwnd.bmp"
-
-/////////////////////////////////////////////////////////////////////////////
-// CCheckListBox Bitmaps
-
-AFX_IDB_CHECKLISTBOX_NT     BITMAP  DISCARDABLE     "res\\ntcheck.bmp"
-AFX_IDB_CHECKLISTBOX_95     BITMAP  DISCARDABLE     "res\\95check.bmp"
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //!__AFXRES_RC__
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 284
libs/mfc/include/Jpn/afxctl.rc

@@ -1,284 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXCTL_RC__
-#define __AFXCTL_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< 標準 MFC リソースの変更はできません! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Control Resources
-
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-/////////////////////////////////////////////////////////////////////////////
-//
-// Bitmap
-//
-
-AFX_IDB_TRUETYPE        BITMAP  DISCARDABLE     "RES\\TRUETYPE.BMP"
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Dialog
-//
-
-AFX_IDD_PROPPAGE_FONT DIALOG DISCARDABLE  13, 54, 250, 110
-STYLE WS_CHILD | 0x4
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "プロパティ名(&N):",IDC_STATIC,3,5,61,8
-	COMBOBOX        AFX_IDC_FONTPROP,65,3,100,71,CBS_DROPDOWNLIST | CBS_SORT |
-					WS_VSCROLL | WS_TABSTOP
-	LTEXT           "フォント名(&F):",IDC_STATIC,3,19,91,8
-	COMBOBOX        AFX_IDC_FONTNAMES,3,29,91,77,CBS_SIMPLE |
-					CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT |
-					CBS_HASSTRINGS | CBS_DISABLENOSCROLL | WS_VSCROLL |
-					WS_TABSTOP
-	LTEXT           "スタイル(&Y):",IDC_STATIC,102,19,53,8
-	COMBOBOX        AFX_IDC_FONTSTYLES,104,29,53,53,CBS_DROPDOWNLIST |
-					CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
-	LTEXT           "サイズ(&S):",IDC_STATIC,167,19,40,8
-	COMBOBOX        AFX_IDC_FONTSIZES,167,29,36,53,CBS_DROPDOWN | CBS_SORT |
-					CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
-	GROUPBOX        "文字飾り",IDC_STATIC,104,44,142,24,WS_GROUP
-	CONTROL         "取り消し線(&K)",AFX_IDC_STRIKEOUT,"Button",BS_AUTOCHECKBOX |
-					WS_TABSTOP,109,55,65,10
-	CONTROL         "下線(&U)",AFX_IDC_UNDERLINE,"Button",BS_AUTOCHECKBOX |
-					WS_TABSTOP,175,55,65,10
-	GROUPBOX        "サンプル",IDC_STATIC,104,71,142,36,WS_GROUP
-	CTEXT           "AaBbYyZz",AFX_IDC_SAMPLEBOX,110,80,130,22,SS_NOPREFIX |
-					NOT WS_VISIBLE
-END
-
-AFX_IDD_PROPPAGE_COLOR DIALOG DISCARDABLE  0, 0, 250, 62
-STYLE WS_CHILD | 0x4
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "プロパティ名(&N):",IDC_STATIC,3,3,100,8
-	COMBOBOX        AFX_IDC_COLORPROP,3,13,100,54,CBS_DROPDOWNLIST |
-					CBS_SORT | WS_VSCROLL | WS_TABSTOP
-	LTEXT           "システム カラー(&C):",IDC_STATIC,3,29,100,8
-	COMBOBOX        AFX_IDC_SYSTEMCOLORS,3,39,100,54,CBS_DROPDOWNLIST |
-					CBS_SORT | WS_VSCROLL | WS_TABSTOP
-	CONTROL         "",AFX_IDC_COLOR_BLACK,"Button",BS_OWNERDRAW | WS_GROUP |
-					WS_TABSTOP,118,4,15,11
-	CONTROL         "",AFX_IDC_COLOR_BLUE,"Button",BS_OWNERDRAW,138,4,15,11
-	CONTROL         "",AFX_IDC_COLOR_CYAN,"Button",BS_OWNERDRAW,158,4,15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKBLUE,"Button",BS_OWNERDRAW,178,4,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_DARKCYAN,"Button",BS_OWNERDRAW,118,18,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKGREEN,"Button",BS_OWNERDRAW,138,18,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKMAGENTA,"Button",BS_OWNERDRAW,158,
-					18,15,11
-	CONTROL         "",AFX_IDC_COLOR_GRAY,"Button",BS_OWNERDRAW,178,18,15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKRED,"Button",BS_OWNERDRAW,118,32,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_GREEN,"Button",BS_OWNERDRAW,138,32,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_LIGHTBROWN,"Button",BS_OWNERDRAW,158,32,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_LIGHTGRAY,"Button",BS_OWNERDRAW,178,32,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_MAGENTA,"Button",BS_OWNERDRAW,118,46,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_RED,"Button",BS_OWNERDRAW,138,46,15,11
-	CONTROL         "",AFX_IDC_COLOR_WHITE,"Button",BS_OWNERDRAW,158,46,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_YELLOW,"Button",BS_OWNERDRAW,178,46,15,
-					11
-END
-
-AFX_IDD_PROPPAGE_PICTURE DIALOG DISCARDABLE  0, 0, 250, 62
-STYLE WS_CHILD | 0x4
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "プロパティ名(&N):",IDC_STATIC,3,3,100,8
-	COMBOBOX        AFX_IDC_PROPNAME,3,13,100,30,CBS_DROPDOWNLIST | CBS_SORT |
-					WS_VSCROLL | WS_TABSTOP
-	PUSHBUTTON      "参照(&B)...",AFX_IDC_BROWSE,3,35,54,14
-	PUSHBUTTON      "クリア(&C)",AFX_IDC_CLEAR,61,35,54,14
-	RTEXT           "プレビュー:",IDC_STATIC,107,3,42,16
-	CONTROL         "",AFX_IDC_PICTURE,"Static",SS_BLACKFRAME,151,4,93,54
-END
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Dialog Info
-//
-
-AFX_IDD_PROPPAGE_FONT DLGINIT
-BEGIN
-	1002, 0x403, 12, 0
-0x6f42, 0x646c, 0x4920, 0x6174, 0x696c, 0x0063,
-	0
-END
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// String Table
-//
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_PROPPAGE_UNKNOWN "(不明)"
-	AFX_IDS_COLOR_DESKTOP   "デスクトップ"
-	AFX_IDS_COLOR_APPWORKSPACE "作業する領域"
-	AFX_IDS_COLOR_WNDBACKGND "ウィンドウの背景"
-	AFX_IDS_COLOR_WNDTEXT   "ウィンドウ内の文字"
-	AFX_IDS_COLOR_MENUBAR   "メニュー バー"
-	AFX_IDS_COLOR_MENUTEXT  "メニューの文字"
-	AFX_IDS_COLOR_ACTIVEBAR "アクティブ タイトル バー"
-	AFX_IDS_COLOR_INACTIVEBAR "非アクティブ タイトル バー"
-	AFX_IDS_COLOR_ACTIVETEXT "アクティブ タイトル バーの文字"
-	AFX_IDS_COLOR_INACTIVETEXT "非アクティブ タイトル バーの文字"
-	AFX_IDS_COLOR_ACTIVEBORDER "アクティブ ウィンドウの境界"
-	AFX_IDS_COLOR_INACTIVEBORDER "非アクティブ ウィンドウの境界"
-END
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-
-STRINGTABLE DISCARDABLE
-BEGIN
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_COLOR_WNDFRAME  "ウィンドウの枠"
-	AFX_IDS_COLOR_SCROLLBARS "スクロール バー"
-	AFX_IDS_COLOR_BTNFACE   "ボタンの表面"
-	AFX_IDS_COLOR_BTNSHADOW "ボタンの影"
-	AFX_IDS_COLOR_BTNTEXT   "ボタンの文字"
-	AFX_IDS_COLOR_BTNHIGHLIGHT "反転表示のボタン"
-	AFX_IDS_COLOR_DISABLEDTEXT "淡色表示の文字"
-	AFX_IDS_COLOR_HIGHLIGHT "反転表示"
-	AFX_IDS_COLOR_HIGHLIGHTTEXT "反転表示の文字"
-	AFX_IDS_REGULAR         "標準"
-	AFX_IDS_BOLD            "太字"
-	AFX_IDS_ITALIC          "斜体"
-	AFX_IDS_BOLDITALIC      "太字斜体"
-	AFX_IDS_SAMPLETEXT      "AaBbYyZz"
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_DISPLAYSTRING_FONT "(フォント)"
-	AFX_IDS_DISPLAYSTRING_COLOR "(色)"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_DISPLAYSTRING_PICTURE "(ピクチャ - %s)"
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_PICTUREFILTER   "すべてのピクチャ形式|*.bmp;*.cur;*.dib;*.emf;*.ico;*.wmf|ビットマップ (*.bmp;*.dib)|*.bmp;*.dib|アイコン/カーソル (*.ico;*.cur)|*.ico;*.cur|メタファイル (*.wmf;*.emf)|*.wmf;*.emf|すべてのファイル (*.*)|*.*||"
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_PICTYPE_UNKNOWN "不明"
-	AFX_IDS_PICTYPE_NONE    "なし"
-	AFX_IDS_PICTYPE_BITMAP  "ビットマップ"
-	AFX_IDS_PICTYPE_METAFILE "メタファイル"
-	AFX_IDS_PICTYPE_ICON    "アイコン"
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_COLOR_PPG       "カラー プロパティ ページ"
-	AFX_IDS_COLOR_PPG_CAPTION "カラー"
-	AFX_IDS_FONT_PPG        "フォント プロパティ ページ"
-	AFX_IDS_FONT_PPG_CAPTION "フォント"
-	AFX_IDS_PICTURE_PPG     "ピクチャ プロパティ ページ"
-	AFX_IDS_PICTURE_PPG_CAPTION "ピクチャ"
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_BORDERSTYLE_0   "0 - なし"
-	AFX_IDS_BORDERSTYLE_1   "1 - 固定 (実線)"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_VERB_EDIT       "編集(&E)"
-	AFX_IDS_VERB_PROPERTIES "プロパティ(&P)..."
-END
-
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_PICTURECANTOPEN "ピクチャ ファイル %1 を読み込めません。ファイルが存在しないか、読み取れない可能性があります。"
-	AFX_IDP_PICTURECANTLOAD "ピクチャ ファイル %1 を読み込めません。 ファイル形式が正しくない可能性があります。"
-	AFX_IDP_PICTURETOOLARGE "ピクチャ ファイル %1 を読み込めません。 ファイルが大きすぎます。"
-	AFX_IDP_PICTUREREADFAILED
-							"ピクチャ ファイル %1 を読み込めません。 読み込みでエラーが発生しました。"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_PICTUREBROWSETITLE "ピクチャの参照"
-END
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-
-#ifndef _AFX_NO_CTLERROR_RESOURCES
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_E_ILLEGALFUNCTIONCALL "関数呼び出しが正しくありません。"
-	AFX_IDP_E_OVERFLOW      "オーバーフローしました。"
-	AFX_IDP_E_OUTOFMEMORY   "メモリが不足しています。"
-	AFX_IDP_E_DIVISIONBYZERO "ゼロで除算しました。"
-	AFX_IDP_E_OUTOFSTRINGSPACE "文字列領域が不足しています。"
-	AFX_IDP_E_OUTOFSTACKSPACE "スタック領域が不足しています。"
-	AFX_IDP_E_BADFILENAMEORNUMBER "ファイル名または番号が不正です。"
-	AFX_IDP_E_FILENOTFOUND  "ファイルが見つかりません。"
-	AFX_IDP_E_BADFILEMODE   "ファイル モードが不正です。"
-	AFX_IDP_E_FILEALREADYOPEN "ファイルは既に開かれています。"
-	AFX_IDP_E_DEVICEIOERROR "デバイス I/O エラーです。"
-	AFX_IDP_E_FILEALREADYEXISTS "既に同じ名前のファイルが存在しています。"
-	AFX_IDP_E_BADRECORDLENGTH "レコード長が一致しません。"
-	AFX_IDP_E_DISKFULL      "ディスクがいっぱいです。"
-	AFX_IDP_E_BADRECORDNUMBER "レコード番号が不正です。"
-	AFX_IDP_E_BADFILENAME   "ファイル名が正しくありません。"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_E_TOOMANYFILES  "ファイルが多すぎます。"
-	AFX_IDP_E_DEVICEUNAVAILABLE "デバイスが準備されていません。"
-	AFX_IDP_E_PERMISSIONDENIED "アクセスは拒否されました。"
-	AFX_IDP_E_DISKNOTREADY  "ディスクが準備されていません。"
-	AFX_IDP_E_PATHFILEACCESSERROR "パス名が無効です。"
-	AFX_IDP_E_PATHNOTFOUND  "パスが見つかりません。"
-	AFX_IDP_E_INVALIDPATTERNSTRING "パターン文字列が無効です。"
-	AFX_IDP_E_INVALIDUSEOFNULL "null 文字の使い方が無効です。"
-	AFX_IDP_E_INVALIDFILEFORMAT "ファイル形式が無効です。"
-	AFX_IDP_E_INVALIDPROPERTYVALUE "プロパティの値が無効です。"
-	AFX_IDP_E_INVALIDPROPERTYARRAYINDEX "配列のインデックスが無効です。"
-	AFX_IDP_E_SETNOTSUPPORTEDATRUNTIME "このプロパティの値は実行時には設定できません。"
-	AFX_IDP_E_SETNOTSUPPORTED "プロパティは読み取り専用です。"
-	AFX_IDP_E_NEEDPROPERTYARRAYINDEX
-							"プロパティ配列にはインデックスを指定してください。"
-	AFX_IDP_E_SETNOTPERMITTED "このコントロールのプロパティは設定できません。"
-	AFX_IDP_E_GETNOTSUPPORTEDATRUNTIME "このプロパティの値は実行時には取得できません。"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_E_GETNOTSUPPORTED "プロパティは書き込み専用です。"
-	AFX_IDP_E_PROPERTYNOTFOUND "プロパティが見つかりません。"
-	AFX_IDP_E_INVALIDCLIPBOARDFORMAT "クリップボードの形式が無効です。"
-	AFX_IDP_E_INVALIDPICTURE "ピクチャが無効です。"
-	AFX_IDP_E_PRINTERERROR  "プリンタのエラーです。"
-	AFX_IDP_E_CANTSAVEFILETOTEMP
-							"保存に必要な一時ファイルを作成できません。"
-	AFX_IDP_E_SEARCHTEXTNOTFOUND "検索文字列が見つかりません。"
-	AFX_IDP_E_REPLACEMENTSTOOLONG "置換文字列が長すぎます。"
-END
-#endif //!_AFX_NO_CTLERROR_RESOURCES
-
-#endif //!_AFXDLL
-#endif //__AFXOLECL_RC__

+ 0 - 105
libs/mfc/include/Jpn/afxdb.rc

@@ -1,105 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXDB_RC__
-#define __AFXDB_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< 標準 MFC リソースの変更はできません! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// Database Resources
-
-// Database strings
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_SQL_CONNECT_FAIL
-		"データソースへの接続に失敗しました。"
-	AFX_IDP_SQL_RECORDSET_FORWARD_ONLY
-		"レコードセットの移動は、順方向のみサポートされています。"
-	AFX_IDP_SQL_EMPTY_COLUMN_LIST
-		"取得する列が指定されていないため、テーブルを開けませんでした。"
-	AFX_IDP_SQL_FIELD_SCHEMA_MISMATCH
-		"クエリーで予期しない列のデータ型が返されました。"
-	AFX_IDP_SQL_ILLEGAL_MODE "更新または削除に失敗しました。"
-	AFX_IDP_SQL_MULTIPLE_ROWS_AFFECTED "複数の行が更新されました。"
-	AFX_IDP_SQL_NO_CURRENT_RECORD "現在のレコードがないため、操作に失敗しました。"
-	AFX_IDP_SQL_NO_ROWS_AFFECTED
-		"更新または削除操作の結果、変更された行はありません。"
-	AFX_IDP_SQL_RECORDSET_READONLY "レコードセットは読み取り専用です。"
-	AFX_IDP_SQL_SQL_NO_TOTAL
-		"ODBC ドライバは MFC LongBinary データ モデルをサポートしていません。"
-	AFX_IDP_SQL_ODBC_LOAD_FAILED
-		"ODBC32.DLL を読み込めませんでした。"
-	AFX_IDP_SQL_DYNASET_NOT_SUPPORTED
-		"ODBC ドライバはダイナセットをサポートしていません。"
-	AFX_IDP_SQL_SNAPSHOT_NOT_SUPPORTED
-		"スナップショットのサポートには ODBC スタティック カーソルが必要です。"
-	AFX_IDP_SQL_API_CONFORMANCE
-		"ODBC ドライバは MFC データベース クラスと互換性がありません (API_CONFORMANCE >= SQL_OAC_LEVEL1 が必要です)。"
-	AFX_IDP_SQL_SQL_CONFORMANCE
-		"ODBC ドライバは MFC データベース クラスと互換性がありません (SQL_CONFORMANCE >= SQL_OSC_MINIMUM が必要です)。"
-	AFX_IDP_SQL_NO_DATA_FOUND
-		"データの末尾または先頭を超えてスクロールしようとしています。"
-	AFX_IDP_SQL_ROW_UPDATE_NOT_SUPPORTED
-		"ダイナセットは ODBC ドライバでサポートされていません。"
-	AFX_IDP_SQL_ODBC_V2_REQUIRED
-		"ODBC Level 2 に準拠したドライバが必要です。"
-	AFX_IDP_SQL_NO_POSITIONED_UPDATES
-		"特定の位置の更新は ODBC ドライバでサポートされていません。"
-	AFX_IDP_SQL_LOCK_MODE_NOT_SUPPORTED
-		"要求したロック モードはサポートされていません。"
-	AFX_IDP_SQL_DATA_TRUNCATED
-		"データは切り捨てられました。"
-	AFX_IDP_SQL_ROW_FETCH
-		"レコードの取得エラーです。"
-	AFX_IDP_SQL_INCORRECT_ODBC
-		"必要な ODBC エントリ ポイントは見つかりませんでした。ODBC ドライバが正しくインストールされているか確認してください。"
-	AFX_IDP_SQL_UPDATE_DELETE_FAILED
-		"更新または削除に失敗しました。"
-	AFX_IDP_SQL_DYNAMIC_CURSOR_NOT_SUPPORTED
-		"ダイナミック カーソルは ODBC ドライバではサポートされていません。"
-	AFX_IDP_SQL_FIELD_NOT_FOUND
-		"無効なフィールド名またはフィールド インデックスです。"
-	AFX_IDP_SQL_BOOKMARKS_NOT_SUPPORTED
-		"ブックマークは ODBC ドライバではサポートされていません。"
-	AFX_IDP_SQL_BOOKMARKS_NOT_ENABLED
-		"ブックマークはレコードセット上で使用できません。"
-	AFX_IDP_DAO_ENGINE_INITIALIZATION
-		"DAO/Jet db エンジンを初期化できません。"
-	AFX_IDP_DAO_DFX_BIND
-		"DFX のパラメータ値が正しくありません。"
-	AFX_IDP_DAO_OBJECT_NOT_OPEN
-		"DAO TableDef または QueryDef が開けません。"
-	AFX_IDP_DAO_ROWTOOSHORT
-		"GetRows に失敗しました。行に割り当てる十分なメモリがありません。"
-	AFX_IDP_DAO_BADBINDINFO
-		"GetRows バインディング エラー。データ型が合っていない可能性があります。"
-	AFX_IDP_DAO_COLUMNUNAVAILABLE
-		"GetRows に失敗しました。 要求された列はこのレコードセットのメンバではありません。"
-
-	AFX_IDS_DELETED "<削除済>"
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXDB_RC__

+ 0 - 66
libs/mfc/include/Jpn/afxolecl.rc

@@ -1,66 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXOLECL_RC__
-#define __AFXOLECL_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifndef _INC_DLGS
-	#include <dlgs.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< 標準 MFC リソースの変更はできません! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Client Resources
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE strings
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_STATIC_OBJECT           "静的 ActiveX オブジェクトをアクティブにできません。"
-	AFX_IDP_FAILED_TO_CONNECT       "接続に失敗しました。\nリンクが壊れている可能性があります。"
-	AFX_IDP_SERVER_BUSY             "コマンドを実行できません。サーバーがビジー状態です。"
-	AFX_IDP_BAD_VERB                "サーバー処理の実行に失敗しました。"
-	AFX_IDP_FAILED_TO_LAUNCH        "サーバー アプリケーションの起動に失敗しました。"
-	AFX_IDS_UPDATING_ITEMS          "ActiveX オブジェクトを更新しています。"
-	AFX_IDP_FAILED_TO_CONVERT       "ActiveX オブジェクトの変換に失敗しました。"
-	AFX_IDP_ASK_TO_DISCARD          "ActiveX オブジェクトは Windows の終了時には保存できません。\n%1 へのすべての変更を破棄しますか?"
-	AFX_IDP_FAILED_TO_CREATE        "オブジェクトの作成に失敗しました。システム レジストリにアプリケーションが登録されているか確認してください。"
-
-	AFX_IDS_METAFILE_FORMAT         "ピクチャ (メタファイル)\nピクチャ"
-	AFX_IDS_DIB_FORMAT              "デバイスに依存しないビットマップ\nデバイス非依存ビットマップ"
-	AFX_IDS_BITMAP_FORMAT           "ビットマップ\nビットマップ"
-	AFX_IDS_LINKSOURCE_FORMAT       "%s\n%s"
-	AFX_IDS_EMBED_FORMAT            "%s\n%s"
-	AFX_IDS_RTF_FORMAT              "リッチ テキスト (RTF)\n書式付きテキスト"
-	AFX_IDS_TEXT_FORMAT             "テキスト\n書式なしテキスト"
-
-	AFX_IDS_INVALID_CURRENCY        "無効な通貨型です。"
-	AFX_IDS_INVALID_DATETIME        "無効な日付と時刻です。"
-	AFX_IDS_INVALID_DATETIMESPAN    "無効な期間です。"
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXOLECL_RC__

+ 0 - 53
libs/mfc/include/Jpn/afxolesv.rc

@@ -1,53 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXOLESV_RC__
-#define __AFXOLESV_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< 標準 MFC リソースの変更はできません! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Server Resources
-
-// OLE strings
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_ASK_TO_UPDATE,              "先に %1 を更新しますか?"
-	AFX_IDP_FAILED_TO_UPDATE,           "クライアントを更新できませんでした。"
-
-	AFX_IDP_FAILED_TO_REGISTER,         "登録に失敗しました。ActiveX の機能は正しく動作しない可能性があります。"
-	AFX_IDP_FAILED_TO_AUTO_REGISTER,    "システム レジストリの更新に失敗しました。\nREGEDIT を使って更新してください。"
-END
-
-STRINGTABLE PRELOAD
-BEGIN
-	AFX_IDS_APP_TITLE_EMBEDDING,        "%2 の %1"
-	AFX_IDS_OBJ_TITLE_INPLACE,          "%1 - %2"
-	AFX_IDS_EXIT_MENU,                  "終了して %1 に戻る(&X)"
-	AFX_IDS_UPDATE_MENU,                "%1 を更新(&U)"
-	AFX_IDS_SAVEFILECOPY,               "コピーを名前を付けて保存"
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXOLESV_RC__

+ 0 - 90
libs/mfc/include/Jpn/afxprint.rc

@@ -1,90 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXPRINT_RC__
-#define __AFXPRINT_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< 標準 MFC リソースの変更はできません! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// Printing Resources
-
-AFX_IDC_MAGNIFY         CURSOR  DISCARDABLE     "res\\magnify.cur"
-
-AFX_IDD_PRINTDLG DIALOG DISCARDABLE  6, 18, 133, 95
-STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | 0x04
-FONT 8, "MS Shell Dlg"
-BEGIN
-	CTEXT           "印刷中",IDC_STATIC,0,9,133,8
-	CTEXT           "",AFX_IDC_PRINT_DOCNAME,0,19,133,8
-	CTEXT           "を",IDC_STATIC,0,29,133,8
-	CTEXT           "",AFX_IDC_PRINT_PRINTERNAME,0,39,133,8
-	CTEXT           "",AFX_IDC_PRINT_PORTNAME,0,49,133,8
-	CTEXT           "",AFX_IDC_PRINT_PAGENUM,0,59,133,8
-	PUSHBUTTON      "キャンセル",IDCANCEL,46,74,40,14
-END
-
-// Preview Toolbar Dialog
-AFX_IDD_PREVIEW_TOOLBAR DIALOG PRELOAD DISCARDABLE  0, 0, 330, 16
-STYLE WS_CHILD | 0x04
-FONT 8, "MS Shell Dlg"
-BEGIN
-	PUSHBUTTON      "印刷(&P)...",AFX_ID_PREVIEW_PRINT,2,2,44,12
-	PUSHBUTTON      "次ページ(&N)",AFX_ID_PREVIEW_NEXT,48,2,44,12
-	PUSHBUTTON      "前ページ(&V)",AFX_ID_PREVIEW_PREV,94,2,44,12
-	PUSHBUTTON      "",AFX_ID_PREVIEW_NUMPAGE,140,2,44,12
-	PUSHBUTTON      "拡大(&I)",AFX_ID_PREVIEW_ZOOMIN,186,2,44,12
-	PUSHBUTTON      "縮小(&O)",AFX_ID_PREVIEW_ZOOMOUT,232,2,44,12
-	PUSHBUTTON      "閉じる(&C)",AFX_ID_PREVIEW_CLOSE,278,2,44,12
-END
-
-// Printing strings
-STRINGTABLE DISCARDABLE
-BEGIN
-	// print progress dialog strings
-	AFX_IDS_PRINTONPORT,            "%1 へ出力中"         // for print output
-	AFX_IDS_ONEPAGE,                "1 ページ(&O)"     // for preview button
-	AFX_IDS_TWOPAGE,                "2 ページ(&T)"     // for preview button
-	AFX_IDS_PRINTPAGENUM,           "ページ %u"       // for print output
-	AFX_IDS_PREVIEWPAGEDESC,        "ページ %u\nページ %u-%u\n"
-
-	// print to file dialog strings
-	AFX_IDS_PRINTDEFAULTEXT,        "prn"           // default extension
-	AFX_IDS_PRINTDEFAULT,           "Output.prn"    // default file
-	AFX_IDS_PRINTFILTER,
-		"プリンタ ファイル (*.prn)|*.prn|すべてのファイル (*.*)|*.*||"
-	AFX_IDS_PRINTCAPTION,           "ファイルへ出力" // caption for browse dlg
-	AFX_IDS_PRINTTOFILE,            "%1 へ"         // to file
-END
-
-// Print Preview Accelerator Table
-AFX_IDR_PREVIEW_ACCEL ACCELERATORS LOADONCALL MOVEABLE
-BEGIN
-	VK_NEXT,    AFX_ID_PREVIEW_NEXT,    VIRTKEY, NOINVERT
-	VK_PRIOR,   AFX_ID_PREVIEW_PREV,    VIRTKEY, NOINVERT
-	VK_ESCAPE,  AFX_ID_PREVIEW_CLOSE,   VIRTKEY, NOINVERT
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXPRINT_RC__

+ 0 - 202
libs/mfc/include/Jpn/afxres.rc

@@ -1,202 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXRES_RC__
-#define __AFXRES_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< 標準 MFC リソースの変更はできません! >\0"
-END
-#endif //APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// Default resource description for MFC applications
-/////////////////////////////////////////////////////////////////////////////
-
-/////////////////////////////////////////////////////////////////////////////
-// Strings
-
-STRINGTABLE DISCARDABLE
-BEGIN
-#ifndef _AFX_NO_APPMENU_RESOURCES
-	AFX_IDS_OPENFILE,               "開く"
-	AFX_IDS_SAVEFILE,               "名前を付けて保存"
-	AFX_IDS_ALLFILTER,              "すべてのファイル (*.*)"
-	AFX_IDS_UNTITLED,               "無題"
-	AFX_IDS_HIDE,                   "非表示(&H)"
-#endif // !_AFX_NO_APPMENUSTRING_RESOURCES
-
-	AFX_IDS_MEMORY_EXCEPTION,       "メモリが不足しています。"
-	AFX_IDS_NOT_SUPPORTED_EXCEPTION,"サポートされていない操作を実行しました。"
-	AFX_IDS_RESOURCE_EXCEPTION,     "必要なリソースを利用できませんでした。"
-	AFX_IDS_USER_EXCEPTION,         "不明なエラーが発生しました。"
-
-	// General error prompts
-#ifndef _AFX_NO_FILECMD_RESOURCES
-	AFX_IDP_INVALID_FILENAME,       "無効なファイル名です。"
-	AFX_IDP_FAILED_TO_OPEN_DOC,     "ドキュメントを開くことに失敗しました。"
-	AFX_IDP_FAILED_TO_SAVE_DOC,     "ドキュメントの保存に失敗しました。"
-	AFX_IDP_ASK_TO_SAVE,            "%1 への変更を保存しますか?"
-	AFX_IDP_FAILED_TO_CREATE_DOC,   "空のドキュメントの作成に失敗しました。"
-	AFX_IDP_FILE_TOO_LARGE,         "ファイルが大きすぎて開けません。"
-	AFX_IDP_FAILED_TO_START_PRINT,  "印刷ジョブを開始できませんでした。"
-#endif // !_AFX_NO_FILECMD_RESOURCES
-	AFX_IDP_FAILED_TO_LAUNCH_HELP,  "ヘルプの起動に失敗しました。"
-	AFX_IDP_INTERNAL_FAILURE,       "アプリケーションの内部エラーです。"
-	AFX_IDP_COMMAND_FAILURE,        "コマンドの実行に失敗しました。"
-	AFX_IDP_FAILED_MEMORY_ALLOC     "メモリ不足のため実行できません。"
-	AFX_IDP_GET_NOT_SUPPORTED,      "書き込み専用プロパティからは読み取れません。"
-	AFX_IDP_SET_NOT_SUPPORTED,      "読み取り専用プロパティには書き込めません。"
-	AFX_IDP_UNREG_DONE,               "システム レジストリ エントリは削除されています。また、INI ファイルがある場合は、INI ファイルも削除されました。"
-	AFX_IDP_UNREG_FAILURE,            "一部のシステム レジストリ エントリ (または INI ファイル) は削除されませんでした。"
-	AFX_IDP_DLL_LOAD_FAILED,        "このプログラムにはファイル %s が必要ですがこのシステム上に見つかりませんでした。"
-	AFX_IDP_DLL_BAD_VERSION,        "このプログラムは欠落エクスポート %s にファイル %s 内でリンクされています。このコンピュータは互換性のないバージョンの %s を含んでいる可能性があります。"
-
-	// CFile/CArchive error strings for user failure
-#ifndef _AFX_NO_CFILE_RESOURCES
-	AFX_IDP_FAILED_INVALID_FORMAT   "予期しないファイル形式です。"
-	AFX_IDP_FAILED_INVALID_PATH     "%1\nこのファイルが見つかりません。\nパスとファイル名が正しいかどうか確認してださい。"
-	AFX_IDP_FAILED_DISK_FULL        "出力先のディスク ドライブの空き容量が不足しています。"
-	AFX_IDP_FAILED_ACCESS_READ      "%1 は使用中のため、読み取れません。"
-	AFX_IDP_FAILED_ACCESS_WRITE     "%1 は使用中または読み取り専用のため、書き込めません。"
-	AFX_IDP_FAILED_IO_ERROR_READ    "%1 の読み取り中に予期しないエラーが発生しました。"
-	AFX_IDP_FAILED_IO_ERROR_WRITE   "%1 の書き込み中に予期しないエラーが発生しました。"
-#endif // !_AFX_NO_CFILE_RESOURCES
-
-	// Parsing error prompts
-	AFX_IDP_PARSE_INT,              "整数を入力してください。"
-	AFX_IDP_PARSE_REAL,             "数字を入力してください。"
-	AFX_IDP_PARSE_INT_RANGE,        "%1 から %2 までの整数を入力してください。"
-	AFX_IDP_PARSE_REAL_RANGE,       "%1 から %2 までの数字を入力してください。"
-	AFX_IDP_PARSE_STRING_SIZE,      "%1 文字以内で入力してください。"
-	AFX_IDP_PARSE_RADIO_BUTTON,     "ボタンを選択してください。"
-	AFX_IDP_PARSE_BYTE,             "0 から 255 までの整数を入力してください。"
-	AFX_IDP_PARSE_UINT,             "正の整数を入力してください。"
-	AFX_IDP_PARSE_DATETIME,         "日付/時刻を入力してください。"
-	AFX_IDP_PARSE_CURRENCY,         "通貨型を入力してください。"
-
-#ifndef _AFX_NO_OLE_RESOURCES
-	// OLE strings required for both servers and containers
-	AFX_IDS_PASTELINKEDTYPE         "%s をリンクしました。"
-	AFX_IDS_UNKNOWNTYPE             "不明な型です。"
-	AFX_IDP_FAILED_TO_NOTIFY        "%1\nドキュメントを登録できません。\nドキュメントはすでに開かれている可能性があります。"
-	AFX_IDS_NOT_DOCOBJECT           "ドキュメント オブジェクト サーバーは、このファイルをサポートしていません。"
-#endif //!_AFX_NO_OLE_RESOURCES
-
-	AFX_IDP_NO_ERROR_AVAILABLE      "エラー メッセージはありません。"
-
-#ifndef _AFX_NO_CFILE_RESOURCES
-	AFX_IDP_FILE_NONE                "エラーはありませんでした。"
-	AFX_IDP_FILE_GENERIC             "%1 へのアクセス中に不明なエラーが発生しました。"
-	AFX_IDP_FILE_NOT_FOUND           "%1 が見つかりませんでした。"
-	AFX_IDP_FILE_BAD_PATH            "%1 には無効なパスが含まれています。"
-	AFX_IDP_FILE_TOO_MANY_OPEN       "開いているファイルが多すぎるため、%1 を開けませんでした。"
-	AFX_IDP_FILE_ACCESS_DENIED       "%1 へのアクセスは拒否されました。"
-	AFX_IDP_FILE_INVALID_FILE        "%1 へ無効なファイル ハンドルが関連付けられていました。"
-	AFX_IDP_FILE_REMOVE_CURRENT      "現在のディレクトリ %1 は削除できませんでした。"
-	AFX_IDP_FILE_DIR_FULL            "%1 を作成できませんでした。そのディレクトリはいっぱいです。"
-	AFX_IDP_FILE_BAD_SEEK            "%1 のシークに失敗しました。"
-	AFX_IDP_FILE_HARD_IO             "%1 へのアクセス中にハードウェア I/O エラーが報告されました。"
-	AFX_IDP_FILE_SHARING             "%1 へのアクセス中に共有違反が発生しました。"
-	AFX_IDP_FILE_LOCKING             "%1 へのアクセス中にロック違反が発生しました。"
-	AFX_IDP_FILE_DISKFULL            "%1 へのアクセス中にディスクがいっぱいになりました。"
-	AFX_IDP_FILE_EOF                 "%1 の末尾以降にアクセスしようとしました。"
-	AFX_IDS_UNNAMED_FILE             "無題のファイル"
-#endif // !_AFX_NO_CFILE_RESOURCES
-
-	AFX_IDP_ARCH_NONE               "エラーはありませんでした。"
-	AFX_IDP_ARCH_GENERIC                "%1 へのアクセス中に不明なエラーが発生しました。"
-	AFX_IDP_ARCH_READONLY           "%1 の読み取り中に書き込もうとしました。"
-	AFX_IDP_ARCH_ENDOFFILE          "%1 の末尾以降にアクセスしようとしました。"
-	AFX_IDP_ARCH_WRITEONLY          "%1 へ書き込み中に読み取ろうとしました。"
-	AFX_IDP_ARCH_BADINDEX           "%1 の形式が正しくありません。"
-	AFX_IDP_ARCH_BADCLASS           "%1 は予期しないオブジェクトを含んでいます。"
-	AFX_IDP_ARCH_BADSCHEMA          "%1 は不正なスキーマを含んでいます。"
-
-#ifndef _AFX_NO_MAPI_RESOURCES
-	// MAPI strings / error messages
-	AFX_IDP_FAILED_MAPI_LOAD        "メール システム サポートを読み込めません。"
-	AFX_IDP_INVALID_MAPI_DLL        "メール システム DLL が無効です。"
-	AFX_IDP_FAILED_MAPI_SEND        "メールの送信に失敗しました。"
-#endif //!_AFX_NO_MAPI_RESOURCES
-
-#ifndef _AFX_NO_OCC_RESOURCES
-	AFX_IDS_OCC_SCALEUNITS_PIXELS   "ピクセル"
-#endif //!_AFX_NO_OCC_RESOURCES
-END
-
-/////////////////////////////////////////////////////////////////////////////
-// Cursors
-
-AFX_IDC_CONTEXTHELP     CURSOR  DISCARDABLE     "res\\help.cur"
-
-#ifndef _AFX_NO_SPLITTER_RESOURCES
-AFX_IDC_SMALLARROWS     CURSOR  DISCARDABLE     "res\\sarrows.cur"
-AFX_IDC_HSPLITBAR       CURSOR  DISCARDABLE     "res\\splith.cur"
-AFX_IDC_VSPLITBAR       CURSOR  DISCARDABLE     "res\\splitv.cur"
-AFX_IDC_NODROPCRSR      CURSOR  DISCARDABLE     "res\\nodrop.cur"
-#endif //!_AFX_NO_SPLITTER_RESOURCES
-
-#ifndef _AFX_NO_TRACKER_RESOURCES
-AFX_IDC_TRACKNWSE       CURSOR  DISCARDABLE     "res\\trcknwse.cur"
-AFX_IDC_TRACKNESW       CURSOR  DISCARDABLE     "res\\trcknesw.cur"
-AFX_IDC_TRACKNS         CURSOR  DISCARDABLE     "res\\trckns.cur"
-AFX_IDC_TRACKWE         CURSOR  DISCARDABLE     "res\\trckwe.cur"
-AFX_IDC_TRACK4WAY       CURSOR  DISCARDABLE     "res\\trck4way.cur"
-AFX_IDC_MOVE4WAY        CURSOR  DISCARDABLE     "res\\move4way.cur"
-#endif //!_AFX_NO_TRACKER_RESOURCES
-
-#ifndef _AFX_NO_CTL3D_RESOURCES
-26567 BITMAP "res\\3dcheck.bmp" // Note: 26567 comes from CTL3D.H
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// Standard Dialogs
-
-#ifndef _AFX_NO_NEWTYPEDLG_RESOURCES
-AFX_IDD_NEWTYPEDLG DIALOG DISCARDABLE  9, 26, 183, 70
-STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | 0x04
-CAPTION "新規"
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "新規(&N) ",IDC_STATIC,6,5,123,8,NOT WS_GROUP
-	LISTBOX         AFX_IDC_LISTBOX,6,15,125,49,WS_VSCROLL | WS_TABSTOP
-	DEFPUSHBUTTON   "OK",IDOK,137,6,40,14
-	PUSHBUTTON      "キャンセル",IDCANCEL,137,23,40,14
-	PUSHBUTTON      "ヘルプ(&H)",ID_HELP,137,43,40,14
-END
-#endif // !_AFX_NO_NEWTYPEDLG_RESOURCES
-
-/////////////////////////////////////////////////////////////////////////////
-// CMiniFrameWnd Bitmap
-
-AFX_IDB_MINIFRAME_MENU      BITMAP  DISCARDABLE     "res\\minifwnd.bmp"
-
-/////////////////////////////////////////////////////////////////////////////
-// CCheckListBox Bitmaps
-
-AFX_IDB_CHECKLISTBOX_NT     BITMAP  DISCARDABLE     "res\\ntcheck.bmp"
-AFX_IDB_CHECKLISTBOX_95     BITMAP  DISCARDABLE     "res\\95check.bmp"
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //!__AFXRES_RC__
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 284
libs/mfc/include/Kor/afxctl.rc

@@ -1,284 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXCTL_RC__
-#define __AFXCTL_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< 표준 MFC 원본은 변경할 수 없음! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Control Resources
-
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-/////////////////////////////////////////////////////////////////////////////
-//
-// Bitmap
-//
-
-AFX_IDB_TRUETYPE        BITMAP  DISCARDABLE     "RES\\TRUETYPE.BMP"
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Dialog
-//
-
-AFX_IDD_PROPPAGE_FONT DIALOG DISCARDABLE  13, 54, 250, 110
-STYLE WS_CHILD | 0x4
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "특성 이름(&N)",IDC_STATIC,3,5,61,8
-	COMBOBOX        AFX_IDC_FONTPROP,65,3,100,71,CBS_DROPDOWNLIST | CBS_SORT |
-					WS_VSCROLL | WS_TABSTOP
-	LTEXT           "글꼴(&F)",IDC_STATIC,3,19,91,8
-	COMBOBOX        AFX_IDC_FONTNAMES,3,29,91,77,CBS_SIMPLE |
-					CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT |
-					CBS_HASSTRINGS | CBS_DISABLENOSCROLL | WS_VSCROLL |
-					WS_TABSTOP
-	LTEXT           "글꼴 유형(&Y):",IDC_STATIC,102,19,53,8
-	COMBOBOX        AFX_IDC_FONTSTYLES,104,29,53,53,CBS_DROPDOWNLIST |
-					CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
-	LTEXT           "크기(&S):",IDC_STATIC,167,19,40,8
-	COMBOBOX        AFX_IDC_FONTSIZES,167,29,36,53,CBS_DROPDOWN | CBS_SORT |
-					CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
-	GROUPBOX        "효과",IDC_STATIC,104,44,142,24,WS_GROUP
-	CONTROL         "취소선(&K)",AFX_IDC_STRIKEOUT,"Button",BS_AUTOCHECKBOX |
-					WS_TABSTOP,109,55,65,10
-	CONTROL         "밑줄(&U)",AFX_IDC_UNDERLINE,"Button",BS_AUTOCHECKBOX |
-					WS_TABSTOP,175,55,65,10
-	GROUPBOX        "보기",IDC_STATIC,104,71,142,36,WS_GROUP
-	CTEXT           "AaBbYyZz",AFX_IDC_SAMPLEBOX,110,80,130,22,SS_NOPREFIX |
-					NOT WS_VISIBLE
-END
-
-AFX_IDD_PROPPAGE_COLOR DIALOG DISCARDABLE  0, 0, 250, 62
-STYLE WS_CHILD | 0x4
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "특성 이름(&N)",IDC_STATIC,3,3,100,8
-	COMBOBOX        AFX_IDC_COLORPROP,3,13,100,54,CBS_DROPDOWNLIST |
-					CBS_SORT | WS_VSCROLL | WS_TABSTOP
-	LTEXT           "시스템 색(&C):",IDC_STATIC,3,29,100,8
-	COMBOBOX        AFX_IDC_SYSTEMCOLORS,3,39,100,54,CBS_DROPDOWNLIST |
-					CBS_SORT | WS_VSCROLL | WS_TABSTOP
-	CONTROL         "",AFX_IDC_COLOR_BLACK,"Button",BS_OWNERDRAW | WS_GROUP |
-					WS_TABSTOP,118,4,15,11
-	CONTROL         "",AFX_IDC_COLOR_BLUE,"Button",BS_OWNERDRAW,138,4,15,11
-	CONTROL         "",AFX_IDC_COLOR_CYAN,"Button",BS_OWNERDRAW,158,4,15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKBLUE,"Button",BS_OWNERDRAW,178,4,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_DARKCYAN,"Button",BS_OWNERDRAW,118,18,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKGREEN,"Button",BS_OWNERDRAW,138,18,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKMAGENTA,"Button",BS_OWNERDRAW,158,
-					18,15,11
-	CONTROL         "",AFX_IDC_COLOR_GRAY,"Button",BS_OWNERDRAW,178,18,15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKRED,"Button",BS_OWNERDRAW,118,32,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_GREEN,"Button",BS_OWNERDRAW,138,32,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_LIGHTBROWN,"Button",BS_OWNERDRAW,158,32,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_LIGHTGRAY,"Button",BS_OWNERDRAW,178,32,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_MAGENTA,"Button",BS_OWNERDRAW,118,46,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_RED,"Button",BS_OWNERDRAW,138,46,15,11
-	CONTROL         "",AFX_IDC_COLOR_WHITE,"Button",BS_OWNERDRAW,158,46,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_YELLOW,"Button",BS_OWNERDRAW,178,46,15,
-					11
-END
-
-AFX_IDD_PROPPAGE_PICTURE DIALOG DISCARDABLE  0, 0, 250, 62
-STYLE WS_CHILD | 0x4
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "특성 이름(&N)",IDC_STATIC,3,3,100,8
-	COMBOBOX        AFX_IDC_PROPNAME,3,13,100,30,CBS_DROPDOWNLIST | CBS_SORT |
-					WS_VSCROLL | WS_TABSTOP
-	PUSHBUTTON      "찾아보기(&B)...",AFX_IDC_BROWSE,3,35,54,14
-	PUSHBUTTON      "지우기(&C)",AFX_IDC_CLEAR,61,35,54,14
-	RTEXT           "미리보기:",IDC_STATIC,107,3,42,16
-	CONTROL         "",AFX_IDC_PICTURE,"Static",SS_BLACKFRAME,151,4,93,54
-END
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Dialog Info
-//
-
-AFX_IDD_PROPPAGE_FONT DLGINIT
-BEGIN
-	1002, 0x403, 12, 0
-0x6f42, 0x646c, 0x4920, 0x6174, 0x696c, 0x0063,
-	0
-END
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// String Table
-//
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_PROPPAGE_UNKNOWN "(미지의)"
-	AFX_IDS_COLOR_DESKTOP   "데스크톱"
-	AFX_IDS_COLOR_APPWORKSPACE "응용프로그램 작업공간"
-	AFX_IDS_COLOR_WNDBACKGND "윈도우 배경"
-	AFX_IDS_COLOR_WNDTEXT   "윈도우 텍스트"
-	AFX_IDS_COLOR_MENUBAR   "메뉴표시줄"
-	AFX_IDS_COLOR_MENUTEXT  "메뉴 텍스트"
-	AFX_IDS_COLOR_ACTIVEBAR "활성 제목줄"
-	AFX_IDS_COLOR_INACTIVEBAR "비활성 제목줄"
-	AFX_IDS_COLOR_ACTIVETEXT "활성 제목줄 텍스트"
-	AFX_IDS_COLOR_INACTIVETEXT "비활성 제목줄 텍스트"
-	AFX_IDS_COLOR_ACTIVEBORDER "활성 경계선"
-	AFX_IDS_COLOR_INACTIVEBORDER "비활성 경계선"
-END
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-
-STRINGTABLE DISCARDABLE
-BEGIN
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_COLOR_WNDFRAME  "윈도우 프레임"
-	AFX_IDS_COLOR_SCROLLBARS "이동줄"
-	AFX_IDS_COLOR_BTNFACE   "버튼 정면"
-	AFX_IDS_COLOR_BTNSHADOW "버튼 그림자"
-	AFX_IDS_COLOR_BTNTEXT   "버튼 텍스트"
-	AFX_IDS_COLOR_BTNHIGHLIGHT "버튼 반전표시"
-	AFX_IDS_COLOR_DISABLEDTEXT "사용 불가 텍스트"
-	AFX_IDS_COLOR_HIGHLIGHT "반전표시"
-	AFX_IDS_COLOR_HIGHLIGHTTEXT "반전표시된 텍스트"
-	AFX_IDS_REGULAR         "보통"
-	AFX_IDS_BOLD            "굵게"
-	AFX_IDS_ITALIC          "기울임꼴"
-	AFX_IDS_BOLDITALIC      "굵은 기울임꼴"
-	AFX_IDS_SAMPLETEXT      "AaBbYyZz"
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_DISPLAYSTRING_FONT "(글꼴)"
-	AFX_IDS_DISPLAYSTRING_COLOR "(색)"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_DISPLAYSTRING_PICTURE "(그림 - %s)"
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_PICTUREFILTER   "모든 그림 종류|*.bmp;*.cur;*.dib;*.emf;*.ico;*.wmf|비트맵 (*.bmp;*.dib)|*.bmp;*.dib|아이콘/커서 (*.ico;*.cur)|*.ico;*.cur| 메타파일(*.wmf;*.emf)|*.wmf;*.emf|모든 파일 (*.*)|*.*||"
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_PICTYPE_UNKNOWN "미지의"
-	AFX_IDS_PICTYPE_NONE    "킠"
-	AFX_IDS_PICTYPE_BITMAP  "비트맵"
-	AFX_IDS_PICTYPE_METAFILE "메타파일"
-	AFX_IDS_PICTYPE_ICON    "아이콘"
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_COLOR_PPG       "색 특성 페이지"
-	AFX_IDS_COLOR_PPG_CAPTION "색"
-	AFX_IDS_FONT_PPG        "글꼴 특성 페이지"
-	AFX_IDS_FONT_PPG_CAPTION "글꼴"
-	AFX_IDS_PICTURE_PPG     "그림 특성 페이지"
-	AFX_IDS_PICTURE_PPG_CAPTION "그림"
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_BORDERSTYLE_0   "0 - 없음"
-	AFX_IDS_BORDERSTYLE_1   "1 - 고정 단일"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_VERB_EDIT       "편집(&E)"
-	AFX_IDS_VERB_PROPERTIES "특성(&P)..."
-END
-
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_PICTURECANTOPEN "그림 파일 %1을(를) 열 수 없음. 이 파일이 없거나 읽을 수 없음."
-	AFX_IDP_PICTURECANTLOAD "그림 파일 %1을(를) 읽어들일 수 없음. 잘못된 포맷을 가진 파일임."
-	AFX_IDP_PICTURETOOLARGE "그림 파일 %1을(를) 읽어들일 수 없음. 파일이 너무 커서 메모리에 수용할 수 없음."
-	AFX_IDP_PICTUREREADFAILED
-							"그림 파일 %1을(를) 읽어들일 수 없음. 설명이 없는 읽기 실패."
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_PICTUREBROWSETITLE "그림 찾아보기"
-END
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-
-#ifndef _AFX_NO_CTLERROR_RESOURCES
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_E_ILLEGALFUNCTIONCALL "잘못된 기능 호출"
-	AFX_IDP_E_OVERFLOW      "숫자가 너무큼"
-	AFX_IDP_E_OUTOFMEMORY   "메모리 부족"
-	AFX_IDP_E_DIVISIONBYZERO "0으로 나누기"
-	AFX_IDP_E_OUTOFSTRINGSPACE "문자열 공간 부족"
-	AFX_IDP_E_OUTOFSTACKSPACE "스택 공간 부족"
-	AFX_IDP_E_BADFILENAMEORNUMBER "불량 파일 이름 또는 번호"
-	AFX_IDP_E_FILENOTFOUND  "파일을 찾을 수 없음"
-	AFX_IDP_E_BADFILEMODE   "불량 파일 모드"
-	AFX_IDP_E_FILEALREADYOPEN "파일이 이미 열려 있음"
-	AFX_IDP_E_DEVICEIOERROR "입출력 장치 오류"
-	AFX_IDP_E_FILEALREADYEXISTS "파일이 이미 존재함"
-	AFX_IDP_E_BADRECORDLENGTH "불량 레코드 길이"
-	AFX_IDP_E_DISKFULL      "디스크가 꽉 참"
-	AFX_IDP_E_BADRECORDNUMBER "불량 레코드 번호"
-	AFX_IDP_E_BADFILENAME   "불량 파일 이름"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_E_TOOMANYFILES  "파일이 너무 많음"
-	AFX_IDP_E_DEVICEUNAVAILABLE "장치를 이용할 수 없음"
-	AFX_IDP_E_PERMISSIONDENIED "허가가 거부됨"
-	AFX_IDP_E_DISKNOTREADY  "디스크가 준비되지 않음"
-	AFX_IDP_E_PATHFILEACCESSERROR "경로/파일 액세스 오류"
-	AFX_IDP_E_PATHNOTFOUND  "경로를 찾을 수 없음"
-	AFX_IDP_E_INVALIDPATTERNSTRING "잘못된 무늬 문자열"
-	AFX_IDP_E_INVALIDUSEOFNULL "잘못된 널 사용"
-	AFX_IDP_E_INVALIDFILEFORMAT "잘못된 파일 포맷"
-	AFX_IDP_E_INVALIDPROPERTYVALUE "잘못된 특성 값"
-	AFX_IDP_E_INVALIDPROPERTYARRAYINDEX "잘못된 배열 색인"
-	AFX_IDP_E_SETNOTSUPPORTEDATRUNTIME "특성은 실행 시간에 설정될 수 없음"
-	AFX_IDP_E_SETNOTSUPPORTED "특성은 읽기전용임"
-	AFX_IDP_E_NEEDPROPERTYARRAYINDEX
-							"특성 배열을 사용할 때에는 배열 색인을 명시하여야 함"
-	AFX_IDP_E_SETNOTPERMITTED "이 제어기에서는 특성을 설정할 수 없음"
-	AFX_IDP_E_GETNOTSUPPORTEDATRUNTIME "실행 시간에는 특성을 읽을 수 없음"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_E_GETNOTSUPPORTED "특성은 쓰기전용임"
-	AFX_IDP_E_PROPERTYNOTFOUND "특성을 찾을 수 없음"
-	AFX_IDP_E_INVALIDCLIPBOARDFORMAT "잘못된 클립보드 포맷"
-	AFX_IDP_E_INVALIDPICTURE "잘못된 그림"
-	AFX_IDP_E_PRINTERERROR  "프린터 오류"
-	AFX_IDP_E_CANTSAVEFILETOTEMP
-							"저장을 위해 필요한 임시 파일을 작성할 수 없음"
-	AFX_IDP_E_SEARCHTEXTNOTFOUND "검색 텍스트를 찾을 수 없음"
-	AFX_IDP_E_REPLACEMENTSTOOLONG "대체 텍스트가 너무 길음"
-END
-#endif //!_AFX_NO_CTLERROR_RESOURCES
-
-#endif //!_AFXDLL
-#endif //__AFXOLECL_RC__

+ 0 - 105
libs/mfc/include/Kor/afxdb.rc

@@ -1,105 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXDB_RC__
-#define __AFXDB_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< 표준 MFC 원본은 변경할 수 없음! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// Database Resources
-
-// Database strings
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_SQL_CONNECT_FAIL
-		"데이터원본에 대한 연결 시도 실패"
-	AFX_IDP_SQL_RECORDSET_FORWARD_ONLY
-		"레코드세트는 앞으로 이동하기만을 지원함."
-	AFX_IDP_SQL_EMPTY_COLUMN_LIST
-		"표 열기 시도 실패 - 검색할 칼럼이 지정되지 않았음."
-	AFX_IDP_SQL_FIELD_SCHEMA_MISMATCH
-		"문의로부터 예기치 않은 칼럼 데이터 종류가 되돌려 보내졌음."
-	AFX_IDP_SQL_ILLEGAL_MODE "새로 고침 또는 삭제 시도 실패."
-	AFX_IDP_SQL_MULTIPLE_ROWS_AFFECTED "여러 줄이 새로 고쳐졌음."
-	AFX_IDP_SQL_NO_CURRENT_RECORD "작동 실패, 현재 레코드가 없음."
-	AFX_IDP_SQL_NO_ROWS_AFFECTED
-		"아무 줄도 새로 고침이나 삭제 작동의 영향을 받지 않았음."
-	AFX_IDP_SQL_RECORDSET_READONLY "레코드세트는 읽기전용임"
-	AFX_IDP_SQL_SQL_NO_TOTAL
-		"ODBC 드라이버는 MFC 긴 2진 데이터 모델을 지원하지 않음."
-	AFX_IDP_SQL_ODBC_LOAD_FAILED
-		"필수 구성 요소인 ODBC32.DLL를 읽어들이려는 시도 실패."
-	AFX_IDP_SQL_DYNASET_NOT_SUPPORTED
-		"ODBC 드라이버는 다이나세트를 지원하지 않음."
-	AFX_IDP_SQL_SNAPSHOT_NOT_SUPPORTED
-		"스냅샷 지원을 위해서는 ODBC 정적 커서 필요."
-	AFX_IDP_SQL_API_CONFORMANCE
-		"ODBC  드라이버가  MFC 데이터베이스  종류와  호환성이  없음 (API_CONFORMANCE  >= "
-	AFX_IDP_SQL_SQL_CONFORMANCE
-		"ODBC  드라이버가 MFC  데이터베이스  종류와  호환성이 없음  (SQL_CONFORMANCE  >= "
-	AFX_IDP_SQL_NO_DATA_FOUND
-		"데이터의 끝을 지나거나 맨 처음보다 앞으로 가려는 시도."
-	AFX_IDP_SQL_ROW_UPDATE_NOT_SUPPORTED
-		"다이나세트는 ODBC 드라이버에 의해 지원되지 않음."
-	AFX_IDP_SQL_ODBC_V2_REQUIRED
-		"ODBC 레벨 2 호환 드라이버 필요."
-	AFX_IDP_SQL_NO_POSITIONED_UPDATES
-		"지정 새로 고침은 ODBC 드라이버에 의해 지원되지 않음."
-	AFX_IDP_SQL_LOCK_MODE_NOT_SUPPORTED
-		"요구한 잠금 모드는 지원되지 않음."
-	AFX_IDP_SQL_DATA_TRUNCATED
-		"데이터  잘림."
-	AFX_IDP_SQL_ROW_FETCH
-		"기록 재생 오류"
-	AFX_IDP_SQL_INCORRECT_ODBC
-		"필요한 ODBC 엔트리 포인트를 찾을 수 없음. ODBC가 정확하게 설치되었는지 확인하십시오."
-	AFX_IDP_SQL_UPDATE_DELETE_FAILED
-		"새로 고침 또는 삭제 실패"
-	AFX_IDP_SQL_DYNAMIC_CURSOR_NOT_SUPPORTED
-		"동적 커서는 ODBC 드라이버에 의해 지원되지 않습니다."
-	AFX_IDP_SQL_FIELD_NOT_FOUND
-		"필드 이름 또는 필드 색인이 잘못되었습니다."
-	AFX_IDP_SQL_BOOKMARKS_NOT_SUPPORTED
-		"ODBC 드라이버에는 책갈피가 지원되지 않습니다."
-	AFX_IDP_SQL_BOOKMARKS_NOT_ENABLED
-		"레코드 집합에서는 책갈피를 사용할 수 없습니다."
-	AFX_IDP_DAO_ENGINE_INITIALIZATION
-		"DAO/Jet db 엔진 초기화 불능. "
-	AFX_IDP_DAO_DFX_BIND
-		"불량 DFX 값 파라미터."
-	AFX_IDP_DAO_OBJECT_NOT_OPEN
-		"DAO TableDef 또는 QueryDef가 열리지 않음."
-	AFX_IDP_DAO_ROWTOOSHORT
-		"GetRows 실패. 줄에 할당된 메모리 부족."
-	AFX_IDP_DAO_BADBINDINFO
-		"GetRows 바인딩 오류. 데이터 종류가 맞지 않기 때문에 발생된 것 같습니다."
-	AFX_IDP_DAO_COLUMNUNAVAILABLE
-		"GetRows 실패. 요구한 칼럼은 본 데이터 세트의 한 멤버가 아닙니다."
-
-	AFX_IDS_DELETED "<삭제됨>"
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXDB_RC__

+ 0 - 66
libs/mfc/include/Kor/afxolecl.rc

@@ -1,66 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXOLECL_RC__
-#define __AFXOLECL_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifndef _INC_DLGS
-	#include <dlgs.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< 표준 MFC 원본은 변경할 수 없음! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Client Resources
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE strings
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_STATIC_OBJECT           "고정 ActiveX 개체를 활성화할 수 없습니다."
-	AFX_IDP_FAILED_TO_CONNECT       "접속 실패.\n 연결이 끊어졌을 수 있음."
-	AFX_IDP_SERVER_BUSY             "명령을 처리할 수 없음, 서버 사용 중."
-	AFX_IDP_BAD_VERB                "서버 작동 실행 실패."
-	AFX_IDP_FAILED_TO_LAUNCH        "서버 응용프로그램 실패."
-	AFX_IDS_UPDATING_ITEMS          "ActiveX 개체 새로 고침"
-	AFX_IDP_FAILED_TO_CONVERT       "ActiveX 개체를 변환하는 데 실패하였습니다."
-	AFX_IDP_ASK_TO_DISCARD          "현재의 Windows에서는 ActiveX 개체를 저장할 수 없습니다!\n%1에 대한 변경 사항을 무시할까요?"
-	AFX_IDP_FAILED_TO_CREATE        "개체 만들기 실패. 응용 프로그램이 시스템 등록부에 입력되었는지 확인하십시오."
-
-	AFX_IDS_METAFILE_FORMAT         "그림 (메타파일)\n 그림"
-	AFX_IDS_DIB_FORMAT              "장치 독립 비트맵\n 장치 독립 비트맵"
-	AFX_IDS_BITMAP_FORMAT           "비트맵\n 비트맵"
-	AFX_IDS_LINKSOURCE_FORMAT       "%s\n%s"
-	AFX_IDS_EMBED_FORMAT            "%s\n%s"
-	AFX_IDS_RTF_FORMAT              "Rich 텍스트 (RTF)\n글꼴 및 단락 서식이 있는 텍스트"
-	AFX_IDS_TEXT_FORMAT             "서식 비설정 텍스트\n서식이 없는 텍스트"
-
-	AFX_IDS_INVALID_CURRENCY        "잘못된 통화."
-	AFX_IDS_INVALID_DATETIME        "잘못된 일시."
-	AFX_IDS_INVALID_DATETIMESPAN    "잘못된 일시 범위."
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXOLECL_RC__

+ 0 - 53
libs/mfc/include/Kor/afxolesv.rc

@@ -1,53 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXOLESV_RC__
-#define __AFXOLESV_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< 표준 MFC 원본은 변경할 수 없음! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Server Resources
-
-// OLE strings
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_ASK_TO_UPDATE,              "진행하기 전에 %1을(를) 새로 고칠까요?"
-	AFX_IDP_FAILED_TO_UPDATE,           "클라이언트를 새로 고칠 수 없음."
-
-	AFX_IDP_FAILED_TO_REGISTER,         "등록할 수 없습니다. ActiveX 기능이 바르게 작동하지 않는 것 같습니다."
-	AFX_IDP_FAILED_TO_AUTO_REGISTER,    "시스템 등록부 새로 고침 실패.\nREGEDIT를 사용해 보십시오."
-END
-
-STRINGTABLE PRELOAD
-BEGIN
-	AFX_IDS_APP_TITLE_EMBEDDING,        "%2 에서 %1"
-	AFX_IDS_OBJ_TITLE_INPLACE,          "%1 - %2"
-	AFX_IDS_EXIT_MENU,                  "종료 && %1로(으로) 복귀(&X)"
-	AFX_IDS_UPDATE_MENU,                "%1 새로 고침(&U)"
-	AFX_IDS_SAVEFILECOPY,               "사본 다른 이름으로 저장"
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXOLESV_RC__

+ 0 - 90
libs/mfc/include/Kor/afxprint.rc

@@ -1,90 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXPRINT_RC__
-#define __AFXPRINT_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< 표준 MFC 원본은 변경할 수 없음! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// Printing Resources
-
-AFX_IDC_MAGNIFY         CURSOR  DISCARDABLE     "res\\magnify.cur"
-
-AFX_IDD_PRINTDLG DIALOG DISCARDABLE  6, 18, 133, 95
-STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | 0x04
-FONT 8, "MS Shell Dlg"
-BEGIN
-	CTEXT           "인쇄",IDC_STATIC,0,9,133,8
-	CTEXT           "",AFX_IDC_PRINT_DOCNAME,0,19,133,8
-	CTEXT           "에서",IDC_STATIC,0,29,133,8
-	CTEXT           "",AFX_IDC_PRINT_PRINTERNAME,0,39,133,8
-	CTEXT           "",AFX_IDC_PRINT_PORTNAME,0,49,133,8
-	CTEXT           "",AFX_IDC_PRINT_PAGENUM,0,59,133,8
-	PUSHBUTTON      "취소",IDCANCEL,46,74,40,14
-END
-
-// Preview Toolbar Dialog
-AFX_IDD_PREVIEW_TOOLBAR DIALOG PRELOAD DISCARDABLE  0, 0, 330, 16
-STYLE WS_CHILD | 0x04
-FONT 8, "MS Shell Dlg"
-BEGIN
-	PUSHBUTTON      "인쇄(&P)...",AFX_ID_PREVIEW_PRINT,2,2,44,12
-	PUSHBUTTON      "다음 쪽(&N)",AFX_ID_PREVIEW_NEXT,48,2,44,12
-	PUSHBUTTON      "이전 쪽(&V)",AFX_ID_PREVIEW_PREV,94,2,44,12
-	PUSHBUTTON      "",AFX_ID_PREVIEW_NUMPAGE,140,2,44,12
-	PUSHBUTTON      "확대(&I)",AFX_ID_PREVIEW_ZOOMIN,186,2,44,12
-	PUSHBUTTON      "축소(&O)",AFX_ID_PREVIEW_ZOOMOUT,232,2,44,12
-	PUSHBUTTON      "닫기(&C)",AFX_ID_PREVIEW_CLOSE,278,2,44,12
-END
-
-// Printing strings
-STRINGTABLE DISCARDABLE
-BEGIN
-	// print progress dialog strings
-	AFX_IDS_PRINTONPORT,            "%1에"         // for print output
-	AFX_IDS_ONEPAGE,                "한 쪽(&O)"     // for preview button
-	AFX_IDS_TWOPAGE,                "두 쪽(&T)"     // for preview button
-	AFX_IDS_PRINTPAGENUM,           "페이지 %u"       // for print output
-	AFX_IDS_PREVIEWPAGEDESC,        "페이지 %u\n페이지 %u-%u\n"
-
-	// print to file dialog strings
-	AFX_IDS_PRINTDEFAULTEXT,        "prn"           // default extension
-	AFX_IDS_PRINTDEFAULT,           "Output.prn"    // default file
-	AFX_IDS_PRINTFILTER,
-		"프린터 파일 (*.prn)|*.prn|모든 파일 (*.*)|*.*||"
-	AFX_IDS_PRINTCAPTION,           "파일에 인쇄" // caption for browse dlg
-	AFX_IDS_PRINTTOFILE,            "%1 로(으로)"         // to file
-END
-
-// Print Preview Accelerator Table
-AFX_IDR_PREVIEW_ACCEL ACCELERATORS LOADONCALL MOVEABLE
-BEGIN
-	VK_NEXT,    AFX_ID_PREVIEW_NEXT,    VIRTKEY, NOINVERT
-	VK_PRIOR,   AFX_ID_PREVIEW_PREV,    VIRTKEY, NOINVERT
-	VK_ESCAPE,  AFX_ID_PREVIEW_CLOSE,   VIRTKEY, NOINVERT
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXPRINT_RC__

+ 0 - 202
libs/mfc/include/Kor/afxres.rc

@@ -1,202 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXRES_RC__
-#define __AFXRES_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< 표준 MFC 원본은 변경할 수 없음! >\0"
-END
-#endif //APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// Default resource description for MFC applications
-/////////////////////////////////////////////////////////////////////////////
-
-/////////////////////////////////////////////////////////////////////////////
-// Strings
-
-STRINGTABLE DISCARDABLE
-BEGIN
-#ifndef _AFX_NO_APPMENU_RESOURCES
-	AFX_IDS_OPENFILE,               "열기"
-	AFX_IDS_SAVEFILE,               "다른 이름으로 저장"
-	AFX_IDS_ALLFILTER,              "모든 파일 (*.*)"
-	AFX_IDS_UNTITLED,               "제목없음"
-	AFX_IDS_HIDE,                   "숨김(&H)"
-#endif // !_AFX_NO_APPMENUSTRING_RESOURCES
-
-	AFX_IDS_MEMORY_EXCEPTION,       "메모리 부족."
-	AFX_IDS_NOT_SUPPORTED_EXCEPTION,"지원되지 않는 작동이 시도되었음."
-	AFX_IDS_RESOURCE_EXCEPTION,     "필요한 자원이 없음."
-	AFX_IDS_USER_EXCEPTION,         "미지의 오류가 발생하였습니다."
-
-	// General error prompts
-#ifndef _AFX_NO_FILECMD_RESOURCES
-	AFX_IDP_INVALID_FILENAME,       "잘못된 파일 이름."
-	AFX_IDP_FAILED_TO_OPEN_DOC,     "문서 열기 실패."
-	AFX_IDP_FAILED_TO_SAVE_DOC,     "문서 저장 실패."
-	AFX_IDP_ASK_TO_SAVE,            "변경 내용을 %1에 저장할까요?"
-	AFX_IDP_FAILED_TO_CREATE_DOC,   "빈 문서 작성 실패."
-	AFX_IDP_FILE_TOO_LARGE,         "파일이 너무 커서 열 수 없음."
-	AFX_IDP_FAILED_TO_START_PRINT,  "인쇄 작업을 시작할 수 없음."
-#endif // !_AFX_NO_FILECMD_RESOURCES
-	AFX_IDP_FAILED_TO_LAUNCH_HELP,  "도움말 시작 실패."
-	AFX_IDP_INTERNAL_FAILURE,       "내부 응용프로그램 오류."
-	AFX_IDP_COMMAND_FAILURE,        "명령 실패."
-	AFX_IDP_FAILED_MEMORY_ALLOC     "작동을 실행하기에 메모리가 부족함."
-	AFX_IDP_GET_NOT_SUPPORTED,      "쓰기전용 특성을 읽을 수 없음."
-	AFX_IDP_SET_NOT_SUPPORTED,      "읽기전용 특성을 쓸 수 없음."
-	AFX_IDP_UNREG_DONE,               "시스템 레지스트리 항목과 INI 파일(만약 있다면)이 삭제되었습니다."
-	AFX_IDP_UNREG_FAILURE,            "모든 시스템 레지스트리 항목(또는 INI 파일)이 삭제되지는 않았습니다."
-	AFX_IDP_DLL_LOAD_FAILED,        "이 프로그램은 %s 파일이 필요합니다. 시스템에서 이 파일을 찾을 수 없습니다."
-	AFX_IDP_DLL_BAD_VERSION,        "이 프로그램에 연결되어 있는 %s(% 파일의)을 찾을 수 없습니다. 이 시스템은 호환되지 않는 버전의 %s을(를) 포함하고 있는 것 같습니다."
-
-	// CFile/CArchive error strings for user failure
-#ifndef _AFX_NO_CFILE_RESOURCES
-	AFX_IDP_FAILED_INVALID_FORMAT   "예기치 않은 파일 포맷."
-	AFX_IDP_FAILED_INVALID_PATH     "%1\n이 파일을 찾을 수 없음.\n경로와 파일 이름이 정확한지 확인하십시오."
-	AFX_IDP_FAILED_DISK_FULL        "대상 디스크 드라이브가 꽉 찼음."
-	AFX_IDP_FAILED_ACCESS_READ      "%1로(으로)부터 읽을 수 없음. 다른 사람이 열었음."
-	AFX_IDP_FAILED_ACCESS_WRITE     "%1에 쓸 수 없음. 읽기전용이거나 다른 사람이 열었음."
-	AFX_IDP_FAILED_IO_ERROR_READ    "%1을(를) 읽는 중에 예기치 못한 오류 발생."
-	AFX_IDP_FAILED_IO_ERROR_WRITE   "%1을(를) 쓰는 중에 예기치 못한 오류 발생."
-#endif // !_AFX_NO_CFILE_RESOURCES
-
-	// Parsing error prompts
-	AFX_IDP_PARSE_INT,              "정수를 입력하십시오."
-	AFX_IDP_PARSE_REAL,             "숫자를 입력하십시오."
-	AFX_IDP_PARSE_INT_RANGE,        "%1와(과) %2 사이의 정수를 입력하십시오."
-	AFX_IDP_PARSE_REAL_RANGE,       "%1와(과) %2 사이의 숫자를 입력하십시오."
-	AFX_IDP_PARSE_STRING_SIZE,      "%1 이하의 문자를 입력하십시오."
-	AFX_IDP_PARSE_RADIO_BUTTON,     "버튼을 선택하십시오."
-	AFX_IDP_PARSE_BYTE,             "0 에서 255 사이의 정수를 입력하십시오."
-	AFX_IDP_PARSE_UINT,             "양의 정수를 입력하십시오."
-	AFX_IDP_PARSE_DATETIME,         "날짜 및/또는 시간을 입력하십시오."
-	AFX_IDP_PARSE_CURRENCY,         "통화를 입력하십시오."
-
-#ifndef _AFX_NO_OLE_RESOURCES
-	// OLE strings required for both servers and containers
-	AFX_IDS_PASTELINKEDTYPE         "연결된 %s"
-	AFX_IDS_UNKNOWNTYPE             "미지의 종류"
-	AFX_IDP_FAILED_TO_NOTIFY        "%1\n문서를 등록할 수 없음.\n문서가 이미 열려 있음."
-	AFX_IDS_NOT_DOCOBJECT           "이 파일은 Document Object 서버에서 지원하지 않습니다."
-#endif //!_AFX_NO_OLE_RESOURCES
-
-	AFX_IDP_NO_ERROR_AVAILABLE      "오류 메시지가 없음."
-
-#ifndef _AFX_NO_CFILE_RESOURCES
-	AFX_IDP_FILE_NONE                "아무 오류도 발생하지 않았음."
-	AFX_IDP_FILE_GENERIC             "%1 액세스 중에 미지의 오류 발생."
-	AFX_IDP_FILE_NOT_FOUND           "%1 을(를) 찾을 수 없음."
-	AFX_IDP_FILE_BAD_PATH            "%1 에 잘못된 경로가 있음."
-	AFX_IDP_FILE_TOO_MANY_OPEN       "열린 파일이 너무 많으므로 %1을(를) 열 수 없음."
-	AFX_IDP_FILE_ACCESS_DENIED       "%1에 대한 액세스가 거부되었음."
-	AFX_IDP_FILE_INVALID_FILE        "잘못된 파일 핸들이 %1와(과) 관련되었음."
-	AFX_IDP_FILE_REMOVE_CURRENT      "%1은(는) 현재 디렉토리이기 때문에 삭제할 수 없음."
-	AFX_IDP_FILE_DIR_FULL            "디렉토리가 꽉 찼기 때문에 %1을(를) 작성할 수 없음."
-	AFX_IDP_FILE_BAD_SEEK            "%1에서 탐색 실패"
-	AFX_IDP_FILE_HARD_IO             "%1 액세스 중에 하드웨어 입출력 오류가 보고되었음."
-	AFX_IDP_FILE_SHARING             "%1 액세스 중에 공유 위반이 발생하였음."
-	AFX_IDP_FILE_LOCKING             "%1 액세스 중에 잠금 위반이 발생하였음."
-	AFX_IDP_FILE_DISKFULL            "%1 액세스 중에 디스크가 꽉 참."
-	AFX_IDP_FILE_EOF                 "%1의 끝을 지나서 액세스하려는 시도가 있었음."
-	AFX_IDS_UNNAMED_FILE             "이름 없는 파일"
-#endif // !_AFX_NO_CFILE_RESOURCES
-
-	AFX_IDP_ARCH_NONE               "아무 오류도 발생하지 않았음."
-	AFX_IDP_ARCH_GENERIC                "%1 액세스 중에 미지의 오류 발생."
-	AFX_IDP_ARCH_READONLY           "%1 읽기에 쓰기를 하려는 시도가 있었음."
-	AFX_IDP_ARCH_ENDOFFILE          "%1의 끝을 지나서 액세스하려는 시도가 있었음."
-	AFX_IDP_ARCH_WRITEONLY          "%1 쓰기로부터 읽으려는 시도가 있었음."
-	AFX_IDP_ARCH_BADINDEX           "%1에는 불량 포맷이 있음."
-	AFX_IDP_ARCH_BADCLASS           "%1에는 예기치 못한 개체가 있음."
-	AFX_IDP_ARCH_BADSCHEMA          "%1에는 부정확한 스키마가 있음."
-
-#ifndef _AFX_NO_MAPI_RESOURCES
-	// MAPI strings / error messages
-	AFX_IDP_FAILED_MAPI_LOAD        "우편 시스템 지원을 읽어들일 수 없음."
-	AFX_IDP_INVALID_MAPI_DLL        "우편 시스템 DLL이 잘못되었음."
-	AFX_IDP_FAILED_MAPI_SEND        "우편 보내기가 메시지 송신에 실패했음."
-#endif //!_AFX_NO_MAPI_RESOURCES
-
-#ifndef _AFX_NO_OCC_RESOURCES
-	AFX_IDS_OCC_SCALEUNITS_PIXELS   "픽셀"
-#endif //!_AFX_NO_OCC_RESOURCES
-END
-
-/////////////////////////////////////////////////////////////////////////////
-// Cursors
-
-AFX_IDC_CONTEXTHELP     CURSOR  DISCARDABLE     "res\\help.cur"
-
-#ifndef _AFX_NO_SPLITTER_RESOURCES
-AFX_IDC_SMALLARROWS     CURSOR  DISCARDABLE     "res\\sarrows.cur"
-AFX_IDC_HSPLITBAR       CURSOR  DISCARDABLE     "res\\splith.cur"
-AFX_IDC_VSPLITBAR       CURSOR  DISCARDABLE     "res\\splitv.cur"
-AFX_IDC_NODROPCRSR      CURSOR  DISCARDABLE     "res\\nodrop.cur"
-#endif //!_AFX_NO_SPLITTER_RESOURCES
-
-#ifndef _AFX_NO_TRACKER_RESOURCES
-AFX_IDC_TRACKNWSE       CURSOR  DISCARDABLE     "res\\trcknwse.cur"
-AFX_IDC_TRACKNESW       CURSOR  DISCARDABLE     "res\\trcknesw.cur"
-AFX_IDC_TRACKNS         CURSOR  DISCARDABLE     "res\\trckns.cur"
-AFX_IDC_TRACKWE         CURSOR  DISCARDABLE     "res\\trckwe.cur"
-AFX_IDC_TRACK4WAY       CURSOR  DISCARDABLE     "res\\trck4way.cur"
-AFX_IDC_MOVE4WAY        CURSOR  DISCARDABLE     "res\\move4way.cur"
-#endif //!_AFX_NO_TRACKER_RESOURCES
-
-#ifndef _AFX_NO_CTL3D_RESOURCES
-26567 BITMAP "res\\3dcheck.bmp" // Note: 26567 comes from CTL3D.H
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// Standard Dialogs
-
-#ifndef _AFX_NO_NEWTYPEDLG_RESOURCES
-AFX_IDD_NEWTYPEDLG DIALOG DISCARDABLE  9, 26, 183, 70
-STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | 0x04
-CAPTION "새로운"
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "새로운(&N)",IDC_STATIC,6,5,123,8,NOT WS_GROUP
-	LISTBOX         AFX_IDC_LISTBOX,6,15,125,49,WS_VSCROLL | WS_TABSTOP
-	DEFPUSHBUTTON   "확인",IDOK,137,6,40,14
-	PUSHBUTTON      "취소",IDCANCEL,137,23,40,14
-	PUSHBUTTON      "도움말(&H)",ID_HELP,137,43,40,14
-END
-#endif // !_AFX_NO_NEWTYPEDLG_RESOURCES
-
-/////////////////////////////////////////////////////////////////////////////
-// CMiniFrameWnd Bitmap
-
-AFX_IDB_MINIFRAME_MENU      BITMAP  DISCARDABLE     "res\\minifwnd.bmp"
-
-/////////////////////////////////////////////////////////////////////////////
-// CCheckListBox Bitmaps
-
-AFX_IDB_CHECKLISTBOX_NT     BITMAP  DISCARDABLE     "res\\ntcheck.bmp"
-AFX_IDB_CHECKLISTBOX_95     BITMAP  DISCARDABLE     "res\\95check.bmp"
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //!__AFXRES_RC__
-
-/////////////////////////////////////////////////////////////////////////////

+ 10 - 0
libs/mfc/include/afx.h

@@ -883,7 +883,9 @@ public:
 
 	virtual BOOL GetErrorMessage(LPTSTR lpszError, UINT nMaxError,
 		PUINT pnHelpContext = NULL);
+#ifndef WINSCP
 	virtual int ReportError(UINT nType = MB_OK, UINT nMessageID = 0);
+#endif
 
 // Implementation (setting m_bAutoDelete to FALSE is advanced)
 public:
@@ -1253,8 +1255,10 @@ public:
 
 	virtual DWORD GetPosition() const;
 	BOOL GetStatus(CFileStatus& rStatus) const;
+#ifndef WINSCP
 	virtual CString GetFileName() const;
 	virtual CString GetFileTitle() const;
+#endif
 	virtual CString GetFilePath() const;
 	virtual void SetFilePath(LPCTSTR lpszNewName);
 
@@ -1956,12 +1960,14 @@ extern AFX_DATA BOOL afxTraceEnabled;
 #pragma pack(pop)
 #endif
 
+#ifndef WINSCP
 #ifndef __AFXCOLL_H__
 	#include <afxcoll.h>
 	#ifndef __AFXSTATE_H__
 		#include <afxstat_.h> // for _AFX_APP_STATE and _AFX_THREAD_STATE
 	#endif
 #endif
+#endif
 
 /////////////////////////////////////////////////////////////////////////////
 // Inline function declarations
@@ -1988,6 +1994,10 @@ extern AFX_DATA BOOL afxTraceEnabled;
 #pragma component(mintypeinfo, off)
 #endif
 
+#ifdef WINSCP
+extern HINSTANCE afxCurrentResourceHandle;
+#endif
+
 #endif // __AFX_H__
 
 /////////////////////////////////////////////////////////////////////////////

+ 0 - 181
libs/mfc/include/afxadv.h

@@ -1,181 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-// Note: This header file contains useful classes that are documented only
-//  in the MFC Technical Notes.  These classes may change from version to
-//  version, so be prepared to change your code accordingly if you utilize
-//  this header.  In the future, commonly used portions of this header
-//  may be moved and officially documented.
-
-#ifndef __AFXADV_H__
-#define __AFXADV_H__
-
-#ifndef __AFXWIN_H__
-	#include <afxwin.h>
-#endif
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, off)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, on)
-#endif
-
-#ifdef _AFX_PACKING
-#pragma pack(push, _AFX_PACKING)
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// AFXADV - MFC Advanced Classes
-
-// Classes declared in this file
-
-//CObject
-	//CFile
-		//CMemFile
-			class CSharedFile;          // Shared memory file
-
-	class CRecentFileList;              // used in CWinApp for MRU list
-	class CDockState;                   // state of docking toolbars
-
-/////////////////////////////////////////////////////////////////////////////
-
-#undef AFX_DATA
-#define AFX_DATA AFX_CORE_DATA
-
-/////////////////////////////////////////////////////////////////////////////
-// Shared file support
-
-class CSharedFile : public CMemFile
-{
-	DECLARE_DYNAMIC(CSharedFile)
-
-public:
-// Constructors
-	CSharedFile(UINT nAllocFlags = GMEM_DDESHARE|GMEM_MOVEABLE,
-		UINT nGrowBytes = 4096);
-
-// Attributes
-	HGLOBAL Detach();
-	void SetHandle(HGLOBAL hGlobalMemory, BOOL bAllowGrow = TRUE);
-
-// Implementation
-public:
-	virtual ~CSharedFile();
-protected:
-	virtual BYTE* Alloc(DWORD nBytes);
-	virtual BYTE* Realloc(BYTE* lpMem, DWORD nBytes);
-	virtual void Free(BYTE* lpMem);
-
-	UINT m_nAllocFlags;
-	HGLOBAL m_hGlobalMemory;
-	BOOL m_bAllowGrow;
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CRecentFileList
-
-#define AFX_ABBREV_FILENAME_LEN 30
-
-class CRecentFileList
-{
-// Constructors
-public:
-	CRecentFileList(UINT nStart, LPCTSTR lpszSection,
-		LPCTSTR lpszEntryFormat, int nSize,
-		int nMaxDispLen = AFX_ABBREV_FILENAME_LEN);
-
-// Attributes
-	int GetSize() const;
-	CString& operator[](int nIndex);
-
-// Operations
-	virtual void Remove(int nIndex);
-	virtual void Add(LPCTSTR lpszPathName);
-	BOOL GetDisplayName(CString& strName, int nIndex,
-		LPCTSTR lpszCurDir, int nCurDir, BOOL bAtLeastName = TRUE) const;
-	virtual void UpdateMenu(CCmdUI* pCmdUI);
-	virtual void ReadList();    // reads from registry or ini file
-	virtual void WriteList();   // writes to registry or ini file
-
-// Implementation
-	virtual ~CRecentFileList();
-
-	int m_nSize;                // contents of the MRU list
-	CString* m_arrNames;
-	CString m_strSectionName;   // for saving
-	CString m_strEntryFormat;
-	UINT m_nStart;              // for displaying
-	int m_nMaxDisplayLength;
-	CString m_strOriginal;      // original menu item contents
-};
-
-AFX_INLINE int CRecentFileList::GetSize() const
-	{ return m_nSize; }
-AFX_INLINE CString& CRecentFileList::operator[](int nIndex)
-	{ ASSERT(nIndex < m_nSize); return m_arrNames[nIndex]; }
-
-/////////////////////////////////////////////////////////////////////////////
-// CDockState - used for docking serialization
-
-class CDockState : public CObject
-{
-	DECLARE_SERIAL(CDockState)
-	CDockState();
-
-public:
-// Attributes
-	CPtrArray m_arrBarInfo;
-
-public:
-// Operations
-	void LoadState(LPCTSTR lpszProfileName);
-	void SaveState(LPCTSTR lpszProfileName);
-	void Clear(); //deletes all the barinfo's
-	DWORD GetVersion();
-
-// Implementation
-protected:
-	BOOL m_bScaling;
-	CRect m_rectDevice;
-	CRect m_rectClip;
-	CSize m_sizeLogical;
-	DWORD m_dwVersion;
-
-public:
-	~CDockState();
-	virtual void Serialize(CArchive& ar);
-
-	// scaling implementation
-	void ScalePoint(CPoint& pt);
-	void ScaleRectPos(CRect& rect);
-	CSize GetScreenSize();
-	void SetScreenSize(CSize& size);
-};
-
-/////////////////////////////////////////////////////////////////////////////
-
-#ifdef _AFX_PACKING
-#pragma pack(pop)
-#endif
-
-#undef AFX_DATA
-#define AFX_DATA
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, on)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, off)
-#endif
-
-#endif // __AFXADV_H__
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 9
libs/mfc/include/afxbld_.h

@@ -1,9 +0,0 @@
-// MFC Julian date build numbers (YDDD)
-
-#define _MFC_BUILD 8063
-#define _MFC_USER_BUILD "8063"
-
-#ifndef _MFC_RBLD
-#define _MFC_RBLD 0
-#define _MFC_USER_RBLD "0"
-#endif

+ 0 - 1150
libs/mfc/include/afxcmn.h

@@ -1,1150 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXCMN_H__
-#define __AFXCMN_H__
-
-#ifdef _AFX_NO_AFXCMN_SUPPORT
-	#error Windows Common Control classes not supported in this library variant.
-#endif
-
-#ifndef __AFXWIN_H__
-	#include <afxwin.h>
-#endif
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, off)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, on)
-#endif
-
-#ifndef IMAGE_BITMAP
-#define IMAGE_BITMAP 0
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-
-#ifdef _AFX_PACKING
-#pragma pack(push, _AFX_PACKING)
-#endif
-
-#ifndef _AFX_NO_RICHEDIT_SUPPORT
-	#ifndef _RICHEDIT_
-		#include <richedit.h>
-	#endif
-	#ifdef __AFXOLE_H__  // only include richole if OLE support is included
-		#ifndef _RICHOLE_
-			#include <richole.h>
-			#define _RICHOLE_
-		#endif
-	#else
-		struct IRichEditOle;
-		struct IRichEditOleCallback;
-	#endif
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// AFXCMN - MFC COMCTL32 Control Classes
-
-// Classes declared in this file
-
-//TOOLINFO
-	class CToolInfo;
-
-//CObject
-	class CImageList;
-	//CCmdTarget;
-		//CWnd
-			// class CListBox;
-				class CDragListBox;
-			class CListCtrl;
-			class CTreeCtrl;
-			class CSpinButtonCtrl;
-			class CHeaderCtrl;
-			class CSliderCtrl;
-			class CProgressCtrl;
-			// class CComboBox;
-				class CComboBoxEx;
-			class CHotKeyCtrl;
-			class CToolTipCtrl;
-			class CTabCtrl;
-			class CAnimateCtrl;
-			class CToolBarCtrl;
-			class CStatusBarCtrl;
-			class CRichEditCtrl;
-			class CIPAddressCtrl;
-
-#undef AFX_DATA
-#define AFX_DATA AFX_CORE_DATA
-
-/////////////////////////////////////////////////////////////////////////////
-// CToolInfo
-
-#ifdef _UNICODE
-class CToolInfo : public tagTOOLINFOW
-#else
-class CToolInfo : public tagTOOLINFOA
-#endif
-{
-public:
-	TCHAR szText[256];
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CDragListBox
-
-class CDragListBox : public CListBox
-{
-	DECLARE_DYNAMIC(CDragListBox)
-
-// Constructors
-public:
-	CDragListBox();
-
-// Attributes
-	int ItemFromPt(CPoint pt, BOOL bAutoScroll = TRUE) const;
-
-// Operations
-	virtual void DrawInsert(int nItem);
-
-// Overridables
-	virtual BOOL BeginDrag(CPoint pt);
-	virtual void CancelDrag(CPoint pt);
-	virtual UINT Dragging(CPoint pt);
-	virtual void Dropped(int nSrcIndex, CPoint pt);
-
-// Implementation
-public:
-	int m_nLast;
-	void DrawSingle(int nIndex);
-	virtual void PreSubclassWindow();
-	virtual ~CDragListBox();
-protected:
-	virtual BOOL OnChildNotify(UINT, WPARAM, LPARAM, LRESULT*);
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CStatusBarCtrl
-
-class CStatusBarCtrl : public CWnd
-{
-	DECLARE_DYNAMIC(CStatusBarCtrl)
-
-// Constructors
-public:
-	CStatusBarCtrl();
-	BOOL Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID);
-
-// Attributes
-	BOOL SetText(LPCTSTR lpszText, int nPane, int nType);
-	CString GetText(int nPane, int* pType = NULL) const;
-	int GetText(LPCTSTR lpszText, int nPane, int* pType = NULL) const;
-	int GetTextLength(int nPane, int* pType = NULL) const;
-	BOOL SetParts(int nParts, int* pWidths);
-	int GetParts(int nParts, int* pParts) const;
-	BOOL GetBorders(int* pBorders) const;
-	BOOL GetBorders(int& nHorz, int& nVert, int& nSpacing) const;
-	void SetMinHeight(int nMin);
-	BOOL SetSimple(BOOL bSimple = TRUE);
-	BOOL GetRect(int nPane, LPRECT lpRect) const;
-	BOOL IsSimple() const;
-	CString GetTipText(int nPane) const;
-	void SetTipText(int nPane, LPCTSTR pszTipText);
-	COLORREF SetBkColor(COLORREF cr);
-	BOOL SetIcon(int nPane, HICON hIcon);
-
-// Overridables
-	virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
-
-// Implementation
-public:
-	virtual ~CStatusBarCtrl();
-protected:
-	virtual BOOL OnChildNotify(UINT, WPARAM, LPARAM, LRESULT*);
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CListCtrl
-
-class CListCtrl : public CWnd
-{
-	DECLARE_DYNAMIC(CListCtrl)
-
-// Constructors
-public:
-	CListCtrl();
-	BOOL Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID);
-
-// Attributes
-	COLORREF GetBkColor() const;
-	BOOL SetBkColor(COLORREF cr);
-	CImageList* GetImageList(int nImageList) const;
-	CImageList* SetImageList(CImageList* pImageList, int nImageListType);
-	int GetItemCount() const;
-	BOOL GetItem(LVITEM* pItem) const;
-	BOOL SetItem(const LVITEM* pItem);
-	BOOL SetItem(int nItem, int nSubItem, UINT nMask, LPCTSTR lpszItem,
-		int nImage, UINT nState, UINT nStateMask, LPARAM lParam);
-	UINT GetCallbackMask() const;
-	BOOL SetCallbackMask(UINT nMask);
-	int GetNextItem(int nItem, int nFlags) const;
-	POSITION GetFirstSelectedItemPosition() const;
-	int GetNextSelectedItem(POSITION& pos) const;
-	BOOL GetItemRect(int nItem, LPRECT lpRect, UINT nCode) const;
-	BOOL SetItemPosition(int nItem, POINT pt);
-	BOOL GetItemPosition(int nItem, LPPOINT lpPoint) const;
-	int GetStringWidth(LPCTSTR lpsz) const;
-	CEdit* GetEditControl() const;
-	BOOL GetColumn(int nCol, LVCOLUMN* pColumn) const;
-	BOOL SetColumn(int nCol, const LVCOLUMN* pColumn);
-	int GetColumnWidth(int nCol) const;
-	BOOL SetColumnWidth(int nCol, int cx);
-	BOOL GetViewRect(LPRECT lpRect) const;
-	COLORREF GetTextColor() const;
-	BOOL SetTextColor(COLORREF cr);
-	COLORREF GetTextBkColor() const;
-	BOOL SetTextBkColor(COLORREF cr);
-	int GetTopIndex() const;
-	int GetCountPerPage() const;
-	BOOL GetOrigin(LPPOINT lpPoint) const;
-	BOOL SetItemState(int nItem, LVITEM* pItem);
-	BOOL SetItemState(int nItem, UINT nState, UINT nMask);
-	UINT GetItemState(int nItem, UINT nMask) const;
-	CString GetItemText(int nItem, int nSubItem) const;
-	int GetItemText(int nItem, int nSubItem, LPTSTR lpszText, int nLen) const;
-	BOOL SetItemText(int nItem, int nSubItem, LPCTSTR lpszText);
-	void SetItemCount(int nItems);
-	BOOL SetItemData(int nItem, DWORD dwData);
-	DWORD GetItemData(int nItem) const;
-	UINT GetSelectedCount() const;
-	BOOL SetColumnOrderArray(int iCount, LPINT piArray);
-	BOOL GetColumnOrderArray(LPINT piArray, int iCount = -1);
-	CSize SetIconSpacing(CSize size);
-	CSize SetIconSpacing(int cx, int cy);
-	CHeaderCtrl* GetHeaderCtrl();
-	HCURSOR GetHotCursor();
-	HCURSOR SetHotCursor(HCURSOR hc);
-	BOOL GetSubItemRect(int iItem, int iSubItem, int nArea, CRect& ref);
-	int GetHotItem();
-	int SetHotItem(int iIndex);
-	int GetSelectionMark();
-	int SetSelectionMark(int iIndex);
-	DWORD GetExtendedStyle();
-	DWORD SetExtendedStyle(DWORD dwNewStyle);
-	int SubItemHitTest(LPLVHITTESTINFO pInfo);
-	void SetWorkAreas(int nWorkAreas, LPRECT lpRect);
-	BOOL SetItemCountEx(int iCount, DWORD dwFlags = LVSICF_NOINVALIDATEALL);
-	CSize ApproximateViewRect(CSize sz = CSize(-1, -1), int iCount = -1) const;
-	BOOL GetBkImage(LVBKIMAGE* plvbkImage) const;
-	DWORD GetHoverTime() const;
-	void GetWorkAreas(int nWorkAreas, LPRECT prc) const;
-	BOOL SetBkImage(HBITMAP hbm, BOOL fTile = TRUE, int xOffsetPercent = 0, int yOffsetPercent = 0);
-	BOOL SetBkImage(LPTSTR pszUrl, BOOL fTile = TRUE, int xOffsetPercent = 0, int yOffsetPercent = 0);
-	BOOL SetBkImage(LVBKIMAGE* plvbkImage);
-	DWORD SetHoverTime(DWORD dwHoverTime = (DWORD)-1);
-	UINT GetNumberOfWorkAreas() const;
-	BOOL GetCheck(int nItem) const;
-	BOOL SetCheck(int nItem, BOOL fCheck = TRUE);
-
-// Operations
-	int InsertItem(const LVITEM* pItem);
-	int InsertItem(int nItem, LPCTSTR lpszItem);
-	int InsertItem(int nItem, LPCTSTR lpszItem, int nImage);
-	BOOL DeleteItem(int nItem);
-	BOOL DeleteAllItems();
-	int FindItem(LVFINDINFO* pFindInfo, int nStart = -1) const;
-	int HitTest(LVHITTESTINFO* pHitTestInfo) const;
-	int HitTest(CPoint pt, UINT* pFlags = NULL) const;
-	BOOL EnsureVisible(int nItem, BOOL bPartialOK);
-	BOOL Scroll(CSize size);
-	BOOL RedrawItems(int nFirst, int nLast);
-	BOOL Arrange(UINT nCode);
-	CEdit* EditLabel(int nItem);
-	int InsertColumn(int nCol, const LVCOLUMN* pColumn);
-	int InsertColumn(int nCol, LPCTSTR lpszColumnHeading,
-		int nFormat = LVCFMT_LEFT, int nWidth = -1, int nSubItem = -1);
-	BOOL DeleteColumn(int nCol);
-	CImageList* CreateDragImage(int nItem, LPPOINT lpPoint);
-	BOOL Update(int nItem);
-	BOOL SortItems(PFNLVCOMPARE pfnCompare, DWORD dwData);
-
-// Overridables
-	virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
-
-// Implementation
-public:
-	int InsertItem(UINT nMask, int nItem, LPCTSTR lpszItem, UINT nState,
-		UINT nStateMask, int nImage, LPARAM lParam);
-	virtual ~CListCtrl();
-protected:
-	void RemoveImageList(int nImageList);
-	virtual BOOL OnChildNotify(UINT, WPARAM, LPARAM, LRESULT*);
-protected:
-	//{{AFX_MSG(CListCtrl)
-	afx_msg void OnNcDestroy();
-	//}}AFX_MSG
-	DECLARE_MESSAGE_MAP()
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CTreeCtrl
-
-class CTreeCtrl : public CWnd
-{
-	DECLARE_DYNAMIC(CTreeCtrl)
-
-// Constructors
-public:
-	CTreeCtrl();
-	BOOL Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID);
-
-// Attributes
-	BOOL GetItemRect(HTREEITEM hItem, LPRECT lpRect, BOOL bTextOnly) const;
-	UINT GetCount() const;
-	UINT GetIndent() const;
-	void SetIndent(UINT nIndent);
-	CImageList* GetImageList(UINT nImageList) const;
-	CImageList* SetImageList(CImageList* pImageList, int nImageListType);
-	HTREEITEM GetNextItem(HTREEITEM hItem, UINT nCode) const;
-	HTREEITEM GetChildItem(HTREEITEM hItem) const;
-	HTREEITEM GetNextSiblingItem(HTREEITEM hItem) const;
-	HTREEITEM GetPrevSiblingItem(HTREEITEM hItem) const;
-	HTREEITEM GetParentItem(HTREEITEM hItem) const;
-	HTREEITEM GetFirstVisibleItem() const;
-	HTREEITEM GetNextVisibleItem(HTREEITEM hItem) const;
-	HTREEITEM GetPrevVisibleItem(HTREEITEM hItem) const;
-	HTREEITEM GetSelectedItem() const;
-	HTREEITEM GetDropHilightItem() const;
-	HTREEITEM GetRootItem() const;
-	BOOL GetItem(TVITEM* pItem) const;
-	CString GetItemText(HTREEITEM hItem) const;
-	BOOL GetItemImage(HTREEITEM hItem, int& nImage, int& nSelectedImage) const;
-	UINT GetItemState(HTREEITEM hItem, UINT nStateMask) const;
-	DWORD GetItemData(HTREEITEM hItem) const;
-	BOOL SetItem(TVITEM* pItem);
-	BOOL SetItem(HTREEITEM hItem, UINT nMask, LPCTSTR lpszItem, int nImage,
-		int nSelectedImage, UINT nState, UINT nStateMask, LPARAM lParam);
-	BOOL SetItemText(HTREEITEM hItem, LPCTSTR lpszItem);
-	BOOL SetItemImage(HTREEITEM hItem, int nImage, int nSelectedImage);
-	BOOL SetItemState(HTREEITEM hItem, UINT nState, UINT nStateMask);
-	BOOL SetItemData(HTREEITEM hItem, DWORD dwData);
-	BOOL ItemHasChildren(HTREEITEM hItem) const;
-	CEdit* GetEditControl() const;
-	UINT GetVisibleCount() const;
-	CToolTipCtrl* GetToolTips() const;
-	CToolTipCtrl* SetToolTips(CToolTipCtrl* pWndTip);
-	COLORREF GetBkColor() const;
-	COLORREF SetBkColor(COLORREF clr);
-	SHORT GetItemHeight() const;
-	SHORT SetItemHeight(SHORT cyHeight);
-	COLORREF GetTextColor() const;
-	COLORREF SetTextColor(COLORREF clr);
-	BOOL SetInsertMark(HTREEITEM hItem, BOOL fAfter = TRUE);
-	BOOL GetCheck(HTREEITEM hItem) const;
-	BOOL SetCheck(HTREEITEM hItem, BOOL fCheck = TRUE);
-	COLORREF GetInsertMarkColor() const;
-	COLORREF SetInsertMarkColor(COLORREF clrNew);
-
-// Operations
-	HTREEITEM InsertItem(LPTVINSERTSTRUCT lpInsertStruct);
-	HTREEITEM InsertItem(UINT nMask, LPCTSTR lpszItem, int nImage,
-		int nSelectedImage, UINT nState, UINT nStateMask, LPARAM lParam,
-		HTREEITEM hParent, HTREEITEM hInsertAfter);
-	HTREEITEM InsertItem(LPCTSTR lpszItem, HTREEITEM hParent = TVI_ROOT,
-		HTREEITEM hInsertAfter = TVI_LAST);
-	HTREEITEM InsertItem(LPCTSTR lpszItem, int nImage, int nSelectedImage,
-		HTREEITEM hParent = TVI_ROOT, HTREEITEM hInsertAfter = TVI_LAST);
-	BOOL DeleteItem(HTREEITEM hItem);
-	BOOL DeleteAllItems();
-	BOOL Expand(HTREEITEM hItem, UINT nCode);
-	BOOL Select(HTREEITEM hItem, UINT nCode);
-	BOOL SelectItem(HTREEITEM hItem);
-	BOOL SelectDropTarget(HTREEITEM hItem);
-	BOOL SelectSetFirstVisible(HTREEITEM hItem);
-	CEdit* EditLabel(HTREEITEM hItem);
-	HTREEITEM HitTest(CPoint pt, UINT* pFlags = NULL) const;
-	HTREEITEM HitTest(TVHITTESTINFO* pHitTestInfo) const;
-	CImageList* CreateDragImage(HTREEITEM hItem);
-	BOOL SortChildren(HTREEITEM hItem);
-	BOOL EnsureVisible(HTREEITEM hItem);
-	BOOL SortChildrenCB(LPTVSORTCB pSort);
-
-// Implementation
-protected:
-	void RemoveImageList(int nImageList);
-public:
-	virtual ~CTreeCtrl();
-	//{{AFX_MSG(CTreeCtrl)
-	afx_msg void OnDestroy();
-	//}}AFX_MSG
-	DECLARE_MESSAGE_MAP()
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CSpinButtonCtrl
-
-class CSpinButtonCtrl : public CWnd
-{
-	DECLARE_DYNAMIC(CSpinButtonCtrl)
-
-// Constructors
-public:
-	CSpinButtonCtrl();
-	BOOL Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID);
-
-// Attributes
-	BOOL SetAccel(int nAccel, UDACCEL* pAccel);
-	UINT GetAccel(int nAccel, UDACCEL* pAccel) const;
-	int SetBase(int nBase);
-	UINT GetBase() const;
-	CWnd* SetBuddy(CWnd* pWndBuddy);
-	CWnd* GetBuddy() const;
-	int SetPos(int nPos);
-	int GetPos() const;
-	void SetRange(int nLower, int nUpper);
-	void SetRange32(int nLower, int nUpper);
-	DWORD GetRange() const;
-	void GetRange(int &lower, int& upper) const;
-	void GetRange32(int &lower, int& upper) const;
-
-// Implementation
-public:
-	virtual ~CSpinButtonCtrl();
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CSliderCtrl
-
-class CSliderCtrl : public CWnd
-{
-	DECLARE_DYNAMIC(CSliderCtrl)
-
-// Constructors
-public:
-	CSliderCtrl();
-	BOOL Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID);
-
-// Attributes
-	int GetLineSize() const;
-	int SetLineSize(int nSize);
-	int GetPageSize() const;
-	int SetPageSize(int nSize);
-	int GetRangeMax() const;
-	int GetRangeMin() const;
-	void GetRange(int& nMin, int& nMax) const;
-	void SetRangeMin(int nMin, BOOL bRedraw = FALSE);
-	void SetRangeMax(int nMax, BOOL bRedraw = FALSE);
-	void SetRange(int nMin, int nMax, BOOL bRedraw = FALSE);
-	void GetSelection(int& nMin, int& nMax) const;
-	void SetSelection(int nMin, int nMax);
-	void GetChannelRect(LPRECT lprc) const;
-	void GetThumbRect(LPRECT lprc) const;
-	int GetPos() const;
-	void SetPos(int nPos);
-	UINT GetNumTics() const;
-	DWORD* GetTicArray() const;
-	int GetTic(int nTic) const;
-	int GetTicPos(int nTic) const;
-	BOOL SetTic(int nTic);
-	void SetTicFreq(int nFreq);
-	CWnd* GetBuddy(BOOL fLocation = TRUE) const;
-	CWnd* SetBuddy(CWnd* pWndBuddy, BOOL fLocation = TRUE);
-	CToolTipCtrl* GetToolTips() const;
-	void SetToolTips(CToolTipCtrl* pWndTip);
-	int SetTipSide(int nLocation);
-
-// Operations
-	void ClearSel(BOOL bRedraw = FALSE);
-	void VerifyPos();
-	void ClearTics(BOOL bRedraw = FALSE);
-
-// Implementation
-public:
-	virtual ~CSliderCtrl();
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CProgressCtrl
-
-class CProgressCtrl : public CWnd
-{
-	DECLARE_DYNAMIC(CProgressCtrl)
-
-// Constructors
-public:
-	CProgressCtrl();
-	BOOL Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID);
-
-// Attributes
-	void SetRange(short nLower, short nUpper);
-	void SetRange32(int nLower, int nUpper);
-	void GetRange(int& nLower, int& nUpper);
-	int GetPos();
-	int SetPos(int nPos);
-	int OffsetPos(int nPos);
-	int SetStep(int nStep);
-
-// Operations
-	int StepIt();
-
-// Implementation
-public:
-	virtual ~CProgressCtrl();
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CComboBoxEx
-
-class CComboBoxEx : public CComboBox
-{
-	DECLARE_DYNAMIC(CComboBoxEx)
-
-// Constructors
-public:
-	CComboBoxEx();
-	BOOL Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID);
-
-// Operations
-	int DeleteItem(int iIndex);
-	BOOL GetItem(COMBOBOXEXITEM* pCBItem);
-	int InsertItem(const COMBOBOXEXITEM* pCBItem);
-	BOOL SetItem(const COMBOBOXEXITEM* pCBItem);
-
-// Attributes
-	BOOL HasEditChanged();
-	DWORD GetExtendedStyle() const;
-	DWORD SetExtendedStyle(DWORD dwExMask, DWORD dwExStyles);
-	CEdit* GetEditCtrl();
-	CComboBox* GetComboBoxCtrl();
-	CImageList* GetImageList() const;
-	CImageList* SetImageList(CImageList* pImageList);
-
-	// These functions are supported by the Windows ComboBox control,
-	// but not supported by the Windows ComboBoxEx control.
-
-	int Dir(UINT attr, LPCTSTR lpszWildCard);
-	int FindString(int nIndexStart, LPCTSTR lpszFind) const;
-	int AddString(LPCTSTR lpszString);
-	BOOL SetEditSel(int nStartChar, int nEndChar);
-	int InsertString(int nIndex, LPCTSTR lpszString);
-
-// Implementation
-public:
-	virtual ~CComboBoxEx();
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CHeaderCtrl
-
-class CHeaderCtrl : public CWnd
-{
-	DECLARE_DYNAMIC(CHeaderCtrl)
-
-// Constructors
-public:
-	CHeaderCtrl();
-	BOOL Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID);
-
-// Attributes
-	int GetItemCount() const;
-	BOOL GetItem(int nPos, HDITEM* pHeaderItem) const;
-	BOOL SetItem(int nPos, HDITEM* pHeaderItem);
-	CImageList* GetImageList() const;
-	CImageList* SetImageList(CImageList* pImageList);
-	BOOL GetItemRect(int nIndex, LPRECT lpRect) const;
-	BOOL GetOrderArray(LPINT piArray, int iCount = -1);
-	BOOL SetOrderArray(int iCount, LPINT piArray);
-	int OrderToIndex(int nOrder) const;
-
-// Operations
-	int InsertItem(int nPos, HDITEM* phdi);
-	BOOL DeleteItem(int nPos);
-	BOOL Layout(HDLAYOUT* pHeaderLayout);
-	CImageList* CreateDragImage(int nIndex);
-	int SetHotDivider(CPoint pt);
-	int SetHotDivider(int nIndex);
-
-// Overridables
-	virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
-
-// Implementation
-public:
-	virtual ~CHeaderCtrl();
-protected:
-	virtual BOOL OnChildNotify(UINT, WPARAM, LPARAM, LRESULT*);
-
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CHotKeyCtrl
-
-class CHotKeyCtrl : public CWnd
-{
-	DECLARE_DYNAMIC(CHotKeyCtrl)
-
-// Constructors
-public:
-	CHotKeyCtrl();
-	BOOL Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID);
-
-// Attributes
-	void SetHotKey(WORD wVirtualKeyCode, WORD wModifiers);
-	DWORD GetHotKey() const;
-	void GetHotKey(WORD &wVirtualKeyCode, WORD &wModifiers) const;
-
-// Operations
-	void SetRules(WORD wInvalidComb, WORD wModifiers);
-
-// Implementation
-public:
-	virtual ~CHotKeyCtrl();
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CToolTipCtrl
-
-class CToolTipCtrl : public CWnd
-{
-	DECLARE_DYNAMIC(CToolTipCtrl)
-
-// Constructors
-public:
-	CToolTipCtrl();
-	BOOL Create(CWnd* pParentWnd, DWORD dwStyle = 0);
-
-// Attributes
-	void GetText(CString& str, CWnd* pWnd, UINT nIDTool = 0) const;
-	BOOL GetToolInfo(CToolInfo& ToolInfo, CWnd* pWnd, UINT nIDTool = 0) const;
-	void SetToolInfo(LPTOOLINFO lpToolInfo);
-	void SetToolRect(CWnd* pWnd, UINT nIDTool, LPCRECT lpRect);
-	int GetToolCount() const;
-	int GetDelayTime(DWORD dwDuration) const;
-	void SetDelayTime(DWORD dwDuration, int iTime);
-	void GetMargin(LPRECT lprc) const;
-	void SetMargin(LPRECT lprc);
-	int GetMaxTipWidth() const;
-	int SetMaxTipWidth(int iWidth);
-	COLORREF GetTipBkColor() const;
-	void SetTipBkColor(COLORREF clr);
-	COLORREF GetTipTextColor() const;
-	void SetTipTextColor(COLORREF clr);
-
-// Operations
-	void Activate(BOOL bActivate);
-
-	BOOL AddTool(CWnd* pWnd, UINT nIDText, LPCRECT lpRectTool = NULL,
-		UINT nIDTool = 0);
-	BOOL AddTool(CWnd* pWnd, LPCTSTR lpszText = LPSTR_TEXTCALLBACK,
-		LPCRECT lpRectTool = NULL, UINT nIDTool = 0);
-
-	void DelTool(CWnd* pWnd, UINT nIDTool = 0);
-
-	BOOL HitTest(CWnd* pWnd, CPoint pt, LPTOOLINFO lpToolInfo) const;
-	void RelayEvent(LPMSG lpMsg);
-	void SetDelayTime(UINT nDelay);
-	void UpdateTipText(LPCTSTR lpszText, CWnd* pWnd, UINT nIDTool = 0);
-	void UpdateTipText(UINT nIDText, CWnd* pWnd, UINT nIDTool = 0);
-	void Update();
-
-	void Pop();
-
-// Implementation
-public:
-	void FillInToolInfo(TOOLINFO& ti, CWnd* pWnd, UINT nIDTool) const;
-	virtual ~CToolTipCtrl();
-#ifndef _AFXDLL
-	virtual BOOL DestroyToolTipCtrl();
-#else
-	BOOL DestroyToolTipCtrl();
-#endif
-
-protected:
-	//{{AFX_MSG(CToolTipCtrl)
-	afx_msg LRESULT OnDisableModal(WPARAM, LPARAM);
-	afx_msg LRESULT OnWindowFromPoint(WPARAM, LPARAM);
-	afx_msg LRESULT OnAddTool(WPARAM, LPARAM);
-	afx_msg void OnEnable(BOOL bEnable);
-	//}}AFX_MSG
-	DECLARE_MESSAGE_MAP()
-
-	CMapStringToPtr m_mapString;
-
-	friend class CWnd;
-	friend class CToolBar;
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CTabCtrl
-
-class CTabCtrl : public CWnd
-{
-	DECLARE_DYNAMIC(CTabCtrl)
-
-// Constructors
-public:
-	CTabCtrl();
-	BOOL Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID);
-
-// Attributes
-	CImageList* GetImageList() const;
-	CImageList* SetImageList(CImageList* pImageList);
-	int GetItemCount() const;
-	BOOL GetItem(int nItem, TCITEM* pTabCtrlItem) const;
-	BOOL SetItem(int nItem, TCITEM* pTabCtrlItem);
-	BOOL SetItemExtra(int nBytes);
-	BOOL GetItemRect(int nItem, LPRECT lpRect) const;
-	int GetCurSel() const;
-	int SetCurSel(int nItem);
-	void SetCurFocus(int nItem);
-	CSize SetItemSize(CSize size);
-	void SetPadding(CSize size);
-	int GetRowCount() const;
-	CToolTipCtrl* GetToolTips() const;
-	void SetToolTips(CToolTipCtrl* pWndTip);
-	int GetCurFocus() const;
-	int SetMinTabWidth(int cx);
-	DWORD GetExtendedStyle();
-	DWORD SetExtendedStyle(DWORD dwNewStyle, DWORD dwExMask = 0);
-	DWORD GetItemState(int nItem, DWORD dwMask) const;
-	BOOL SetItemState(int nItem, DWORD dwMask, DWORD dwState);
-
-// Operations
-	BOOL InsertItem(int nItem, TCITEM* pTabCtrlItem);
-	BOOL InsertItem(int nItem, LPCTSTR lpszItem);
-	BOOL InsertItem(int nItem, LPCTSTR lpszItem, int nImage);
-	BOOL InsertItem(UINT nMask, int nItem, LPCTSTR lpszItem,
-		int nImage, LPARAM lParam);
-	BOOL InsertItem(UINT nMask, int nItem, LPCTSTR lpszItem,
-		int nImage, LPARAM lParam, DWORD dwState, DWORD dwStateMask);
-	BOOL DeleteItem(int nItem);
-	BOOL DeleteAllItems();
-	void AdjustRect(BOOL bLarger, LPRECT lpRect);
-	void RemoveImage(int nImage);
-	int HitTest(TCHITTESTINFO* pHitTestInfo) const;
-	void DeselectAll(BOOL fExcludeFocus);
-	BOOL HighlightItem(int idItem, BOOL fHighlight = TRUE);
-
-// Overridables
-	virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
-
-// Implementation
-public:
-	virtual ~CTabCtrl();
-protected:
-	virtual BOOL OnChildNotify(UINT, WPARAM, LPARAM, LRESULT*);
-	//{{AFX_MSG(CTabCtrl)
-	afx_msg void OnDestroy();
-	//}}AFX_MSG
-	DECLARE_MESSAGE_MAP()
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CAnimateCtrl
-
-class CAnimateCtrl : public CWnd
-{
-	DECLARE_DYNAMIC(CAnimateCtrl)
-
-// Constructors
-public:
-	CAnimateCtrl();
-	BOOL Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID);
-
-// Operations
-	BOOL Open(LPCTSTR lpszFileName);
-	BOOL Open(UINT nID);
-	BOOL Play(UINT nFrom, UINT nTo, UINT nRep);
-	BOOL Stop();
-	BOOL Close();
-	BOOL Seek(UINT nTo);
-
-// Implementation
-public:
-	virtual ~CAnimateCtrl();
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CImageList
-
-class CImageList : public CObject
-{
-	DECLARE_DYNCREATE(CImageList)
-
-// Constructors
-public:
-	CImageList();
-	BOOL Create(int cx, int cy, UINT nFlags, int nInitial, int nGrow);
-	BOOL Create(UINT nBitmapID, int cx, int nGrow, COLORREF crMask);
-	BOOL Create(LPCTSTR lpszBitmapID, int cx, int nGrow, COLORREF crMask);
-	BOOL Create(CImageList& imagelist1, int nImage1, CImageList& imagelist2,
-		int nImage2, int dx, int dy);
-	BOOL Create(CImageList* pImageList);
-
-// Attributes
-	HIMAGELIST m_hImageList;            // must be first data member
-	operator HIMAGELIST() const;
-	HIMAGELIST GetSafeHandle() const;
-
-	static CImageList* PASCAL FromHandle(HIMAGELIST hImageList);
-	static CImageList* PASCAL FromHandlePermanent(HIMAGELIST hImageList);
-	static void PASCAL DeleteTempMap();
-	BOOL Attach(HIMAGELIST hImageList);
-	HIMAGELIST Detach();
-
-	int GetImageCount() const;
-	COLORREF SetBkColor(COLORREF cr);
-	COLORREF GetBkColor() const;
-	BOOL GetImageInfo(int nImage, IMAGEINFO* pImageInfo) const;
-
-// Operations
-	BOOL DeleteImageList();
-	BOOL SetImageCount(UINT uNewCount);
-
-	int Add(CBitmap* pbmImage, CBitmap* pbmMask);
-	int Add(CBitmap* pbmImage, COLORREF crMask);
-	BOOL Remove(int nImage);
-	BOOL Replace(int nImage, CBitmap* pbmImage, CBitmap* pbmMask);
-	int Add(HICON hIcon);
-	int Replace(int nImage, HICON hIcon);
-	HICON ExtractIcon(int nImage);
-	BOOL Draw(CDC* pDC, int nImage, POINT pt, UINT nStyle);
-	BOOL SetOverlayImage(int nImage, int nOverlay);
-	BOOL Copy(int iDst, int iSrc, UINT uFlags = ILCF_MOVE);
-	BOOL Copy(int iDst, CImageList* pSrc, int iSrc, UINT uFlags = ILCF_MOVE);
-	BOOL DrawIndirect(IMAGELISTDRAWPARAMS* pimldp);
-	BOOL DrawIndirect(CDC* pDC, int nImage, POINT pt, SIZE sz, POINT ptOrigin,
-			UINT fStyle = ILD_NORMAL, DWORD dwRop = SRCCOPY,
-			COLORREF rgbBack = CLR_DEFAULT, COLORREF rgbFore = CLR_DEFAULT);
-
-#ifndef _AFX_NO_OLE_SUPPORT
-	BOOL Read(CArchive* pArchive);
-	BOOL Write(CArchive* pArchive);
-#endif
-
-// Drag APIs
-	BOOL BeginDrag(int nImage, CPoint ptHotSpot);
-	static void PASCAL EndDrag();
-	static BOOL PASCAL DragMove(CPoint pt);
-	BOOL SetDragCursorImage(int nDrag, CPoint ptHotSpot);
-	static BOOL PASCAL DragShowNolock(BOOL bShow);
-	static CImageList* PASCAL GetDragImage(LPPOINT lpPoint, LPPOINT lpPointHotSpot);
-	static BOOL PASCAL DragEnter(CWnd* pWndLock, CPoint point);
-	static BOOL PASCAL DragLeave(CWnd* pWndLock);
-
-// Implementation
-public:
-	virtual ~CImageList();
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-	virtual void AssertValid() const;
-#endif
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CToolBarCtrl
-
-struct IDropTarget; // forward declaration
-
-class CToolBarCtrl : public CWnd
-{
-	DECLARE_DYNAMIC(CToolBarCtrl)
-// Construction
-public:
-	CToolBarCtrl();
-	BOOL Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID);
-
-// Attributes
-public:
-	BOOL IsButtonEnabled(int nID) const;
-	BOOL IsButtonChecked(int nID) const;
-	BOOL IsButtonPressed(int nID) const;
-	BOOL IsButtonHidden(int nID) const;
-	BOOL IsButtonIndeterminate(int nID) const;
-	BOOL SetState(int nID, UINT nState);
-	int GetState(int nID) const;
-	BOOL GetButton(int nIndex, LPTBBUTTON lpButton) const;
-	int GetButtonCount() const;
-	BOOL GetItemRect(int nIndex, LPRECT lpRect) const;
-	BOOL GetRect(int nID, LPRECT lpRect) const;
-	void SetButtonStructSize(int nSize);
-	DWORD GetButtonSize() const;
-	BOOL SetButtonSize(CSize size);
-	BOOL SetBitmapSize(CSize size);
-	CToolTipCtrl* GetToolTips() const;
-	void SetToolTips(CToolTipCtrl* pTip);
-	void SetOwner(CWnd* pWnd);
-	void SetRows(int nRows, BOOL bLarger, LPRECT lpRect);
-	int GetRows() const;
-	BOOL SetCmdID(int nIndex, UINT nID);
-	UINT GetBitmapFlags() const;
-	CImageList* GetDisabledImageList() const;
-	CImageList* GetHotImageList() const;
-	CImageList* GetImageList() const;
-	DWORD GetStyle() const;
-	int GetMaxTextRows() const;
-	BOOL IsButtonHighlighted(int nID) const;
-	BOOL SetButtonWidth(int cxMin, int cxMax);
-	CImageList* SetDisabledImageList(CImageList* pImageList);
-	CImageList* SetHotImageList(CImageList* pImageList);
-	CImageList* SetImageList(CImageList* pImageList);
-	HRESULT GetDropTarget(IDropTarget** ppDropTarget) const;
-	BOOL SetIndent(int iIndent);
-	BOOL SetMaxTextRows(int iMaxRows);
-	void SetStyle(DWORD dwStyle);
-	BOOL GetButtonInfo(int nID, TBBUTTONINFO* ptbbi) const;
-	BOOL SetButtonInfo(int nID, TBBUTTONINFO* ptbbi);
-	DWORD SetDrawTextFlags(DWORD dwMask, DWORD dwDTFlags);
-	BOOL GetAnchorHighlight() const;
-	BOOL SetAnchorHighlight(BOOL fAnchor = TRUE);
-	int GetHotItem() const;
-	int SetHotItem(int nHot);
-	void GetInsertMark(TBINSERTMARK* ptbim) const;
-	void SetInsertMark(TBINSERTMARK* ptbim);
-	BOOL GetMaxSize(LPSIZE pSize) const;
-	BOOL InsertMarkHitTest(LPPOINT ppt, LPTBINSERTMARK ptbim) const;
-	DWORD GetExtendedStyle() const;
-	DWORD SetExtendedStyle(DWORD dwExStyle);
-	COLORREF GetInsertMarkColor() const;
-	COLORREF SetInsertMarkColor(COLORREF clrNew);
-
-// Operations
-public:
-	BOOL EnableButton(int nID, BOOL bEnable = TRUE);
-	BOOL CheckButton(int nID, BOOL bCheck = TRUE);
-	BOOL PressButton(int nID, BOOL bPress = TRUE);
-	BOOL HideButton(int nID, BOOL bHide = TRUE);
-	BOOL Indeterminate(int nID, BOOL bIndeterminate = TRUE);
-	int AddBitmap(int nNumButtons, UINT nBitmapID);
-	int AddBitmap(int nNumButtons, CBitmap* pBitmap);
-	BOOL AddButtons(int nNumButtons, LPTBBUTTON lpButtons);
-	BOOL InsertButton(int nIndex, LPTBBUTTON lpButton);
-	BOOL DeleteButton(int nIndex);
-	UINT CommandToIndex(UINT nID) const;
-	void SaveState(HKEY hKeyRoot, LPCTSTR lpszSubKey,
-		LPCTSTR lpszValueName);
-	void RestoreState(HKEY hKeyRoot, LPCTSTR lpszSubKey,
-		LPCTSTR lpszValueName);
-	void LoadImages(int iBitmapID, HINSTANCE hinst);
-	BOOL MapAccelerator(TCHAR chAccel, UINT* pIDBtn);
-	BOOL MarkButton(int nID, BOOL fHighlight = TRUE);
-	BOOL MoveButton(UINT nOldPos, UINT nNewPos);
-	int HitTest(LPPOINT ppt) const;
-
-	void Customize();
-	int AddString(UINT nStringID);
-	int AddStrings(LPCTSTR lpszStrings);
-	void AutoSize();
-
-// Implementation
-public:
-	virtual ~CToolBarCtrl();
-
-protected:
-	//{{AFX_MSG(CToolBarCtrl)
-	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
-	//}}AFX_MSG
-	DECLARE_MESSAGE_MAP()
-};
-
-class CReBarCtrl : public CWnd
-{
-	DECLARE_DYNAMIC(CReBarCtrl)
-// Construction
-public:
-	CReBarCtrl();
-	BOOL Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID);
-
-// Attributes
-public:
-	UINT GetBandCount() const;
-	BOOL GetBandInfo(UINT uBand, REBARBANDINFO* prbbi) const;
-	UINT GetBarHeight() const;
-	BOOL GetBarInfo(REBARINFO* prbi) const;
-	COLORREF GetBkColor() const;
-	IDropTarget* GetDropTarget() const;
-	BOOL GetRect(UINT uBand, LPRECT prc) const;
-	UINT GetRowCount() const;
-	UINT GetRowHeight(UINT uRow) const;
-	COLORREF GetTextColor() const;
-	CToolTipCtrl* GetToolTips() const;
-	int IDToIndex(UINT uBandID) const;
-	BOOL SetBandInfo(UINT uBand, REBARBANDINFO* prbbi);
-	BOOL SetBarInfo(REBARINFO* prbi);
-	COLORREF SetBkColor(COLORREF clr);
-	CWnd* SetOwner(CWnd* pWnd);
-	COLORREF SetTextColor(COLORREF clr);
-	void SetToolTips(CToolTipCtrl* pToolTip);
-	CImageList* GetImageList() const;
-	BOOL SetImageList(CImageList* pImageList);
-	void GetBandBorders(UINT uBand, LPRECT prc) const;
-	CPalette* GetPalette() const;
-	CPalette* SetPalette(HPALETTE hPal);
-	BOOL GetColorScheme(COLORSCHEME* lpcs);
-	void SetColorScheme(const COLORSCHEME* lpcs);
-
-// Operations
-public:
-	void BeginDrag(UINT uBand, DWORD dwPos = (DWORD)-1);
-	BOOL DeleteBand(UINT uBand);
-	void DragMove(DWORD dwPos = (DWORD)-1);
-	void EndDrag();
-	int HitTest(RBHITTESTINFO* prbht);
-	BOOL InsertBand(UINT uIndex, REBARBANDINFO* prbbi);
-	void MaximizeBand(UINT uBand);
-	void MinimizeBand(UINT uBand);
-	BOOL ShowBand(UINT uBand, BOOL fShow = TRUE);
-	BOOL SizeToRect(CRect& rect);
-	BOOL MoveBand(UINT uFrom, UINT uTo);
-};
-
-#ifndef _AFX_NO_RICHEDIT_SUPPORT
-/////////////////////////////////////////////////////////////////////////////
-// CRichEditCtrl
-
-class CRichEditCtrl : public CWnd
-{
-	DECLARE_DYNAMIC(CRichEditCtrl)
-
-// Constructors
-public:
-	CRichEditCtrl();
-	BOOL Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID);
-
-// Attributes
-	BOOL CanUndo() const;
-	int GetLineCount() const;
-	BOOL GetModify() const;
-	void SetModify(BOOL bModified = TRUE);
-	void GetRect(LPRECT lpRect) const;
-	CPoint GetCharPos(long lChar) const;
-	void SetOptions(WORD wOp, DWORD dwFlags);
-
-	// NOTE: first word in lpszBuffer must contain the size of the buffer!
-	int GetLine(int nIndex, LPTSTR lpszBuffer) const;
-	int GetLine(int nIndex, LPTSTR lpszBuffer, int nMaxLength) const;
-
-	BOOL CanPaste(UINT nFormat = 0) const;
-	void GetSel(long& nStartChar, long& nEndChar) const;
-	void GetSel(CHARRANGE &cr) const;
-	void LimitText(long nChars = 0);
-	long LineFromChar(long nIndex) const;
-	void SetSel(long nStartChar, long nEndChar);
-	void SetSel(CHARRANGE &cr);
-	DWORD GetDefaultCharFormat(CHARFORMAT &cf) const;
-	DWORD GetSelectionCharFormat(CHARFORMAT &cf) const;
-	long GetEventMask() const;
-	long GetLimitText() const;
-	DWORD GetParaFormat(PARAFORMAT &pf) const;
-	// richedit EM_GETSELTEXT is ANSI
-	long GetSelText(LPSTR lpBuf) const;
-	CString GetSelText() const;
-	WORD GetSelectionType() const;
-	COLORREF SetBackgroundColor(BOOL bSysColor, COLORREF cr);
-	BOOL SetDefaultCharFormat(CHARFORMAT &cf);
-	BOOL SetSelectionCharFormat(CHARFORMAT &cf);
-	BOOL SetWordCharFormat(CHARFORMAT &cf);
-	DWORD SetEventMask(DWORD dwEventMask);
-	BOOL SetParaFormat(PARAFORMAT &pf);
-	BOOL SetTargetDevice(HDC hDC, long lLineWidth);
-	BOOL SetTargetDevice(CDC &dc, long lLineWidth);
-	long GetTextLength() const;
-	BOOL SetReadOnly(BOOL bReadOnly = TRUE);
-	int GetFirstVisibleLine() const;
-
-// Operations
-	void EmptyUndoBuffer();
-
-	int LineIndex(int nLine = -1) const;
-	int LineLength(int nLine = -1) const;
-	void LineScroll(int nLines, int nChars = 0);
-	void ReplaceSel(LPCTSTR lpszNewText, BOOL bCanUndo = FALSE);
-	void SetRect(LPCRECT lpRect);
-
-	BOOL DisplayBand(LPRECT pDisplayRect);
-	long FindText(DWORD dwFlags, FINDTEXTEX* pFindText) const;
-	long FormatRange(FORMATRANGE* pfr, BOOL bDisplay = TRUE);
-	void HideSelection(BOOL bHide, BOOL bPerm);
-	void PasteSpecial(UINT nClipFormat, DWORD dvAspect = 0, HMETAFILE hMF = 0);
-	void RequestResize();
-	long StreamIn(int nFormat, EDITSTREAM &es);
-	long StreamOut(int nFormat, EDITSTREAM &es);
-
-	// Clipboard operations
-	BOOL Undo();
-	void Clear();
-	void Copy();
-	void Cut();
-	void Paste();
-
-// OLE support
-	IRichEditOle* GetIRichEditOle() const;
-	BOOL SetOLECallback(IRichEditOleCallback* pCallback);
-
-// Implementation
-public:
-	virtual ~CRichEditCtrl();
-};
-#endif //!_AFX_NO_RICHEDIT_SUPPORT
-
-
-/////////////////////////////////////////////////////////////////////////////
-// CIPAddressCtrl
-
-class CIPAddressCtrl : public CWnd
-{
-	DECLARE_DYNAMIC(CIPAddressCtrl)
-
-// Constructors
-	CIPAddressCtrl();
-	BOOL Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID);
-
-// Attributes
-	BOOL IsBlank() const;
-	void ClearAddress();
-	int GetAddress(BYTE& nField0, BYTE& nField1, BYTE& nField2, BYTE& nField3);
-	int GetAddress(DWORD& dwAddress);
-	void SetAddress(DWORD dwAddress); //TODO: return value?
-	void SetAddress(BYTE nField0, BYTE nField1, BYTE nField2, BYTE nField3); //TODO: return value?
-	void SetFieldFocus(WORD nField); //TODO: return value?
-	void SetFieldRange(int nField, BYTE nLower, BYTE nUpper); //TODO: return value?
-
-// Implementation
-public:
-	virtual ~CIPAddressCtrl();
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// Inline function declarations
-
-#ifdef _AFX_PACKING
-#pragma pack(pop)
-#endif
-
-#ifdef _AFX_ENABLE_INLINES
-#define _AFXCMN_INLINE AFX_INLINE
-#include <afxcmn.inl>
-#include <afxcmn2.inl>
-#undef _AFXCMN_INLINE
-#endif
-
-#undef AFX_DATA
-#define AFX_DATA
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, on)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, off)
-#endif
-
-#endif //__AFXCMN_H__
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 703
libs/mfc/include/afxcmn.inl

@@ -1,703 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-// Inlines for AFXCMN.H
-
-#ifdef _AFXCMN_INLINE
-
-_AFXCMN_INLINE CDragListBox::CDragListBox()
-	{ m_nLast = -1;}
-_AFXCMN_INLINE int CDragListBox::ItemFromPt(CPoint pt, BOOL bAutoScroll) const
-	{ASSERT(::IsWindow(m_hWnd)); return ::LBItemFromPt(m_hWnd, pt, bAutoScroll); }
-
-/////////////////////////////////////////////////////////////////////////////
-
-_AFXCMN_INLINE CToolBarCtrl::CToolBarCtrl()
-	{ }
-_AFXCMN_INLINE BOOL CToolBarCtrl::EnableButton(int nID, BOOL bEnable)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_ENABLEBUTTON, nID, MAKELPARAM(bEnable, 0)); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::CheckButton(int nID, BOOL bCheck)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_CHECKBUTTON, nID, MAKELPARAM(bCheck, 0)); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::PressButton(int nID, BOOL bPress)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_PRESSBUTTON, nID, MAKELPARAM(bPress, 0)); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::HideButton(int nID, BOOL bHide)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_HIDEBUTTON, nID, MAKELPARAM(bHide, 0)); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::Indeterminate(int nID, BOOL bIndeterminate)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_INDETERMINATE, nID, MAKELPARAM(bIndeterminate, 0)); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::IsButtonEnabled(int nID) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_ISBUTTONENABLED, nID, 0); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::IsButtonChecked(int nID) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_ISBUTTONCHECKED, nID, 0); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::IsButtonPressed(int nID) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_ISBUTTONPRESSED, nID, 0); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::IsButtonHidden(int nID) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_ISBUTTONHIDDEN, nID, 0); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::IsButtonIndeterminate(int nID) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_ISBUTTONINDETERMINATE, nID, 0); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::SetState(int nID, UINT nState)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_SETSTATE, nID, MAKELPARAM(nState, 0)); }
-_AFXCMN_INLINE int CToolBarCtrl::GetState(int nID) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, TB_GETSTATE, nID, 0L); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::AddButtons(int nNumButtons, LPTBBUTTON lpButtons)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_ADDBUTTONS, nNumButtons, (LPARAM)lpButtons); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::InsertButton(int nIndex, LPTBBUTTON lpButton)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_INSERTBUTTON, nIndex, (LPARAM)lpButton); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::DeleteButton(int nIndex)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_DELETEBUTTON, nIndex, 0); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::GetButton(int nIndex, LPTBBUTTON lpButton) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_GETBUTTON, nIndex, (LPARAM)lpButton); }
-_AFXCMN_INLINE int CToolBarCtrl::GetButtonCount() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, TB_BUTTONCOUNT, 0, 0L); }
-_AFXCMN_INLINE UINT CToolBarCtrl::CommandToIndex(UINT nID) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (UINT) ::SendMessage(m_hWnd, TB_COMMANDTOINDEX, nID, 0L); }
-_AFXCMN_INLINE void CToolBarCtrl::Customize()
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, TB_CUSTOMIZE, 0, 0L); }
-// lpszStrings are separated by zeroes, last one is marked by two zeroes
-_AFXCMN_INLINE int CToolBarCtrl::AddStrings(LPCTSTR lpszStrings)
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, TB_ADDSTRING, 0, (LPARAM)lpszStrings); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::GetItemRect(int nIndex, LPRECT lpRect) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_GETITEMRECT, nIndex, (LPARAM)lpRect); }
-_AFXCMN_INLINE void CToolBarCtrl::SetButtonStructSize(int nSize)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, TB_BUTTONSTRUCTSIZE, nSize, 0L); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::SetButtonSize(CSize size)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_SETBUTTONSIZE, 0, MAKELPARAM(size.cx, size.cy)); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::SetBitmapSize(CSize size)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_SETBITMAPSIZE, 0, MAKELPARAM(size.cx, size.cy)); }
-_AFXCMN_INLINE void CToolBarCtrl::AutoSize()
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, TB_AUTOSIZE, 0, 0L); }
-_AFXCMN_INLINE CToolTipCtrl* CToolBarCtrl::GetToolTips() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (CToolTipCtrl*)CWnd::FromHandle((HWND)::SendMessage(m_hWnd, TB_GETTOOLTIPS, 0, 0L)); }
-_AFXCMN_INLINE void CToolBarCtrl::SetToolTips(CToolTipCtrl* pTip)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, TB_SETTOOLTIPS, (WPARAM)pTip->GetSafeHwnd(), 0L); }
-_AFXCMN_INLINE void CToolBarCtrl::SetOwner(CWnd* pWnd)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, TB_SETPARENT, (WPARAM)pWnd->GetSafeHwnd(), 0L); }
-_AFXCMN_INLINE void CToolBarCtrl::SetRows(int nRows, BOOL bLarger, LPRECT lpRect)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, TB_SETROWS, MAKELPARAM(nRows, bLarger), (LPARAM)lpRect); }
-_AFXCMN_INLINE int CToolBarCtrl::GetRows() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, TB_GETROWS, 0, 0L); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::SetCmdID(int nIndex, UINT nID)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_SETCMDID, nIndex, nID); }
-_AFXCMN_INLINE UINT CToolBarCtrl::GetBitmapFlags() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (UINT) ::SendMessage(m_hWnd, TB_GETBITMAPFLAGS, 0, 0L); }
-_AFXCMN_INLINE int CToolBarCtrl::HitTest(LPPOINT ppt) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, TB_HITTEST, 0, (LPARAM)ppt); }
-_AFXCMN_INLINE DWORD CToolBarCtrl::GetExtendedStyle() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (DWORD) ::SendMessage(m_hWnd, TB_GETEXTENDEDSTYLE, 0, 0L); }
-_AFXCMN_INLINE DWORD CToolBarCtrl::SetExtendedStyle(DWORD dwExStyle)
-	{ ASSERT(::IsWindow(m_hWnd)); return (DWORD) ::SendMessage(m_hWnd, TB_SETEXTENDEDSTYLE, 0, dwExStyle); }
-_AFXCMN_INLINE COLORREF CToolBarCtrl::GetInsertMarkColor() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (COLORREF) ::SendMessage(m_hWnd, TB_GETINSERTMARKCOLOR, 0, 0); }
-_AFXCMN_INLINE COLORREF CToolBarCtrl::SetInsertMarkColor(COLORREF clrNew)
-	{ ASSERT(::IsWindow(m_hWnd)); return (COLORREF) ::SendMessage(m_hWnd, TB_SETINSERTMARKCOLOR, 0, (LPARAM) clrNew); }
-
-/////////////////////////////////////////////////////////////////////////////
-
-_AFXCMN_INLINE CStatusBarCtrl::CStatusBarCtrl()
-	{ }
-_AFXCMN_INLINE BOOL CStatusBarCtrl::SetText(LPCTSTR lpszText, int nPane, int nType)
-	{ ASSERT(::IsWindow(m_hWnd)); ASSERT(nPane < 256); return (BOOL) ::SendMessage(m_hWnd, SB_SETTEXT, (nPane|nType), (LPARAM)lpszText); }
-_AFXCMN_INLINE BOOL CStatusBarCtrl::SetParts(int nParts, int* pWidths)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, SB_SETPARTS, nParts, (LPARAM)pWidths); }
-_AFXCMN_INLINE int CStatusBarCtrl::GetParts(int nParts, int* pParts) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, SB_GETPARTS, nParts, (LPARAM)pParts); }
-_AFXCMN_INLINE BOOL CStatusBarCtrl::GetBorders(int* pBorders) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, SB_GETBORDERS, 0, (LPARAM)pBorders); }
-_AFXCMN_INLINE void CStatusBarCtrl::SetMinHeight(int nMin)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, SB_SETMINHEIGHT, nMin, 0L); }
-_AFXCMN_INLINE BOOL CStatusBarCtrl::SetSimple(BOOL bSimple)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, SB_SIMPLE, bSimple, 0L); }
-_AFXCMN_INLINE BOOL CStatusBarCtrl::GetRect(int nPane, LPRECT lpRect) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, SB_GETRECT, nPane, (LPARAM)lpRect); }
-
-/////////////////////////////////////////////////////////////////////////////
-
-_AFXCMN_INLINE CListCtrl::CListCtrl()
-	{ }
-_AFXCMN_INLINE COLORREF CListCtrl::GetBkColor() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (COLORREF) ::SendMessage(m_hWnd, LVM_GETBKCOLOR, 0, 0L); }
-_AFXCMN_INLINE BOOL CListCtrl::SetBkColor(COLORREF cr)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, LVM_SETBKCOLOR, 0, cr); }
-_AFXCMN_INLINE CImageList* CListCtrl::GetImageList(int nImageListType) const
-	{ ASSERT(::IsWindow(m_hWnd)); return CImageList::FromHandle((HIMAGELIST) ::SendMessage(m_hWnd, LVM_GETIMAGELIST, nImageListType, 0L)); }
-_AFXCMN_INLINE CImageList* CListCtrl::SetImageList(CImageList* pImageList, int nImageList)
-	{ ASSERT(::IsWindow(m_hWnd)); return CImageList::FromHandle((HIMAGELIST) ::SendMessage(m_hWnd, LVM_SETIMAGELIST, nImageList, (LPARAM)pImageList->GetSafeHandle())); }
-_AFXCMN_INLINE int CListCtrl::GetItemCount() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, LVM_GETITEMCOUNT, 0, 0L); }
-_AFXCMN_INLINE BOOL CListCtrl::GetItem(LVITEM* pItem) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, LVM_GETITEM, 0, (LPARAM)pItem); }
-_AFXCMN_INLINE BOOL CListCtrl::SetItem(const LVITEM* pItem)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, LVM_SETITEM, 0, (LPARAM)pItem); }
-_AFXCMN_INLINE BOOL CListCtrl::SetItemData(int nItem, DWORD dwData)
-	{ ASSERT(::IsWindow(m_hWnd)); return SetItem(nItem, 0, LVIF_PARAM, NULL, 0, 0, 0, (LPARAM)dwData); }
-_AFXCMN_INLINE int CListCtrl::InsertItem(const LVITEM* pItem)
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, LVM_INSERTITEM, 0, (LPARAM)pItem); }
-_AFXCMN_INLINE int CListCtrl::InsertItem(int nItem, LPCTSTR lpszItem)
-	{ ASSERT(::IsWindow(m_hWnd)); return InsertItem(LVIF_TEXT, nItem, lpszItem, 0, 0, 0, 0); }
-_AFXCMN_INLINE int CListCtrl::InsertItem(int nItem, LPCTSTR lpszItem, int nImage)
-	{ ASSERT(::IsWindow(m_hWnd)); return InsertItem(LVIF_TEXT|LVIF_IMAGE, nItem, lpszItem, 0, 0, nImage, 0); }
-_AFXCMN_INLINE BOOL CListCtrl::DeleteItem(int nItem)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, LVM_DELETEITEM, nItem, 0L); }
-_AFXCMN_INLINE BOOL CListCtrl::DeleteAllItems()
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, LVM_DELETEALLITEMS, 0, 0L); }
-_AFXCMN_INLINE UINT CListCtrl::GetCallbackMask() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (UINT) ::SendMessage(m_hWnd, LVM_GETCALLBACKMASK, 0, 0); }
-_AFXCMN_INLINE BOOL CListCtrl::SetCallbackMask(UINT nMask)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, LVM_SETCALLBACKMASK, nMask, 0); }
-_AFXCMN_INLINE int CListCtrl::GetNextItem(int nItem, int nFlags) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, LVM_GETNEXTITEM, nItem, MAKELPARAM(nFlags, 0)); }
-_AFXCMN_INLINE POSITION CListCtrl::GetFirstSelectedItemPosition() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (POSITION) (1+GetNextItem(-1, LVIS_SELECTED)); }
-_AFXCMN_INLINE int CListCtrl::GetNextSelectedItem(POSITION& pos) const
-	{ ASSERT(::IsWindow(m_hWnd)); int nOldPos = (int)pos-1; pos = (POSITION) (1+GetNextItem(nOldPos, LVIS_SELECTED)); return nOldPos; }
-_AFXCMN_INLINE int CListCtrl::FindItem(LVFINDINFO* pFindInfo, int nStart) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, LVM_FINDITEM, nStart, (LPARAM)pFindInfo); }
-_AFXCMN_INLINE int CListCtrl::HitTest(LVHITTESTINFO* pHitTestInfo) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, LVM_HITTEST, 0, (LPARAM)pHitTestInfo); }
-_AFXCMN_INLINE BOOL CListCtrl::SetItemPosition(int nItem, POINT pt)
-	{ ASSERT(::IsWindow(m_hWnd)); ASSERT((GetStyle() & LVS_OWNERDATA)==0); return (BOOL) ::SendMessage(m_hWnd, LVM_SETITEMPOSITION32, nItem, (LPARAM)&pt); }
-_AFXCMN_INLINE BOOL CListCtrl::GetItemPosition(int nItem, LPPOINT lpPoint) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, LVM_GETITEMPOSITION, nItem, (LPARAM)lpPoint); }
-_AFXCMN_INLINE int CListCtrl::GetStringWidth(LPCTSTR lpsz) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, LVM_GETSTRINGWIDTH, 0, (LPARAM)lpsz); }
-_AFXCMN_INLINE BOOL CListCtrl::EnsureVisible(int nItem, BOOL bPartialOK)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, LVM_ENSUREVISIBLE, nItem, MAKELPARAM(bPartialOK, 0)); }
-_AFXCMN_INLINE BOOL CListCtrl::Scroll(CSize size)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, LVM_SCROLL, size.cx, size.cy); }
-_AFXCMN_INLINE BOOL CListCtrl::RedrawItems(int nFirst, int nLast)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, LVM_REDRAWITEMS, nFirst, nLast); }
-_AFXCMN_INLINE BOOL CListCtrl::Arrange(UINT nCode)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, LVM_ARRANGE, nCode, 0L); }
-_AFXCMN_INLINE CEdit* CListCtrl::EditLabel(int nItem)
-	{ ASSERT(::IsWindow(m_hWnd)); return (CEdit*)CWnd::FromHandle( (HWND)::SendMessage(m_hWnd, LVM_EDITLABEL, nItem, 0L)); }
-_AFXCMN_INLINE CEdit* CListCtrl::GetEditControl() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (CEdit*)CWnd::FromHandle( (HWND)::SendMessage(m_hWnd, LVM_GETEDITCONTROL, 0, 0L)); }
-_AFXCMN_INLINE BOOL CListCtrl::GetColumn(int nCol, LVCOLUMN* pColumn) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, LVM_GETCOLUMN, nCol, (LPARAM)pColumn); }
-_AFXCMN_INLINE BOOL CListCtrl::SetColumn(int nCol, const LVCOLUMN* pColumn)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, LVM_SETCOLUMN, nCol, (LPARAM)pColumn); }
-_AFXCMN_INLINE int CListCtrl::InsertColumn(int nCol, const LVCOLUMN* pColumn)
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, LVM_INSERTCOLUMN, nCol, (LPARAM)pColumn); }
-_AFXCMN_INLINE BOOL CListCtrl::DeleteColumn(int nCol)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, LVM_DELETECOLUMN, nCol, 0); }
-_AFXCMN_INLINE int CListCtrl::GetColumnWidth(int nCol) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, LVM_GETCOLUMNWIDTH, nCol, 0); }
-_AFXCMN_INLINE BOOL CListCtrl::SetColumnWidth(int nCol, int cx)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, LVM_SETCOLUMNWIDTH, nCol, MAKELPARAM(cx, 0)); }
-_AFXCMN_INLINE BOOL CListCtrl::GetViewRect(LPRECT lpRect) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, LVM_GETVIEWRECT, 0, (LPARAM)lpRect); }
-_AFXCMN_INLINE COLORREF CListCtrl::GetTextColor() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (COLORREF) ::SendMessage(m_hWnd, LVM_GETTEXTCOLOR, 0, 0L); }
-_AFXCMN_INLINE BOOL CListCtrl::SetTextColor(COLORREF cr)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, LVM_SETTEXTCOLOR, 0, cr); }
-_AFXCMN_INLINE COLORREF CListCtrl::GetTextBkColor() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (COLORREF) ::SendMessage(m_hWnd, LVM_GETTEXTBKCOLOR, 0, 0L); }
-_AFXCMN_INLINE BOOL CListCtrl::SetTextBkColor(COLORREF cr)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, LVM_SETTEXTBKCOLOR, 0, cr); }
-_AFXCMN_INLINE int CListCtrl::GetTopIndex() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, LVM_GETTOPINDEX, 0, 0); }
-_AFXCMN_INLINE int CListCtrl::GetCountPerPage() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, LVM_GETCOUNTPERPAGE, 0, 0); }
-_AFXCMN_INLINE BOOL CListCtrl::GetOrigin(LPPOINT lpPoint) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, LVM_GETORIGIN, 0, (LPARAM)lpPoint); }
-_AFXCMN_INLINE BOOL CListCtrl::Update(int nItem)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, LVM_UPDATE, nItem, 0L); }
-_AFXCMN_INLINE BOOL CListCtrl::SetItemState(int nItem, LVITEM* pItem)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, LVM_SETITEMSTATE, nItem, (LPARAM)pItem); }
-_AFXCMN_INLINE UINT CListCtrl::GetItemState(int nItem, UINT nMask) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (UINT) ::SendMessage(m_hWnd, LVM_GETITEMSTATE, nItem, nMask); }
-_AFXCMN_INLINE void CListCtrl::SetItemCount(int nItems)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, LVM_SETITEMCOUNT, nItems, 0); }
-_AFXCMN_INLINE BOOL CListCtrl::SortItems(PFNLVCOMPARE pfnCompare, DWORD dwData)
-	{ ASSERT(::IsWindow(m_hWnd)); ASSERT((GetStyle() & LVS_OWNERDATA)==0); return (BOOL) ::SendMessage(m_hWnd, LVM_SORTITEMS, dwData, (LPARAM)pfnCompare); }
-_AFXCMN_INLINE UINT CListCtrl::GetSelectedCount() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (UINT) ::SendMessage(m_hWnd, LVM_GETSELECTEDCOUNT, 0, 0L); }
-
-/////////////////////////////////////////////////////////////////////////////
-
-_AFXCMN_INLINE CTreeCtrl::CTreeCtrl()
-	{ }
-_AFXCMN_INLINE HTREEITEM CTreeCtrl::InsertItem(LPTVINSERTSTRUCT lpInsertStruct)
-	{ ASSERT(::IsWindow(m_hWnd));  return (HTREEITEM)::SendMessage(m_hWnd, TVM_INSERTITEM, 0, (LPARAM)lpInsertStruct); }
-_AFXCMN_INLINE HTREEITEM CTreeCtrl::InsertItem(LPCTSTR lpszItem, int nImage,
-	int nSelectedImage, HTREEITEM hParent, HTREEITEM hInsertAfter)
-	{ ASSERT(::IsWindow(m_hWnd)); return InsertItem(TVIF_TEXT | TVIF_IMAGE | TVIF_SELECTEDIMAGE, lpszItem, nImage, nSelectedImage, 0, 0, 0, hParent, hInsertAfter); }
-_AFXCMN_INLINE HTREEITEM CTreeCtrl::InsertItem(LPCTSTR lpszItem, HTREEITEM hParent, HTREEITEM hInsertAfter)
-	{ ASSERT(::IsWindow(m_hWnd)); return InsertItem(TVIF_TEXT, lpszItem, 0, 0, 0, 0, 0, hParent, hInsertAfter); }
-_AFXCMN_INLINE BOOL CTreeCtrl::DeleteItem(HTREEITEM hItem)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, TVM_DELETEITEM, 0, (LPARAM)hItem); }
-#pragma warning(disable: 4310)
-_AFXCMN_INLINE BOOL CTreeCtrl::DeleteAllItems()
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, TVM_DELETEITEM, 0, (LPARAM)TVI_ROOT); }
-#pragma warning(default: 4310)
-_AFXCMN_INLINE BOOL CTreeCtrl::Expand(HTREEITEM hItem, UINT nCode)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, TVM_EXPAND, nCode, (LPARAM)hItem); }
-_AFXCMN_INLINE UINT CTreeCtrl::GetCount() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (UINT)::SendMessage(m_hWnd, TVM_GETCOUNT, 0, 0); }
-_AFXCMN_INLINE UINT CTreeCtrl::GetIndent() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (UINT)::SendMessage(m_hWnd, TVM_GETINDENT, 0, 0); }
-_AFXCMN_INLINE void CTreeCtrl::SetIndent(UINT nIndent)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, TVM_SETINDENT, nIndent, 0); }
-_AFXCMN_INLINE CImageList* CTreeCtrl::GetImageList(UINT nImageList) const
-	{ ASSERT(::IsWindow(m_hWnd)); return CImageList::FromHandle((HIMAGELIST)::SendMessage(m_hWnd, TVM_GETIMAGELIST, (UINT)nImageList, 0)); }
-_AFXCMN_INLINE CImageList* CTreeCtrl::SetImageList(CImageList* pImageList, int nImageListType)
-	{ ASSERT(::IsWindow(m_hWnd)); return CImageList::FromHandle((HIMAGELIST)::SendMessage(m_hWnd, TVM_SETIMAGELIST, (UINT)nImageListType, (LPARAM)pImageList->GetSafeHandle())); }
-_AFXCMN_INLINE HTREEITEM CTreeCtrl::GetNextItem(HTREEITEM hItem, UINT nCode) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (HTREEITEM)::SendMessage(m_hWnd, TVM_GETNEXTITEM, nCode, (LPARAM)hItem); }
-_AFXCMN_INLINE HTREEITEM CTreeCtrl::GetChildItem(HTREEITEM hItem) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (HTREEITEM)::SendMessage(m_hWnd, TVM_GETNEXTITEM, TVGN_CHILD, (LPARAM)hItem); }
-_AFXCMN_INLINE HTREEITEM CTreeCtrl::GetNextSiblingItem(HTREEITEM hItem) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (HTREEITEM)::SendMessage(m_hWnd, TVM_GETNEXTITEM, TVGN_NEXT, (LPARAM)hItem); }
-_AFXCMN_INLINE HTREEITEM CTreeCtrl::GetPrevSiblingItem(HTREEITEM hItem) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (HTREEITEM)::SendMessage(m_hWnd, TVM_GETNEXTITEM, TVGN_PREVIOUS, (LPARAM)hItem); }
-_AFXCMN_INLINE HTREEITEM CTreeCtrl::GetParentItem(HTREEITEM hItem) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (HTREEITEM)::SendMessage(m_hWnd, TVM_GETNEXTITEM, TVGN_PARENT, (LPARAM)hItem); }
-_AFXCMN_INLINE HTREEITEM CTreeCtrl::GetFirstVisibleItem() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (HTREEITEM)::SendMessage(m_hWnd, TVM_GETNEXTITEM, TVGN_FIRSTVISIBLE, 0); }
-_AFXCMN_INLINE HTREEITEM CTreeCtrl::GetNextVisibleItem(HTREEITEM hItem) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (HTREEITEM)::SendMessage(m_hWnd, TVM_GETNEXTITEM, TVGN_NEXTVISIBLE, (LPARAM)hItem); }
-_AFXCMN_INLINE HTREEITEM CTreeCtrl::GetPrevVisibleItem(HTREEITEM hItem) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (HTREEITEM)::SendMessage(m_hWnd, TVM_GETNEXTITEM, TVGN_PREVIOUSVISIBLE, (LPARAM)hItem); }
-_AFXCMN_INLINE HTREEITEM CTreeCtrl::GetSelectedItem() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (HTREEITEM)::SendMessage(m_hWnd, TVM_GETNEXTITEM, TVGN_CARET, 0); }
-_AFXCMN_INLINE HTREEITEM CTreeCtrl::GetDropHilightItem() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (HTREEITEM)::SendMessage(m_hWnd, TVM_GETNEXTITEM, TVGN_DROPHILITE, 0); }
-_AFXCMN_INLINE HTREEITEM CTreeCtrl::GetRootItem() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (HTREEITEM)::SendMessage(m_hWnd, TVM_GETNEXTITEM, TVGN_ROOT, 0); }
-_AFXCMN_INLINE BOOL CTreeCtrl::Select(HTREEITEM hItem, UINT nCode)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, TVM_SELECTITEM, nCode, (LPARAM)hItem); }
-_AFXCMN_INLINE BOOL CTreeCtrl::SelectItem(HTREEITEM hItem)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TVM_SELECTITEM, TVGN_CARET, (LPARAM)hItem); }
-_AFXCMN_INLINE BOOL CTreeCtrl::SelectDropTarget(HTREEITEM hItem)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TVM_SELECTITEM, TVGN_DROPHILITE, (LPARAM)hItem); }
-_AFXCMN_INLINE BOOL CTreeCtrl::SelectSetFirstVisible(HTREEITEM hItem)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TVM_SELECTITEM, TVGN_FIRSTVISIBLE, (LPARAM)hItem); }
-_AFXCMN_INLINE BOOL CTreeCtrl::GetItem(TVITEM* pItem) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, TVM_GETITEM, 0, (LPARAM)pItem); }
-_AFXCMN_INLINE BOOL CTreeCtrl::SetItem(TVITEM* pItem)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, TVM_SETITEM, 0, (LPARAM)pItem); }
-_AFXCMN_INLINE BOOL CTreeCtrl::SetItemText(HTREEITEM hItem, LPCTSTR lpszItem)
-	{ ASSERT(::IsWindow(m_hWnd)); return SetItem(hItem, TVIF_TEXT, lpszItem, 0, 0, 0, 0, NULL); }
-_AFXCMN_INLINE BOOL CTreeCtrl::SetItemImage(HTREEITEM hItem, int nImage, int nSelectedImage)
-	{ ASSERT(::IsWindow(m_hWnd)); return SetItem(hItem, TVIF_IMAGE|TVIF_SELECTEDIMAGE, NULL, nImage, nSelectedImage, 0, 0, NULL); }
-_AFXCMN_INLINE BOOL CTreeCtrl::SetItemState(HTREEITEM hItem, UINT nState, UINT nStateMask)
-	{ ASSERT(::IsWindow(m_hWnd)); return SetItem(hItem, TVIF_STATE, NULL, 0, 0, nState, nStateMask, NULL); }
-_AFXCMN_INLINE BOOL CTreeCtrl::SetItemData(HTREEITEM hItem, DWORD dwData)
-	{ ASSERT(::IsWindow(m_hWnd)); return SetItem(hItem, TVIF_PARAM, NULL, 0, 0, 0, 0, (LPARAM)dwData); }
-_AFXCMN_INLINE CEdit* CTreeCtrl::EditLabel(HTREEITEM hItem)
-	{ ASSERT(::IsWindow(m_hWnd)); return (CEdit*)CWnd::FromHandle((HWND)::SendMessage(m_hWnd, TVM_EDITLABEL, 0, (LPARAM)hItem)); }
-_AFXCMN_INLINE HTREEITEM CTreeCtrl::HitTest(TVHITTESTINFO* pHitTestInfo) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (HTREEITEM)::SendMessage(m_hWnd, TVM_HITTEST, 0, (LPARAM)pHitTestInfo); }
-_AFXCMN_INLINE CEdit* CTreeCtrl::GetEditControl() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (CEdit*)CWnd::FromHandle((HWND)::SendMessage(m_hWnd, TVM_GETEDITCONTROL, 0, 0)); }
-_AFXCMN_INLINE UINT CTreeCtrl::GetVisibleCount() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (UINT)::SendMessage(m_hWnd, TVM_GETVISIBLECOUNT, 0, 0); }
-_AFXCMN_INLINE BOOL CTreeCtrl::SortChildren(HTREEITEM hItem)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, TVM_SORTCHILDREN, 0, (LPARAM)hItem); }
-_AFXCMN_INLINE BOOL CTreeCtrl::EnsureVisible(HTREEITEM hItem)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, TVM_ENSUREVISIBLE, 0, (LPARAM)hItem); }
-_AFXCMN_INLINE BOOL CTreeCtrl::SortChildrenCB(LPTVSORTCB pSort)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, TVM_SORTCHILDRENCB, 0, (LPARAM)pSort); }
-_AFXCMN_INLINE CToolTipCtrl* CTreeCtrl::GetToolTips() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (CToolTipCtrl*)CWnd::FromHandle((HWND)::SendMessage(m_hWnd, TVM_GETTOOLTIPS, 0, 0L)); }
-_AFXCMN_INLINE CToolTipCtrl* CTreeCtrl::SetToolTips(CToolTipCtrl* pWndTip)
-	{ ASSERT(::IsWindow(m_hWnd)); return (CToolTipCtrl*)CWnd::FromHandle((HWND)::SendMessage(m_hWnd, TVM_SETTOOLTIPS, (WPARAM)pWndTip->GetSafeHwnd(), 0L)); }
-_AFXCMN_INLINE COLORREF CTreeCtrl::GetBkColor() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (COLORREF) ::SendMessage(m_hWnd, TVM_GETBKCOLOR, 0, 0L); }
-_AFXCMN_INLINE COLORREF CTreeCtrl::SetBkColor(COLORREF clr)
-	{ ASSERT(::IsWindow(m_hWnd)); return (COLORREF) ::SendMessage(m_hWnd, TVM_SETBKCOLOR, 0, (LPARAM)clr); }
-_AFXCMN_INLINE SHORT CTreeCtrl::GetItemHeight() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (SHORT) ::SendMessage(m_hWnd, TVM_GETITEMHEIGHT, 0, 0L); }
-_AFXCMN_INLINE SHORT CTreeCtrl::SetItemHeight(SHORT cyHeight)
-	{ ASSERT(::IsWindow(m_hWnd)); return (SHORT) ::SendMessage(m_hWnd, TVM_SETITEMHEIGHT, cyHeight, 0L); }
-_AFXCMN_INLINE COLORREF CTreeCtrl::GetTextColor() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (COLORREF) ::SendMessage(m_hWnd, TVM_GETTEXTCOLOR, 0, 0L); }
-_AFXCMN_INLINE COLORREF CTreeCtrl::SetTextColor(COLORREF clr)
-	{ ASSERT(::IsWindow(m_hWnd)); return (COLORREF) ::SendMessage(m_hWnd, TVM_SETTEXTCOLOR, 0, (LPARAM)clr); }
-_AFXCMN_INLINE BOOL CTreeCtrl::SetInsertMark(HTREEITEM hItem, BOOL fAfter)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TVM_SETINSERTMARK, fAfter, (LPARAM)hItem); }
-_AFXCMN_INLINE COLORREF CTreeCtrl::GetInsertMarkColor() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (COLORREF) ::SendMessage(m_hWnd, TVM_GETINSERTMARKCOLOR, 0, 0L); }
-_AFXCMN_INLINE COLORREF CTreeCtrl::SetInsertMarkColor(COLORREF clrNew)
-	{ ASSERT(::IsWindow(m_hWnd)); return (COLORREF) ::SendMessage(m_hWnd, TVM_SETINSERTMARKCOLOR, 0, (LPARAM)clrNew); }
-
-/////////////////////////////////////////////////////////////////////////////
-
-_AFXCMN_INLINE CHotKeyCtrl::CHotKeyCtrl()
-	{ }
-_AFXCMN_INLINE void CHotKeyCtrl::SetHotKey(WORD wVirtualKeyCode, WORD wModifiers)
-	{ ASSERT(::IsWindow(m_hWnd));  ::SendMessage(m_hWnd, HKM_SETHOTKEY, MAKEWORD(wVirtualKeyCode, wModifiers), 0L); }
-_AFXCMN_INLINE DWORD CHotKeyCtrl::GetHotKey() const
-	{ ASSERT(::IsWindow(m_hWnd)); return ::SendMessage(m_hWnd, HKM_GETHOTKEY, 0, 0L); }
-_AFXCMN_INLINE void CHotKeyCtrl::SetRules(WORD wInvalidComb, WORD wModifiers)
-	{ ASSERT(::IsWindow(m_hWnd));  ::SendMessage(m_hWnd, HKM_SETRULES, wInvalidComb, MAKELPARAM(wModifiers, 0)); }
-
-/////////////////////////////////////////////////////////////////////////////
-
-_AFXCMN_INLINE void CToolTipCtrl::Activate(BOOL bActivate)
-	{ ASSERT(::IsWindow(m_hWnd));  ::SendMessage(m_hWnd, TTM_ACTIVATE, bActivate, 0L); }
-_AFXCMN_INLINE void CToolTipCtrl::SetToolInfo(LPTOOLINFO lpToolInfo)
-	{ ASSERT(::IsWindow(m_hWnd));  ::SendMessage(m_hWnd, TTM_SETTOOLINFO, 0, (LPARAM)lpToolInfo); }
-_AFXCMN_INLINE void CToolTipCtrl::RelayEvent(LPMSG lpMsg)
-	{ ASSERT(::IsWindow(m_hWnd));  ::SendMessage(m_hWnd, TTM_RELAYEVENT, 0, (LPARAM)lpMsg); }
-_AFXCMN_INLINE int CToolTipCtrl::GetToolCount() const
-	{ ASSERT(::IsWindow(m_hWnd));  return (int) ::SendMessage(m_hWnd, TTM_GETTOOLCOUNT, 0, 0L); }
-
-/////////////////////////////////////////////////////////////////////////////
-
-_AFXCMN_INLINE CSpinButtonCtrl::CSpinButtonCtrl()
-	{ }
-_AFXCMN_INLINE UINT CSpinButtonCtrl::GetAccel(int nAccel, UDACCEL* pAccel) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (UINT) LOWORD(::SendMessage(m_hWnd, UDM_GETACCEL, nAccel, (LPARAM)pAccel)); }
-_AFXCMN_INLINE UINT CSpinButtonCtrl::GetBase() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (UINT) LOWORD(::SendMessage(m_hWnd, UDM_GETBASE, 0, 0l)); }
-_AFXCMN_INLINE CWnd* CSpinButtonCtrl::GetBuddy() const
-	{ ASSERT(::IsWindow(m_hWnd)); return CWnd::FromHandle((HWND) ::SendMessage(m_hWnd, UDM_GETBUDDY, 0, 0l)); }
-_AFXCMN_INLINE int CSpinButtonCtrl::GetPos() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) (::SendMessage(m_hWnd, UDM_GETPOS, 0, 0l)); }
-_AFXCMN_INLINE DWORD CSpinButtonCtrl::GetRange() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (DWORD) ::SendMessage(m_hWnd, UDM_GETRANGE, 0, 0l); }
-_AFXCMN_INLINE BOOL CSpinButtonCtrl::SetAccel(int nAccel, UDACCEL* pAccel)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) LOWORD(::SendMessage(m_hWnd, UDM_SETACCEL, nAccel, (LPARAM)pAccel)); }
-_AFXCMN_INLINE int CSpinButtonCtrl::SetBase(int nBase)
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, UDM_SETBASE, nBase, 0L); }
-_AFXCMN_INLINE CWnd* CSpinButtonCtrl::SetBuddy(CWnd* pWndBuddy)
-	{ ASSERT(::IsWindow(m_hWnd)); return CWnd::FromHandle((HWND) ::SendMessage(m_hWnd, UDM_SETBUDDY, (WPARAM)pWndBuddy->GetSafeHwnd(), 0L)); }
-_AFXCMN_INLINE int CSpinButtonCtrl::SetPos(int nPos)
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) (short) LOWORD(::SendMessage(m_hWnd, UDM_SETPOS, 0, MAKELPARAM(nPos, 0))); }
-_AFXCMN_INLINE void CSpinButtonCtrl::SetRange(int nLower, int nUpper)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, UDM_SETRANGE, 0, MAKELPARAM(nUpper, nLower)); }
-
-/////////////////////////////////////////////////////////////////////////////
-
-_AFXCMN_INLINE CSliderCtrl::CSliderCtrl()
-	{ }
-_AFXCMN_INLINE int CSliderCtrl::GetLineSize() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, TBM_GETLINESIZE, 0, 0l); }
-_AFXCMN_INLINE int CSliderCtrl::SetLineSize(int nSize)
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, TBM_SETLINESIZE, 0, nSize); }
-_AFXCMN_INLINE int CSliderCtrl::GetPageSize() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, TBM_GETPAGESIZE, 0, 0l); }
-_AFXCMN_INLINE int CSliderCtrl::SetPageSize(int nSize)
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, TBM_SETPAGESIZE, 0, nSize); }
-_AFXCMN_INLINE int CSliderCtrl::GetRangeMax() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, TBM_GETRANGEMAX, 0, 0l); }
-_AFXCMN_INLINE int CSliderCtrl::GetRangeMin() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, TBM_GETRANGEMIN, 0, 0l); }
-_AFXCMN_INLINE void CSliderCtrl::SetRangeMin(int nMin, BOOL bRedraw)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, TBM_SETRANGEMIN, bRedraw, nMin); }
-_AFXCMN_INLINE void CSliderCtrl::SetRangeMax(int nMax, BOOL bRedraw)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, TBM_SETRANGEMAX, bRedraw, nMax); }
-_AFXCMN_INLINE void CSliderCtrl::ClearSel(BOOL bRedraw)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, TBM_CLEARSEL, bRedraw, 0l); }
-_AFXCMN_INLINE void CSliderCtrl::GetChannelRect(LPRECT lprc) const
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, TBM_GETCHANNELRECT, 0, (LPARAM)lprc); }
-_AFXCMN_INLINE void CSliderCtrl::GetThumbRect(LPRECT lprc) const
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, TBM_GETTHUMBRECT, 0, (LPARAM)lprc); }
-_AFXCMN_INLINE int CSliderCtrl::GetPos() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, TBM_GETPOS, 0, 0l); }
-_AFXCMN_INLINE void CSliderCtrl::SetPos(int nPos)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, TBM_SETPOS, TRUE, nPos); }
-_AFXCMN_INLINE void CSliderCtrl::VerifyPos()
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, TBM_SETPOS, FALSE, 0L); }
-_AFXCMN_INLINE void CSliderCtrl::ClearTics(BOOL bRedraw)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, TBM_CLEARTICS, bRedraw, 0l); }
-_AFXCMN_INLINE UINT CSliderCtrl::GetNumTics() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (UINT) ::SendMessage(m_hWnd, TBM_GETNUMTICS, 0, 0l); }
-_AFXCMN_INLINE DWORD* CSliderCtrl::GetTicArray() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (DWORD*) ::SendMessage(m_hWnd, TBM_GETPTICS, 0, 0l); }
-_AFXCMN_INLINE int CSliderCtrl::GetTic(int nTic) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, TBM_GETTIC, nTic, 0L); }
-_AFXCMN_INLINE int CSliderCtrl::GetTicPos(int nTic) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, TBM_GETTICPOS, nTic, 0L); }
-_AFXCMN_INLINE BOOL CSliderCtrl::SetTic(int nTic)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, TBM_SETTIC, 0, nTic); }
-_AFXCMN_INLINE void CSliderCtrl::SetTicFreq(int nFreq)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, TBM_SETTICFREQ, nFreq, 0L); }
-_AFXCMN_INLINE CWnd* CSliderCtrl::GetBuddy(BOOL fLocation) const
-	{ ASSERT(::IsWindow(m_hWnd)); return CWnd::FromHandle((HWND) ::SendMessage(m_hWnd, TBM_GETBUDDY, fLocation, 0l)); }
-_AFXCMN_INLINE CWnd* CSliderCtrl::SetBuddy(CWnd* pWndBuddy, BOOL fLocation)
-	{ ASSERT(::IsWindow(m_hWnd)); return CWnd::FromHandle((HWND) ::SendMessage(m_hWnd, TBM_SETBUDDY, fLocation, (LPARAM)pWndBuddy->GetSafeHwnd())); }
-_AFXCMN_INLINE CToolTipCtrl* CSliderCtrl::GetToolTips() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (CToolTipCtrl*)CWnd::FromHandle((HWND)::SendMessage(m_hWnd, TBM_GETTOOLTIPS, 0, 0L)); }
-_AFXCMN_INLINE void CSliderCtrl::SetToolTips(CToolTipCtrl* pTip)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, TBM_SETTOOLTIPS, (WPARAM)pTip->GetSafeHwnd(), 0L); }
-_AFXCMN_INLINE int CSliderCtrl::SetTipSide(int nLocation)
-	{ ASSERT(::IsWindow(m_hWnd)); return (int)::SendMessage(m_hWnd, TBM_SETTIPSIDE, nLocation, 0L); }
-
-/////////////////////////////////////////////////////////////////////////////
-
-_AFXCMN_INLINE CProgressCtrl::CProgressCtrl()
-	{ }
-_AFXCMN_INLINE void CProgressCtrl::SetRange(short nLower, short nUpper)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, PBM_SETRANGE, 0, MAKELPARAM(nLower, nUpper)); }
-_AFXCMN_INLINE void CProgressCtrl::SetRange32(int nLower, int nUpper)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, PBM_SETRANGE32, (WPARAM) nLower, (LPARAM) nUpper); }
-_AFXCMN_INLINE int CProgressCtrl::GetPos()
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, PBM_GETPOS, 0, 0); }
-_AFXCMN_INLINE int CProgressCtrl::OffsetPos(int nPos)
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, PBM_DELTAPOS, nPos, 0L); }
-_AFXCMN_INLINE int CProgressCtrl::SetStep(int nStep)
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, PBM_SETSTEP, nStep, 0L); }
-_AFXCMN_INLINE int CProgressCtrl::StepIt()
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, PBM_STEPIT, 0, 0L); }
-
-/////////////////////////////////////////////////////////////////////////////
-
-_AFXCMN_INLINE CHeaderCtrl::CHeaderCtrl()
-	{ }
-_AFXCMN_INLINE int CHeaderCtrl::GetItemCount() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, HDM_GETITEMCOUNT, 0, 0L); }
-_AFXCMN_INLINE int CHeaderCtrl::InsertItem(int nPos, HDITEM* phdi)
-	{ ASSERT(::IsWindow(m_hWnd)); return (int)::SendMessage(m_hWnd, HDM_INSERTITEM, nPos, (LPARAM)phdi); }
-_AFXCMN_INLINE BOOL CHeaderCtrl::DeleteItem(int nPos)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, HDM_DELETEITEM, nPos, 0L); }
-_AFXCMN_INLINE BOOL CHeaderCtrl::GetItem(int nPos, HDITEM* pHeaderItem) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, HDM_GETITEM, nPos, (LPARAM)pHeaderItem); }
-_AFXCMN_INLINE BOOL CHeaderCtrl::SetItem(int nPos, HDITEM* pHeaderItem)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, HDM_SETITEM, nPos, (LPARAM)pHeaderItem); }
-_AFXCMN_INLINE BOOL CHeaderCtrl::Layout(HDLAYOUT* pHeaderLayout)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, HDM_LAYOUT, 0, (LPARAM)pHeaderLayout); }
-
-/////////////////////////////////////////////////////////////////////////////
-
-_AFXCMN_INLINE CImageList::operator HIMAGELIST() const
-	{ return m_hImageList;}
-_AFXCMN_INLINE HIMAGELIST CImageList::GetSafeHandle() const
-	{ return (this == NULL) ? NULL : m_hImageList; }
-_AFXCMN_INLINE int CImageList::GetImageCount() const
-	{ ASSERT(m_hImageList != NULL); return ImageList_GetImageCount(m_hImageList); }
-_AFXCMN_INLINE int CImageList::Add(CBitmap* pbmImage, CBitmap* pbmMask)
-	{ ASSERT(m_hImageList != NULL); return ImageList_Add(m_hImageList, (HBITMAP)pbmImage->GetSafeHandle(), (HBITMAP)pbmMask->GetSafeHandle()); }
-_AFXCMN_INLINE int CImageList::Add(CBitmap* pbmImage, COLORREF crMask)
-	{ ASSERT(m_hImageList != NULL); return ImageList_AddMasked(m_hImageList, (HBITMAP)pbmImage->GetSafeHandle(), crMask); }
-_AFXCMN_INLINE BOOL CImageList::Remove(int nImage)
-	{ ASSERT(m_hImageList != NULL); return ImageList_Remove(m_hImageList, nImage); }
-_AFXCMN_INLINE BOOL CImageList::Replace(int nImage, CBitmap* pbmImage, CBitmap* pbmMask)
-	{ ASSERT(m_hImageList != NULL); return ImageList_Replace(m_hImageList, nImage, (HBITMAP)pbmImage->GetSafeHandle(), (HBITMAP)pbmMask->GetSafeHandle()); }
-_AFXCMN_INLINE int CImageList::Add(HICON hIcon)
-	{ ASSERT(m_hImageList != NULL); return ImageList_AddIcon(m_hImageList, hIcon); }
-_AFXCMN_INLINE int CImageList::Replace(int nImage, HICON hIcon)
-	{ ASSERT(m_hImageList != NULL); return ImageList_ReplaceIcon(m_hImageList, nImage, hIcon); }
-_AFXCMN_INLINE HICON CImageList::ExtractIcon(int nImage)
-	{ ASSERT(m_hImageList != NULL); return ImageList_ExtractIcon(NULL, m_hImageList, nImage); }
-_AFXCMN_INLINE BOOL CImageList::Draw(CDC* pDC, int nImage, POINT pt, UINT nStyle)
-	{ ASSERT(m_hImageList != NULL); ASSERT(pDC != NULL); return ImageList_Draw(m_hImageList, nImage, pDC->GetSafeHdc(), pt.x, pt.y, nStyle); }
-_AFXCMN_INLINE COLORREF CImageList::SetBkColor(COLORREF cr)
-	{ ASSERT(m_hImageList != NULL); return ImageList_SetBkColor(m_hImageList, cr); }
-_AFXCMN_INLINE COLORREF CImageList::GetBkColor() const
-	{ ASSERT(m_hImageList != NULL); return ImageList_GetBkColor(m_hImageList); }
-_AFXCMN_INLINE BOOL CImageList::SetOverlayImage(int nImage, int nOverlay)
-	{ ASSERT(m_hImageList != NULL); return ImageList_SetOverlayImage(m_hImageList, nImage, nOverlay); }
-_AFXCMN_INLINE BOOL CImageList::GetImageInfo(int nImage, IMAGEINFO* pImageInfo) const
-	{ ASSERT(m_hImageList != NULL); return ImageList_GetImageInfo(m_hImageList, nImage, pImageInfo); }
-_AFXCMN_INLINE BOOL CImageList::BeginDrag(int nImage, CPoint ptHotSpot)
-	{ ASSERT(m_hImageList != NULL); return ImageList_BeginDrag(m_hImageList, nImage, ptHotSpot.x, ptHotSpot.y); }
-_AFXCMN_INLINE void PASCAL CImageList::EndDrag()
-	{ ImageList_EndDrag(); }
-_AFXCMN_INLINE BOOL PASCAL CImageList::DragMove(CPoint pt)
-	{ return ImageList_DragMove(pt.x, pt.y); }
-_AFXCMN_INLINE BOOL CImageList::SetDragCursorImage(int nDrag, CPoint ptHotSpot)
-	{ ASSERT(m_hImageList != NULL); return ImageList_SetDragCursorImage(m_hImageList, nDrag, ptHotSpot.x, ptHotSpot.y); }
-_AFXCMN_INLINE BOOL PASCAL CImageList::DragShowNolock(BOOL bShow)
-	{return ImageList_DragShowNolock(bShow);}
-_AFXCMN_INLINE CImageList* PASCAL CImageList::GetDragImage(LPPOINT lpPoint, LPPOINT lpPointHotSpot)
-	{return CImageList::FromHandle(ImageList_GetDragImage(lpPoint, lpPointHotSpot));}
-_AFXCMN_INLINE BOOL PASCAL CImageList::DragEnter(CWnd* pWndLock, CPoint point)
-	{ return ImageList_DragEnter(pWndLock->GetSafeHwnd(), point.x, point.y); }
-_AFXCMN_INLINE BOOL PASCAL CImageList::DragLeave(CWnd* pWndLock)
-	{ return ImageList_DragLeave(pWndLock->GetSafeHwnd()); }
-
-/////////////////////////////////////////////////////////////////////////////
-
-_AFXCMN_INLINE CTabCtrl::CTabCtrl()
-	{ }
-_AFXCMN_INLINE CImageList* CTabCtrl::GetImageList() const
-	{ ASSERT(::IsWindow(m_hWnd)); return CImageList::FromHandle((HIMAGELIST)::SendMessage(m_hWnd, TCM_GETIMAGELIST, 0, 0L)); }
-_AFXCMN_INLINE CImageList* CTabCtrl::SetImageList(CImageList* pImageList)
-	{ ASSERT(::IsWindow(m_hWnd)); return CImageList::FromHandle((HIMAGELIST)::SendMessage(m_hWnd, TCM_SETIMAGELIST, 0, (LPARAM)pImageList->GetSafeHandle())); }
-_AFXCMN_INLINE int CTabCtrl::GetItemCount() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int)::SendMessage(m_hWnd, TCM_GETITEMCOUNT, 0, 0L); }
-_AFXCMN_INLINE BOOL CTabCtrl::GetItem(int nItem, TCITEM* pTabCtrlItem) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, TCM_GETITEM, nItem, (LPARAM)pTabCtrlItem); }
-_AFXCMN_INLINE BOOL CTabCtrl::SetItem(int nItem, TCITEM* pTabCtrlItem)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, TCM_SETITEM, nItem, (LPARAM)pTabCtrlItem); }
-_AFXCMN_INLINE BOOL CTabCtrl::SetItemExtra(int nBytes)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, TCM_SETITEMEXTRA, (WPARAM) nBytes, 0); }
-_AFXCMN_INLINE void CTabCtrl::SetCurFocus(int nItem)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, TCM_SETCURFOCUS, (WPARAM) nItem, 0); }
-_AFXCMN_INLINE BOOL CTabCtrl::InsertItem(int nItem, TCITEM* pTabCtrlItem)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, TCM_INSERTITEM, nItem, (LPARAM)pTabCtrlItem); }
-_AFXCMN_INLINE BOOL CTabCtrl::InsertItem(int nItem, LPCTSTR lpszItem)
-	{ ASSERT(::IsWindow(m_hWnd)); return CTabCtrl::InsertItem(TCIF_TEXT, nItem, lpszItem, 0, 0); }
-_AFXCMN_INLINE BOOL CTabCtrl::InsertItem(int nItem, LPCTSTR lpszItem, int nImage)
-	{ ASSERT(::IsWindow(m_hWnd)); return CTabCtrl::InsertItem(TCIF_TEXT|TCIF_IMAGE, nItem, lpszItem, nImage, 0); }
-_AFXCMN_INLINE BOOL CTabCtrl::DeleteItem(int nItem)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, TCM_DELETEITEM, nItem, 0L); }
-_AFXCMN_INLINE BOOL CTabCtrl::DeleteAllItems()
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, TCM_DELETEALLITEMS, 0, 0L); }
-_AFXCMN_INLINE BOOL CTabCtrl::GetItemRect(int nItem, LPRECT lpRect) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, TCM_GETITEMRECT, nItem, (LPARAM)lpRect); }
-_AFXCMN_INLINE int CTabCtrl::GetCurSel() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int)::SendMessage(m_hWnd, TCM_GETCURSEL, 0, 0L); }
-_AFXCMN_INLINE int CTabCtrl::SetCurSel(int nItem)
-	{ ASSERT(::IsWindow(m_hWnd)); return (int)::SendMessage(m_hWnd, TCM_SETCURSEL, nItem, 0L); }
-_AFXCMN_INLINE int CTabCtrl::HitTest(TCHITTESTINFO* pHitTestInfo) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int)::SendMessage(m_hWnd, TCM_HITTEST, 0, (LPARAM) pHitTestInfo); }
-_AFXCMN_INLINE void CTabCtrl::AdjustRect(BOOL bLarger, LPRECT lpRect)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, TCM_ADJUSTRECT, bLarger, (LPARAM)lpRect); }
-_AFXCMN_INLINE CSize CTabCtrl::SetItemSize(CSize size)
-	{ ASSERT(::IsWindow(m_hWnd)); return (CSize)::SendMessage(m_hWnd, TCM_SETITEMSIZE, 0, MAKELPARAM(size.cx,size.cy)); }
-_AFXCMN_INLINE void CTabCtrl::RemoveImage(int nImage)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, TCM_REMOVEIMAGE, nImage, 0L); }
-_AFXCMN_INLINE void CTabCtrl::SetPadding(CSize size)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, TCM_SETPADDING, 0, MAKELPARAM(size.cx, size.cy)); }
-_AFXCMN_INLINE int CTabCtrl::GetRowCount() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int)::SendMessage(m_hWnd, TCM_GETROWCOUNT, 0, 0L); }
-_AFXCMN_INLINE CToolTipCtrl* CTabCtrl::GetToolTips() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (CToolTipCtrl*)CWnd::FromHandle((HWND)::SendMessage(m_hWnd, TCM_GETTOOLTIPS, 0, 0L)); }
-_AFXCMN_INLINE void CTabCtrl::SetToolTips(CToolTipCtrl* pWndTip)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, TCM_SETTOOLTIPS, (WPARAM)pWndTip->GetSafeHwnd(), 0L); }
-_AFXCMN_INLINE int CTabCtrl::GetCurFocus() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int)::SendMessage(m_hWnd, TCM_GETCURFOCUS, 0, 0L); }
-_AFXCMN_INLINE int CTabCtrl::SetMinTabWidth(int cx)
-	{ ASSERT(::IsWindow(m_hWnd)); return (int)::SendMessage(m_hWnd, TCM_SETMINTABWIDTH, 0, (LPARAM)cx); }
-_AFXCMN_INLINE void CTabCtrl::DeselectAll(BOOL fExcludeFocus)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, TCM_DESELECTALL, fExcludeFocus, 0); }
-_AFXCMN_INLINE BOOL CTabCtrl::HighlightItem(int idItem, BOOL fHighlight /*= TRUE*/)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, TCM_HIGHLIGHTITEM, idItem, MAKELPARAM(fHighlight, 0)); }
-_AFXCMN_INLINE DWORD CTabCtrl::GetExtendedStyle()
-	{ ASSERT(::IsWindow(m_hWnd)); return (DWORD) ::SendMessage(m_hWnd, TCM_GETEXTENDEDSTYLE, 0, 0); }
-_AFXCMN_INLINE DWORD CTabCtrl::SetExtendedStyle(DWORD dwNewStyle, DWORD dwExMask /*= 0*/)
-	{ ASSERT(::IsWindow(m_hWnd)); return (DWORD) ::SendMessage(m_hWnd, TCM_SETEXTENDEDSTYLE, dwExMask, dwNewStyle); }
-
-/////////////////////////////////////////////////////////////////////////////
-
-_AFXCMN_INLINE CAnimateCtrl::CAnimateCtrl()
-	{ }
-_AFXCMN_INLINE BOOL CAnimateCtrl::Open(LPCTSTR lpszName)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, ACM_OPEN, 0, (LPARAM)lpszName); }
-_AFXCMN_INLINE BOOL CAnimateCtrl::Open(UINT nID)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, ACM_OPEN, 0, nID); }
-_AFXCMN_INLINE BOOL CAnimateCtrl::Play(UINT nFrom, UINT nTo, UINT nRep)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, ACM_PLAY, nRep, MAKELPARAM(nFrom, nTo)); }
-_AFXCMN_INLINE BOOL CAnimateCtrl::Stop()
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, ACM_STOP, 0, 0L); }
-_AFXCMN_INLINE BOOL CAnimateCtrl::Close()
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, ACM_OPEN, 0, 0L); }
-_AFXCMN_INLINE BOOL CAnimateCtrl::Seek(UINT nTo)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, ACM_PLAY, 0, MAKELPARAM(nTo, nTo)); }
-
-/////////////////////////////////////////////////////////////////////////////
-
-#ifndef _AFX_NO_RICHEDIT_SUPPORT
-_AFXCMN_INLINE CRichEditCtrl::CRichEditCtrl()
-	{ }
-_AFXCMN_INLINE BOOL CRichEditCtrl::CanUndo() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, EM_CANUNDO, 0, 0); }
-_AFXCMN_INLINE int CRichEditCtrl::GetLineCount() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int)::SendMessage(m_hWnd, EM_GETLINECOUNT, 0, 0); }
-_AFXCMN_INLINE BOOL CRichEditCtrl::GetModify() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, EM_GETMODIFY, 0, 0); }
-_AFXCMN_INLINE void CRichEditCtrl::SetModify(BOOL bModified /* = TRUE */)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, EM_SETMODIFY, bModified, 0);}
-_AFXCMN_INLINE void CRichEditCtrl::GetRect(LPRECT lpRect) const
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, EM_GETRECT, 0, (LPARAM)lpRect); }
-_AFXCMN_INLINE CPoint CRichEditCtrl::GetCharPos(long lChar) const
-	{ ASSERT(::IsWindow(m_hWnd)); CPoint pt; ::SendMessage(m_hWnd, EM_POSFROMCHAR, (WPARAM)&pt, (LPARAM)lChar); return pt;}
-_AFXCMN_INLINE void CRichEditCtrl::SetOptions(WORD wOp, DWORD dwFlags)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, EM_SETOPTIONS, (WPARAM)wOp, (LPARAM)dwFlags); }
-_AFXCMN_INLINE void CRichEditCtrl::EmptyUndoBuffer()
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, EM_EMPTYUNDOBUFFER, 0, 0); }
-_AFXCMN_INLINE void CRichEditCtrl::ReplaceSel(LPCTSTR lpszNewText, BOOL bCanUndo)
-	{ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, EM_REPLACESEL, (WPARAM) bCanUndo, (LPARAM)lpszNewText); }
-_AFXCMN_INLINE void CRichEditCtrl::SetRect(LPCRECT lpRect)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, EM_SETRECT, 0, (LPARAM)lpRect); }
-_AFXCMN_INLINE BOOL CRichEditCtrl::Undo()
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, EM_UNDO, 0, 0); }
-_AFXCMN_INLINE void CRichEditCtrl::Clear()
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, WM_CLEAR, 0, 0); }
-_AFXCMN_INLINE void CRichEditCtrl::Copy()
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, WM_COPY, 0, 0); }
-_AFXCMN_INLINE void CRichEditCtrl::Cut()
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, WM_CUT, 0, 0); }
-_AFXCMN_INLINE void CRichEditCtrl::Paste()
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, WM_PASTE, 0, 0); }
-_AFXCMN_INLINE BOOL CRichEditCtrl::SetReadOnly(BOOL bReadOnly /* = TRUE */ )
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, EM_SETREADONLY, bReadOnly, 0L); }
-_AFXCMN_INLINE int CRichEditCtrl::GetFirstVisibleLine() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int)::SendMessage(m_hWnd, EM_GETFIRSTVISIBLELINE, 0, 0L); }
-_AFXCMN_INLINE BOOL CRichEditCtrl::DisplayBand(LPRECT pDisplayRect)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, EM_DISPLAYBAND, 0, (LPARAM)pDisplayRect); }
-_AFXCMN_INLINE void CRichEditCtrl::GetSel(CHARRANGE &cr) const
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, EM_EXGETSEL, 0, (LPARAM)&cr); }
-
-_AFXCMN_INLINE void CRichEditCtrl::LimitText(long nChars)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, EM_EXLIMITTEXT, 0, nChars); }
-
-_AFXCMN_INLINE long CRichEditCtrl::LineFromChar(long nIndex) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (long)::SendMessage(m_hWnd, EM_EXLINEFROMCHAR, 0, nIndex); }
-
-_AFXCMN_INLINE void CRichEditCtrl::SetSel(CHARRANGE &cr)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, EM_EXSETSEL, 0, (LPARAM)&cr); }
-
-_AFXCMN_INLINE long CRichEditCtrl::FindText(DWORD dwFlags, FINDTEXTEX* pFindText) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (long)::SendMessage(m_hWnd, EM_FINDTEXTEX, dwFlags, (LPARAM)pFindText); }
-
-_AFXCMN_INLINE long CRichEditCtrl::FormatRange(FORMATRANGE* pfr, BOOL bDisplay)
-	{ ASSERT(::IsWindow(m_hWnd)); return (long)::SendMessage(m_hWnd, EM_FORMATRANGE, (WPARAM)bDisplay, (LPARAM)pfr); }
-
-_AFXCMN_INLINE long CRichEditCtrl::GetEventMask() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (long)::SendMessage(m_hWnd, EM_GETEVENTMASK, 0, 0L); }
-
-_AFXCMN_INLINE long CRichEditCtrl::GetLimitText() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (long)::SendMessage(m_hWnd, EM_GETLIMITTEXT, 0, 0L); }
-
-_AFXCMN_INLINE long CRichEditCtrl::GetSelText(LPSTR lpBuf) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (long)::SendMessage(m_hWnd, EM_GETSELTEXT, 0, (LPARAM)lpBuf); }
-
-_AFXCMN_INLINE void CRichEditCtrl::HideSelection(BOOL bHide, BOOL bPerm)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, EM_HIDESELECTION, bHide, bPerm); }
-
-_AFXCMN_INLINE void CRichEditCtrl::RequestResize()
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, EM_REQUESTRESIZE, 0, 0L); }
-
-_AFXCMN_INLINE WORD CRichEditCtrl::GetSelectionType() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (WORD)::SendMessage(m_hWnd, EM_SELECTIONTYPE, 0, 0L); }
-
-_AFXCMN_INLINE COLORREF CRichEditCtrl::SetBackgroundColor(BOOL bSysColor, COLORREF cr)
-	{ ASSERT(::IsWindow(m_hWnd)); return (COLORREF)::SendMessage(m_hWnd, EM_SETBKGNDCOLOR, bSysColor, cr); }
-
-_AFXCMN_INLINE DWORD CRichEditCtrl::SetEventMask(DWORD dwEventMask)
-	{ ASSERT(::IsWindow(m_hWnd)); return (DWORD)::SendMessage(m_hWnd, EM_SETEVENTMASK, 0, dwEventMask); }
-
-_AFXCMN_INLINE BOOL CRichEditCtrl::SetOLECallback(IRichEditOleCallback* pCallback)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, EM_SETOLECALLBACK, 0, (LPARAM)pCallback); }
-
-_AFXCMN_INLINE BOOL CRichEditCtrl::SetTargetDevice(HDC hDC, long lLineWidth)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, EM_SETTARGETDEVICE, (WPARAM)hDC, lLineWidth); }
-
-_AFXCMN_INLINE BOOL CRichEditCtrl::SetTargetDevice(CDC &dc, long lLineWidth)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, EM_SETTARGETDEVICE, (WPARAM)dc.m_hDC, lLineWidth); }
-
-_AFXCMN_INLINE long CRichEditCtrl::StreamIn(int nFormat, EDITSTREAM &es)
-	{ ASSERT(::IsWindow(m_hWnd)); return (long)::SendMessage(m_hWnd, EM_STREAMIN, nFormat, (LPARAM)&es); }
-
-_AFXCMN_INLINE long CRichEditCtrl::StreamOut(int nFormat, EDITSTREAM &es)
-	{ ASSERT(::IsWindow(m_hWnd)); return (long)::SendMessage(m_hWnd, EM_STREAMOUT, nFormat, (LPARAM)&es); }
-
-_AFXCMN_INLINE long CRichEditCtrl::GetTextLength() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (long)::SendMessage(m_hWnd, WM_GETTEXTLENGTH, NULL, NULL); }
-
-#endif //!_AFX_NO_RICHEDIT_SUPPORT
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //_AFXCMN_INLINE
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 322
libs/mfc/include/afxcmn2.inl

@@ -1,322 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-// Inlines for AFXCMN.H (via WINCTRL6.CPP)
-
-#ifdef _AFXCMN_INLINE
-
-/////////////////////////////////////////////////////////////////////////////
-
-_AFXCMN_INLINE BOOL CStatusBarCtrl::IsSimple() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, SB_ISSIMPLE, 0, 0); }
-_AFXCMN_INLINE void CStatusBarCtrl::SetTipText(int nPane, LPCTSTR pszTipText)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, SB_SETTIPTEXT, nPane, (LPARAM)pszTipText); }
-_AFXCMN_INLINE COLORREF CStatusBarCtrl::SetBkColor(COLORREF cr)
-	{ ASSERT(::IsWindow(m_hWnd)); return (COLORREF) ::SendMessage(m_hWnd, SB_SETBKCOLOR, 0, (LPARAM)cr); }
-_AFXCMN_INLINE BOOL CStatusBarCtrl::SetIcon(int nPane, HICON hIcon)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, SB_SETICON, nPane, (LPARAM)hIcon); }
-
-/////////////////////////////////////////////////////////////////////////////
-
-_AFXCMN_INLINE void CSpinButtonCtrl::SetRange32(int nLower, int nUpper)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, UDM_SETRANGE32, (WPARAM) nLower, (LPARAM) nUpper); }
-_AFXCMN_INLINE void CSpinButtonCtrl::GetRange32(int& nLower, int& nUpper) const
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, UDM_GETRANGE32, (WPARAM) &nLower, (LPARAM) &nUpper); }
-
-/////////////////////////////////////////////////////////////////////////////
-
-_AFXCMN_INLINE DWORD CToolBarCtrl::GetButtonSize() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (DWORD) ::SendMessage(m_hWnd, TB_GETBUTTONSIZE, 0, 0L); }
-_AFXCMN_INLINE CImageList* CToolBarCtrl::GetDisabledImageList() const
-	{ ASSERT(::IsWindow(m_hWnd)); return CImageList::FromHandle((HIMAGELIST) ::SendMessage(m_hWnd, TB_GETDISABLEDIMAGELIST, 0, 0)); }
-_AFXCMN_INLINE CImageList* CToolBarCtrl::GetHotImageList() const
-	{ ASSERT(::IsWindow(m_hWnd)); return CImageList::FromHandle((HIMAGELIST) ::SendMessage(m_hWnd, TB_GETHOTIMAGELIST, 0, 0)); }
-_AFXCMN_INLINE CImageList* CToolBarCtrl::GetImageList() const
-	{ ASSERT(::IsWindow(m_hWnd)); return CImageList::FromHandle((HIMAGELIST) ::SendMessage(m_hWnd, TB_GETIMAGELIST, 0, 0)); }
-_AFXCMN_INLINE DWORD CToolBarCtrl::GetStyle() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (DWORD) ::SendMessage(m_hWnd, TB_GETSTYLE, 0, 0L); }
-_AFXCMN_INLINE INT CToolBarCtrl::GetMaxTextRows() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (INT) ::SendMessage(m_hWnd, TB_GETTEXTROWS, 0, 0L); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::GetRect(int nID, LPRECT lpRect) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_GETRECT, nID, (LPARAM)lpRect); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::IsButtonHighlighted(int nID) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_ISBUTTONHIGHLIGHTED, nID, 0); }
-_AFXCMN_INLINE void CToolBarCtrl::LoadImages(int iBitmapID, HINSTANCE hinst)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, TB_LOADIMAGES, iBitmapID, (LPARAM)hinst); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::SetButtonWidth(int cxMin, int cxMax)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_SETBUTTONWIDTH, 0, MAKELPARAM(cxMin, cxMax)); }
-_AFXCMN_INLINE CImageList* CToolBarCtrl::SetDisabledImageList(CImageList* pImageList)
-	{ ASSERT(::IsWindow(m_hWnd)); return CImageList::FromHandle((HIMAGELIST) ::SendMessage(m_hWnd, TB_SETDISABLEDIMAGELIST, 0, (LPARAM)pImageList->GetSafeHandle())); }
-_AFXCMN_INLINE CImageList* CToolBarCtrl::SetHotImageList(CImageList* pImageList)
-	{ ASSERT(::IsWindow(m_hWnd)); return CImageList::FromHandle((HIMAGELIST) ::SendMessage(m_hWnd, TB_SETHOTIMAGELIST, 0, (LPARAM)pImageList->GetSafeHandle())); }
-_AFXCMN_INLINE CImageList* CToolBarCtrl::SetImageList(CImageList* pImageList)
-	{ ASSERT(::IsWindow(m_hWnd)); return CImageList::FromHandle((HIMAGELIST) ::SendMessage(m_hWnd, TB_SETIMAGELIST, 0, (LPARAM)pImageList->GetSafeHandle())); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::SetIndent(int iIndent)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_SETINDENT, iIndent, 0L); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::SetMaxTextRows(int iMaxRows)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_SETMAXTEXTROWS, iMaxRows, 0L); }
-_AFXCMN_INLINE void CToolBarCtrl::SetStyle(DWORD dwStyle)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, TB_SETSTYLE, 0, dwStyle); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::GetButtonInfo(int nID, TBBUTTONINFO* ptbbi) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_GETBUTTONINFO, nID, (LPARAM)ptbbi); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::SetButtonInfo(int nID, TBBUTTONINFO* ptbbi)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_SETBUTTONINFO, nID, (LPARAM)ptbbi); }
-_AFXCMN_INLINE DWORD CToolBarCtrl::SetDrawTextFlags(DWORD dwMask, DWORD dwDTFlags)
-	{ ASSERT(::IsWindow(m_hWnd)); return (DWORD) ::SendMessage(m_hWnd, TB_SETDRAWTEXTFLAGS, dwMask, dwDTFlags); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::GetAnchorHighlight() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_GETANCHORHIGHLIGHT, 0, 0); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::SetAnchorHighlight(BOOL fAnchor)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_SETANCHORHIGHLIGHT, fAnchor, 0); }
-_AFXCMN_INLINE int CToolBarCtrl::GetHotItem() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, TB_GETHOTITEM, 0, 0); }
-_AFXCMN_INLINE int CToolBarCtrl::SetHotItem(int nHot)
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, TB_SETHOTITEM, nHot, 0); }
-_AFXCMN_INLINE void CToolBarCtrl::GetInsertMark(TBINSERTMARK* ptbim) const
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, TB_GETINSERTMARK, 0, (LPARAM)ptbim); }
-_AFXCMN_INLINE void CToolBarCtrl::SetInsertMark(TBINSERTMARK* ptbim)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, TB_SETINSERTMARK, 0, (LPARAM)ptbim); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::GetMaxSize(LPSIZE pSize) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_GETMAXSIZE, 0, (LPARAM)pSize); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::InsertMarkHitTest(LPPOINT ppt, LPTBINSERTMARK ptbim) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_INSERTMARKHITTEST, (WPARAM)ppt, (LPARAM)ptbim); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::MapAccelerator(TCHAR chAccel, UINT* pIDBtn)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_MAPACCELERATOR, (WPARAM)chAccel, (LPARAM)pIDBtn); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::MarkButton(int nID, BOOL bHighlight)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_MARKBUTTON, nID, MAKELPARAM(bHighlight, 0)); }
-_AFXCMN_INLINE BOOL CToolBarCtrl::MoveButton(UINT nOldPos, UINT nNewPos)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, TB_MOVEBUTTON, nOldPos, nNewPos); }
-
-/////////////////////////////////////////////////////////////////////////////
-
-_AFXCMN_INLINE DWORD CListCtrl::SetExtendedStyle(DWORD dwNewStyle)
-	{ ASSERT(::IsWindow(m_hWnd)); return (DWORD) ::SendMessage(m_hWnd, LVM_SETEXTENDEDLISTVIEWSTYLE, 0, (LPARAM) dwNewStyle); }
-_AFXCMN_INLINE HCURSOR CListCtrl::SetHotCursor(HCURSOR hc)
-	{ ASSERT(::IsWindow(m_hWnd) && hc != NULL); return (HCURSOR) ::SendMessage(m_hWnd, LVM_SETHOTCURSOR, 0, (LPARAM) hc); }
-_AFXCMN_INLINE int CListCtrl::SetHotItem(int iIndex)
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, LVM_SETHOTITEM, (WPARAM) iIndex, 0); }
-_AFXCMN_INLINE void CListCtrl::SetWorkAreas(int nWorkAreas, LPRECT lpRect)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, LVM_SETWORKAREAS, nWorkAreas, (LPARAM) lpRect); }
-_AFXCMN_INLINE int CListCtrl::SubItemHitTest(LPLVHITTESTINFO pInfo)
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, LVM_SUBITEMHITTEST, 0, (LPARAM) pInfo); }
-_AFXCMN_INLINE HCURSOR CListCtrl::GetHotCursor()
-	{ ASSERT(::IsWindow(m_hWnd)); return (HCURSOR) ::SendMessage(m_hWnd, LVM_GETHOTCURSOR, 0, 0); }
-_AFXCMN_INLINE int CListCtrl::GetHotItem()
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, LVM_GETHOTITEM, 0, 0); }
-_AFXCMN_INLINE DWORD CListCtrl::GetExtendedStyle()
-	{ ASSERT(::IsWindow(m_hWnd)); return (DWORD) ::SendMessage(m_hWnd, LVM_GETEXTENDEDLISTVIEWSTYLE, 0, 0); }
-_AFXCMN_INLINE CSize CListCtrl::ApproximateViewRect(CSize sz, int iCount) const
-	{ ASSERT(::IsWindow(m_hWnd)); return CSize((DWORD) ::SendMessage(m_hWnd, LVM_APPROXIMATEVIEWRECT, iCount, MAKELPARAM(sz.cx, sz.cy))); }
-_AFXCMN_INLINE BOOL CListCtrl::GetBkImage(LVBKIMAGE* plvbkImage) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, LVM_GETBKIMAGE, 0, (LPARAM)plvbkImage); }
-_AFXCMN_INLINE DWORD CListCtrl::GetHoverTime() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (DWORD) ::SendMessage(m_hWnd, LVM_GETHOVERTIME, 0, 0); }
-_AFXCMN_INLINE void CListCtrl::GetWorkAreas(int nWorkAreas, LPRECT prc) const
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, LVM_GETWORKAREAS, nWorkAreas, (LPARAM)prc); }
-_AFXCMN_INLINE BOOL CListCtrl::SetBkImage(LVBKIMAGE* plvbkImage)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, LVM_SETBKIMAGE, 0, (LPARAM)plvbkImage); }
-_AFXCMN_INLINE DWORD CListCtrl::SetHoverTime(DWORD dwHoverTime)
-	{ ASSERT(::IsWindow(m_hWnd)); return (DWORD)::SendMessage(m_hWnd, LVM_SETHOVERTIME, 0, dwHoverTime); }
-_AFXCMN_INLINE UINT CListCtrl::GetNumberOfWorkAreas() const
-	{ ASSERT(::IsWindow(m_hWnd)); UINT nWorkAreas; ::SendMessage(m_hWnd, LVM_GETNUMBEROFWORKAREAS, 0, (LPARAM)&nWorkAreas); return nWorkAreas; }
-_AFXCMN_INLINE int CListCtrl::SetSelectionMark(int iIndex)
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, LVM_SETSELECTIONMARK, 0, (LPARAM) iIndex); }
-_AFXCMN_INLINE int CListCtrl::GetSelectionMark()
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, LVM_GETSELECTIONMARK, 0, 0); }
-
-/////////////////////////////////////////////////////////////////////////////
-
-_AFXCMN_INLINE BOOL CHeaderCtrl::GetItemRect(int nIndex, LPRECT lpRect) const
-	{ ASSERT(::IsWindow(m_hWnd)); ASSERT(lpRect != NULL); return (BOOL)::SendMessage(m_hWnd, HDM_GETITEMRECT, nIndex, (LPARAM)lpRect); }
-_AFXCMN_INLINE int CHeaderCtrl::OrderToIndex(int nOrder) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int)::SendMessage(m_hWnd, HDM_ORDERTOINDEX, nOrder, 0); }
-_AFXCMN_INLINE int CHeaderCtrl::SetHotDivider(CPoint pt)
-	{ ASSERT(::IsWindow(m_hWnd)); return (int)::SendMessage(m_hWnd, HDM_SETHOTDIVIDER, TRUE, MAKELPARAM(pt.x, pt.y)); }
-_AFXCMN_INLINE int CHeaderCtrl::SetHotDivider(int nIndex)
-	{ ASSERT(::IsWindow(m_hWnd)); return (int)::SendMessage(m_hWnd, HDM_SETHOTDIVIDER, FALSE, nIndex); }
-_AFXCMN_INLINE CImageList* CHeaderCtrl::GetImageList() const
-	{ ASSERT(::IsWindow(m_hWnd)); return CImageList::FromHandle((HIMAGELIST) ::SendMessage(m_hWnd, HDM_GETIMAGELIST, 0, 0L)); }
-_AFXCMN_INLINE CImageList* CHeaderCtrl::SetImageList(CImageList* pImageList)
-	{ ASSERT(::IsWindow(m_hWnd)); return CImageList::FromHandle((HIMAGELIST) ::SendMessage(m_hWnd, HDM_SETIMAGELIST, 0, (LPARAM)pImageList->GetSafeHandle())); }
-_AFXCMN_INLINE CImageList* CHeaderCtrl::CreateDragImage(int nIndex)
-	{ ASSERT(::IsWindow(m_hWnd)); return CImageList::FromHandle((HIMAGELIST) ::SendMessage(m_hWnd, HDM_CREATEDRAGIMAGE, nIndex, 0L)); }
-
-/////////////////////////////////////////////////////////////////////////////
-
-_AFXCMN_INLINE CReBarCtrl::CReBarCtrl()
-	{ }
-_AFXCMN_INLINE UINT CReBarCtrl::GetBandCount() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (UINT) ::SendMessage(m_hWnd, RB_GETBANDCOUNT, 0, 0L); }
-_AFXCMN_INLINE BOOL CReBarCtrl::GetBandInfo(UINT uBand, REBARBANDINFO* prbbi) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, RB_GETBANDINFO, uBand, (LPARAM)prbbi); }
-_AFXCMN_INLINE UINT CReBarCtrl::GetBarHeight() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (UINT) ::SendMessage(m_hWnd, RB_GETBARHEIGHT, 0, 0L); }
-_AFXCMN_INLINE BOOL CReBarCtrl::GetBarInfo(REBARINFO* prbi) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, RB_GETBARINFO, 0, (LPARAM)prbi); }
-_AFXCMN_INLINE COLORREF CReBarCtrl::GetBkColor() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (COLORREF) ::SendMessage(m_hWnd, RB_GETBKCOLOR, 0, 0L); }
-_AFXCMN_INLINE IDropTarget* CReBarCtrl::GetDropTarget() const
-	{ ASSERT(::IsWindow(m_hWnd)); IDropTarget* pdt; ::SendMessage(m_hWnd, RB_GETDROPTARGET, 0, (LPARAM)&pdt); return pdt; }
-_AFXCMN_INLINE BOOL CReBarCtrl::GetRect(UINT uBand, LPRECT prc) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, RB_GETRECT, uBand, (LPARAM)prc); }
-_AFXCMN_INLINE UINT CReBarCtrl::GetRowCount() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (UINT) ::SendMessage(m_hWnd, RB_GETROWCOUNT, 0, 0L); }
-_AFXCMN_INLINE UINT CReBarCtrl::GetRowHeight(UINT uRow) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (UINT) ::SendMessage(m_hWnd, RB_GETROWHEIGHT, uRow, 0L); }
-_AFXCMN_INLINE COLORREF CReBarCtrl::GetTextColor() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (COLORREF) ::SendMessage(m_hWnd, RB_GETTEXTCOLOR, 0, 0L); }
-_AFXCMN_INLINE CToolTipCtrl* CReBarCtrl::GetToolTips() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (CToolTipCtrl*)CWnd::FromHandle((HWND)::SendMessage(m_hWnd, RB_GETTOOLTIPS, 0, 0L)); }
-_AFXCMN_INLINE int CReBarCtrl::IDToIndex(UINT uBandID) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, RB_IDTOINDEX, uBandID, 0L); }
-_AFXCMN_INLINE BOOL CReBarCtrl::SetBandInfo(UINT uBand, REBARBANDINFO* prbbi)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, RB_SETBANDINFO, uBand, (LPARAM)prbbi); }
-_AFXCMN_INLINE BOOL CReBarCtrl::SetBarInfo(REBARINFO* prbi)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, RB_SETBARINFO, 0, (LPARAM)prbi); }
-_AFXCMN_INLINE COLORREF CReBarCtrl::SetBkColor(COLORREF clr)
-	{ ASSERT(::IsWindow(m_hWnd)); return (COLORREF) ::SendMessage(m_hWnd, RB_SETBKCOLOR, 0, (LPARAM)clr); }
-_AFXCMN_INLINE CWnd* CReBarCtrl::SetOwner(CWnd* pWnd)
-	{ ASSERT(::IsWindow(m_hWnd)); return CWnd::FromHandle((HWND)::SendMessage(m_hWnd, RB_SETPARENT, (WPARAM)pWnd->m_hWnd, 0L)); }
-_AFXCMN_INLINE COLORREF CReBarCtrl::SetTextColor(COLORREF clr)
-	{ ASSERT(::IsWindow(m_hWnd)); return (COLORREF) ::SendMessage(m_hWnd, RB_SETTEXTCOLOR, 0, (LPARAM)clr); }
-_AFXCMN_INLINE void CReBarCtrl::SetToolTips(CToolTipCtrl* pTip)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, RB_SETTOOLTIPS, (WPARAM)pTip->m_hWnd, 0L); }
-_AFXCMN_INLINE void CReBarCtrl::BeginDrag(UINT uBand, DWORD dwPos)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, RB_BEGINDRAG, uBand, dwPos); }
-_AFXCMN_INLINE BOOL CReBarCtrl::DeleteBand(UINT uBand)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, RB_DELETEBAND, uBand, 0L); }
-_AFXCMN_INLINE void CReBarCtrl::DragMove(DWORD dwPos)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, RB_DRAGMOVE, 0, dwPos); }
-_AFXCMN_INLINE void CReBarCtrl::EndDrag()
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, RB_ENDDRAG, 0, 0L); }
-_AFXCMN_INLINE int CReBarCtrl::HitTest(RBHITTESTINFO* prbht)
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, RB_HITTEST, 0, (LPARAM)prbht); }
-_AFXCMN_INLINE BOOL CReBarCtrl::InsertBand(UINT uIndex, REBARBANDINFO* prbbi)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, RB_INSERTBAND, uIndex, (LPARAM)prbbi); }
-_AFXCMN_INLINE void CReBarCtrl::MaximizeBand(UINT uBand)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, RB_MAXIMIZEBAND, uBand, 0L); }
-_AFXCMN_INLINE void CReBarCtrl::MinimizeBand(UINT uBand)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, RB_MINIMIZEBAND, uBand, 0L); }
-_AFXCMN_INLINE BOOL CReBarCtrl::SizeToRect(CRect& rect)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, RB_SIZETORECT, 0, (LPARAM)&rect); }
-_AFXCMN_INLINE BOOL CReBarCtrl::ShowBand(UINT uBand, BOOL fShow /*= TRUE*/)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, RB_SHOWBAND, uBand, fShow); }
-_AFXCMN_INLINE void CReBarCtrl::GetBandBorders(UINT uBand, LPRECT prc) const
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, RB_GETBANDBORDERS, uBand, (LPARAM)prc); }
-_AFXCMN_INLINE CPalette* CReBarCtrl::GetPalette() const
-	{ ASSERT(::IsWindow(m_hWnd)); return CPalette::FromHandle((HPALETTE)::SendMessage(m_hWnd, RB_GETPALETTE, 0, 0L)); }
-_AFXCMN_INLINE CPalette* CReBarCtrl::SetPalette(HPALETTE hPal)
-	{ ASSERT(::IsWindow(m_hWnd)); return CPalette::FromHandle((HPALETTE)::SendMessage(m_hWnd, RB_SETPALETTE, 0, (LPARAM)hPal)); }
-_AFXCMN_INLINE BOOL CReBarCtrl::MoveBand(UINT uFrom, UINT uTo)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, RB_MOVEBAND, uFrom, uTo); }
-
-/////////////////////////////////////////////////////////////////////////////
-
-_AFXCMN_INLINE void CToolTipCtrl::SetDelayTime(UINT nDelay)
-	{ ASSERT(::IsWindow(m_hWnd));  ::SendMessage(m_hWnd, TTM_SETDELAYTIME, 0, nDelay); }
-_AFXCMN_INLINE int CToolTipCtrl::GetDelayTime(DWORD dwDuration) const
-	{ ASSERT(::IsWindow(m_hWnd));  return (int) ::SendMessage(m_hWnd, TTM_GETDELAYTIME, dwDuration, 0L); }
-_AFXCMN_INLINE void CToolTipCtrl::GetMargin(LPRECT lprc) const
-	{ ASSERT(::IsWindow(m_hWnd));  ::SendMessage(m_hWnd, TTM_GETMARGIN, 0, (LPARAM)lprc); }
-_AFXCMN_INLINE int CToolTipCtrl::GetMaxTipWidth() const
-	{ ASSERT(::IsWindow(m_hWnd));  return (int) ::SendMessage(m_hWnd, TTM_GETMAXTIPWIDTH, 0, 0L); }
-_AFXCMN_INLINE COLORREF CToolTipCtrl::GetTipBkColor() const
-	{ ASSERT(::IsWindow(m_hWnd));  return (COLORREF) ::SendMessage(m_hWnd, TTM_GETTIPBKCOLOR, 0, 0L); }
-_AFXCMN_INLINE COLORREF CToolTipCtrl::GetTipTextColor() const
-	{ ASSERT(::IsWindow(m_hWnd));  return (COLORREF) ::SendMessage(m_hWnd, TTM_GETTIPTEXTCOLOR, 0, 0L); }
-_AFXCMN_INLINE void CToolTipCtrl::Pop()
-	{ ASSERT(::IsWindow(m_hWnd));  ::SendMessage(m_hWnd, TTM_POP, 0, 0L); }
-_AFXCMN_INLINE void CToolTipCtrl::SetDelayTime(DWORD dwDuration, int iTime)
-	{ ASSERT(::IsWindow(m_hWnd));  ::SendMessage(m_hWnd, TTM_SETDELAYTIME, dwDuration, MAKELPARAM(iTime, 0)); }
-_AFXCMN_INLINE void CToolTipCtrl::SetMargin(LPRECT lprc)
-	{ ASSERT(::IsWindow(m_hWnd));  ::SendMessage(m_hWnd, TTM_SETMARGIN, 0, (LPARAM)lprc); }
-_AFXCMN_INLINE int CToolTipCtrl::SetMaxTipWidth(int iWidth)
-	{ ASSERT(::IsWindow(m_hWnd));  return (int) ::SendMessage(m_hWnd, TTM_SETMAXTIPWIDTH, 0, iWidth); }
-_AFXCMN_INLINE void CToolTipCtrl::SetTipBkColor(COLORREF clr)
-	{ ASSERT(::IsWindow(m_hWnd));  ::SendMessage(m_hWnd, TTM_SETTIPBKCOLOR, clr, 0L); }
-_AFXCMN_INLINE void CToolTipCtrl::SetTipTextColor(COLORREF clr)
-	{ ASSERT(::IsWindow(m_hWnd));  ::SendMessage(m_hWnd, TTM_SETTIPTEXTCOLOR, clr, 0L); }
-_AFXCMN_INLINE void CToolTipCtrl::Update()
-	{ ASSERT(::IsWindow(m_hWnd));  ::SendMessage(m_hWnd, TTM_UPDATE, 0, 0L); }
-
-/////////////////////////////////////////////////////////////////////////////
-
-_AFXCMN_INLINE CComboBoxEx::CComboBoxEx()
-	{ }
-_AFXCMN_INLINE DWORD CComboBoxEx::GetExtendedStyle() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, CBEM_GETEXTENDEDSTYLE, 0, 0); }
-_AFXCMN_INLINE DWORD CComboBoxEx::SetExtendedStyle(DWORD dwExMask, DWORD dwExStyles)
-	{ ASSERT(::IsWindow(m_hWnd)); return (DWORD) ::SendMessage(m_hWnd, CBEM_SETEXTENDEDSTYLE, (DWORD) dwExMask, (LPARAM) dwExStyles); }
-_AFXCMN_INLINE BOOL CComboBoxEx::HasEditChanged()
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, CBEM_HASEDITCHANGED, 0, 0); }
-_AFXCMN_INLINE CEdit* CComboBoxEx::GetEditCtrl()
-	{ ASSERT(::IsWindow(m_hWnd)); return (CEdit*) CEdit::FromHandle((HWND) ::SendMessage(m_hWnd, CBEM_GETEDITCONTROL, 0, 0)); }
-_AFXCMN_INLINE CComboBox* CComboBoxEx::GetComboBoxCtrl()
-	{ ASSERT(::IsWindow(m_hWnd)); return (CComboBox*) CComboBox::FromHandle((HWND) ::SendMessage(m_hWnd, CBEM_GETCOMBOCONTROL, 0, 0)); }
-_AFXCMN_INLINE CImageList* CComboBoxEx::SetImageList(CImageList* pImageList)
-	{ ASSERT(::IsWindow(m_hWnd)); return CImageList::FromHandle((HIMAGELIST) ::SendMessage(m_hWnd, CBEM_SETIMAGELIST, 0, (LPARAM)pImageList->GetSafeHandle())); }
-_AFXCMN_INLINE CImageList* CComboBoxEx::GetImageList() const
-	{ ASSERT(::IsWindow(m_hWnd)); return CImageList::FromHandle((HIMAGELIST) ::SendMessage(m_hWnd, CBEM_GETIMAGELIST, 0, 0)); }
-
-// While CComboBoxEx derives from CComboBox, there are some
-// CB_messages the underlying ComboBoxEx control doesn't support.
-
-_AFXCMN_INLINE int CComboBoxEx::Dir(UINT attr, LPCTSTR lpszWildCard)
-	{ UNUSED_ALWAYS(attr); UNUSED_ALWAYS(lpszWildCard);
-		ASSERT(FALSE); return CB_ERR; }
-_AFXCMN_INLINE int CComboBoxEx::FindString(int nIndexStart, LPCTSTR lpszFind) const
-	{ UNUSED_ALWAYS(nIndexStart); UNUSED_ALWAYS(lpszFind);
-		ASSERT(FALSE); return CB_ERR; }
-_AFXCMN_INLINE int CComboBoxEx::AddString(LPCTSTR lpszString)
-	{ UNUSED_ALWAYS(lpszString); ASSERT(FALSE); return CB_ERR;}
-_AFXCMN_INLINE BOOL CComboBoxEx::SetEditSel(int nStartChar, int nEndChar)
-	{ UNUSED_ALWAYS(nStartChar); UNUSED_ALWAYS(nEndChar);
-		ASSERT(FALSE); return FALSE; }
-_AFXCMN_INLINE int CComboBoxEx::InsertString(int nIndex, LPCTSTR lpszString)
-	{ UNUSED_ALWAYS(nIndex); UNUSED_ALWAYS(lpszString);
-		ASSERT(FALSE); return CB_ERR; }
-
-/////////////////////////////////////////////////////////////////////////////
-
-_AFXCMN_INLINE int CProgressCtrl::SetPos(int nPos)
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, PBM_SETPOS, nPos, 0L); }
-
-/////////////////////////////////////////////////////////////////////////////
-
-_AFXCMN_INLINE CIPAddressCtrl::CIPAddressCtrl()
-	{ }
-_AFXCMN_INLINE void CIPAddressCtrl::ClearAddress()
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, IPM_CLEARADDRESS, 0, 0L); }
-_AFXCMN_INLINE BOOL CIPAddressCtrl::IsBlank() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, IPM_ISBLANK, 0, 0L); }
-_AFXCMN_INLINE int CIPAddressCtrl::GetAddress(DWORD& dwAddress)
-	{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, IPM_GETADDRESS, 0, (LPARAM) &dwAddress); }
-_AFXCMN_INLINE void CIPAddressCtrl::SetAddress(DWORD dwAddress)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, IPM_SETADDRESS, 0, (LPARAM) dwAddress); }
-_AFXCMN_INLINE void CIPAddressCtrl::SetAddress(BYTE nField0, BYTE nField1, BYTE nField2, BYTE nField3)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, IPM_SETADDRESS, 0, (LPARAM) MAKEIPADDRESS(nField0, nField1, nField2, nField3)); }
-_AFXCMN_INLINE void CIPAddressCtrl::SetFieldFocus(WORD nField)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, IPM_SETFOCUS, (WPARAM) nField, 0); }
-_AFXCMN_INLINE void CIPAddressCtrl::SetFieldRange(int nField, BYTE nLower, BYTE nUpper)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, IPM_SETRANGE, (WPARAM) nField, MAKEIPRANGE(nLower, nUpper)); }
-
-/////////////////////////////////////////////////////////////////////////////
-
-_AFXCMN_INLINE BOOL CImageList::SetImageCount(UINT uNewCount)
-	{ ASSERT(m_hImageList != NULL); return ImageList_SetImageCount(m_hImageList, uNewCount); }
-_AFXCMN_INLINE BOOL CImageList::Copy(int iDst, int iSrc, UINT uFlags /* = ILCF_MOVE */)
-	{ ASSERT(m_hImageList != NULL); return ImageList_Copy(m_hImageList, iDst, m_hImageList, iSrc, uFlags); }
-_AFXCMN_INLINE BOOL CImageList::Copy(int iDst, CImageList* pSrc, int iSrc, UINT uFlags /* = ILCF_MOVE */)
-	{ ASSERT(m_hImageList != NULL); ASSERT(pSrc != NULL && (HIMAGELIST)*pSrc != NULL); return ImageList_Copy(m_hImageList, iDst, *pSrc, iSrc, uFlags); }
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //_AFXCMN_INLINE
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 1496
libs/mfc/include/afxcoll.h

@@ -1,1496 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXCOLL_H__
-#define __AFXCOLL_H__
-
-#ifndef __AFX_H__
-	#include <afx.h>
-#endif
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, off)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, on)
-#endif
-
-#ifdef _AFX_PACKING
-#pragma pack(push, _AFX_PACKING)
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// Classes declared in this file
-
-//CObject
-	// Arrays
-	class CByteArray;           // array of BYTE
-	class CWordArray;           // array of WORD
-	class CDWordArray;          // array of DWORD
-	class CUIntArray;           // array of UINT
-	class CPtrArray;            // array of void*
-	class CObArray;             // array of CObject*
-
-	// Lists
-	class CPtrList;             // list of void*
-	class CObList;              // list of CObject*
-
-	// Maps (aka Dictionaries)
-	class CMapWordToOb;         // map from WORD to CObject*
-	class CMapWordToPtr;        // map from WORD to void*
-	class CMapPtrToWord;        // map from void* to WORD
-	class CMapPtrToPtr;         // map from void* to void*
-
-	// Special String variants
-	class CStringArray;         // array of CStrings
-	class CStringList;          // list of CStrings
-	class CMapStringToPtr;      // map from CString to void*
-	class CMapStringToOb;       // map from CString to CObject*
-	class CMapStringToString;   // map from CString to CString
-
-/////////////////////////////////////////////////////////////////////////////
-
-#undef AFX_DATA
-#define AFX_DATA AFX_CORE_DATA
-
-////////////////////////////////////////////////////////////////////////////
-
-class CByteArray : public CObject
-{
-
-	DECLARE_SERIAL(CByteArray)
-public:
-
-// Construction
-	CByteArray();
-
-// Attributes
-	int GetSize() const;
-	int GetUpperBound() const;
-	void SetSize(int nNewSize, int nGrowBy = -1);
-
-// Operations
-	// Clean up
-	void FreeExtra();
-	void RemoveAll();
-
-	// Accessing elements
-	BYTE GetAt(int nIndex) const;
-	void SetAt(int nIndex, BYTE newElement);
-
-	BYTE& ElementAt(int nIndex);
-
-	// Direct Access to the element data (may return NULL)
-	const BYTE* GetData() const;
-	BYTE* GetData();
-
-	// Potentially growing the array
-	void SetAtGrow(int nIndex, BYTE newElement);
-
-	int Add(BYTE newElement);
-
-	int Append(const CByteArray& src);
-	void Copy(const CByteArray& src);
-
-	// overloaded operator helpers
-	BYTE operator[](int nIndex) const;
-	BYTE& operator[](int nIndex);
-
-	// Operations that move elements around
-	void InsertAt(int nIndex, BYTE newElement, int nCount = 1);
-
-	void RemoveAt(int nIndex, int nCount = 1);
-	void InsertAt(int nStartIndex, CByteArray* pNewArray);
-
-// Implementation
-protected:
-	BYTE* m_pData;   // the actual array of data
-	int m_nSize;     // # of elements (upperBound - 1)
-	int m_nMaxSize;  // max allocated
-	int m_nGrowBy;   // grow amount
-
-
-public:
-	~CByteArray();
-
-	void Serialize(CArchive&);
-#ifdef MFC_DEBUG
-	void Dump(CDumpContext&) const;
-	void AssertValid() const;
-#endif
-
-protected:
-	// local typedefs for class templates
-	typedef BYTE BASE_TYPE;
-	typedef BYTE BASE_ARG_TYPE;
-};
-
-
-////////////////////////////////////////////////////////////////////////////
-
-class CWordArray : public CObject
-{
-
-	DECLARE_SERIAL(CWordArray)
-public:
-
-// Construction
-	CWordArray();
-
-// Attributes
-	int GetSize() const;
-	int GetUpperBound() const;
-	void SetSize(int nNewSize, int nGrowBy = -1);
-
-// Operations
-	// Clean up
-	void FreeExtra();
-	void RemoveAll();
-
-	// Accessing elements
-	WORD GetAt(int nIndex) const;
-	void SetAt(int nIndex, WORD newElement);
-
-	WORD& ElementAt(int nIndex);
-
-	// Direct Access to the element data (may return NULL)
-	const WORD* GetData() const;
-	WORD* GetData();
-
-	// Potentially growing the array
-	void SetAtGrow(int nIndex, WORD newElement);
-
-	int Add(WORD newElement);
-
-	int Append(const CWordArray& src);
-	void Copy(const CWordArray& src);
-
-	// overloaded operator helpers
-	WORD operator[](int nIndex) const;
-	WORD& operator[](int nIndex);
-
-	// Operations that move elements around
-	void InsertAt(int nIndex, WORD newElement, int nCount = 1);
-
-	void RemoveAt(int nIndex, int nCount = 1);
-	void InsertAt(int nStartIndex, CWordArray* pNewArray);
-
-// Implementation
-protected:
-	WORD* m_pData;   // the actual array of data
-	int m_nSize;     // # of elements (upperBound - 1)
-	int m_nMaxSize;  // max allocated
-	int m_nGrowBy;   // grow amount
-
-
-public:
-	~CWordArray();
-
-	void Serialize(CArchive&);
-#ifdef MFC_DEBUG
-	void Dump(CDumpContext&) const;
-	void AssertValid() const;
-#endif
-
-protected:
-	// local typedefs for class templates
-	typedef WORD BASE_TYPE;
-	typedef WORD BASE_ARG_TYPE;
-};
-
-
-////////////////////////////////////////////////////////////////////////////
-
-class CDWordArray : public CObject
-{
-
-	DECLARE_SERIAL(CDWordArray)
-public:
-
-// Construction
-	CDWordArray();
-
-// Attributes
-	int GetSize() const;
-	int GetUpperBound() const;
-	void SetSize(int nNewSize, int nGrowBy = -1);
-
-// Operations
-	// Clean up
-	void FreeExtra();
-	void RemoveAll();
-
-	// Accessing elements
-	DWORD GetAt(int nIndex) const;
-	void SetAt(int nIndex, DWORD newElement);
-
-	DWORD& ElementAt(int nIndex);
-
-	// Direct Access to the element data (may return NULL)
-	const DWORD* GetData() const;
-	DWORD* GetData();
-
-	// Potentially growing the array
-	void SetAtGrow(int nIndex, DWORD newElement);
-
-	int Add(DWORD newElement);
-
-	int Append(const CDWordArray& src);
-	void Copy(const CDWordArray& src);
-
-	// overloaded operator helpers
-	DWORD operator[](int nIndex) const;
-	DWORD& operator[](int nIndex);
-
-	// Operations that move elements around
-	void InsertAt(int nIndex, DWORD newElement, int nCount = 1);
-
-	void RemoveAt(int nIndex, int nCount = 1);
-	void InsertAt(int nStartIndex, CDWordArray* pNewArray);
-
-// Implementation
-protected:
-	DWORD* m_pData;   // the actual array of data
-	int m_nSize;     // # of elements (upperBound - 1)
-	int m_nMaxSize;  // max allocated
-	int m_nGrowBy;   // grow amount
-
-
-public:
-	~CDWordArray();
-
-	void Serialize(CArchive&);
-#ifdef MFC_DEBUG
-	void Dump(CDumpContext&) const;
-	void AssertValid() const;
-#endif
-
-protected:
-	// local typedefs for class templates
-	typedef DWORD BASE_TYPE;
-	typedef DWORD BASE_ARG_TYPE;
-};
-
-
-////////////////////////////////////////////////////////////////////////////
-
-class CUIntArray : public CObject
-{
-
-	DECLARE_DYNAMIC(CUIntArray)
-public:
-
-// Construction
-	CUIntArray();
-
-// Attributes
-	int GetSize() const;
-	int GetUpperBound() const;
-	void SetSize(int nNewSize, int nGrowBy = -1);
-
-// Operations
-	// Clean up
-	void FreeExtra();
-	void RemoveAll();
-
-	// Accessing elements
-	UINT GetAt(int nIndex) const;
-	void SetAt(int nIndex, UINT newElement);
-
-	UINT& ElementAt(int nIndex);
-
-	// Direct Access to the element data (may return NULL)
-	const UINT* GetData() const;
-	UINT* GetData();
-
-	// Potentially growing the array
-	void SetAtGrow(int nIndex, UINT newElement);
-
-	int Add(UINT newElement);
-
-	int Append(const CUIntArray& src);
-	void Copy(const CUIntArray& src);
-
-	// overloaded operator helpers
-	UINT operator[](int nIndex) const;
-	UINT& operator[](int nIndex);
-
-	// Operations that move elements around
-	void InsertAt(int nIndex, UINT newElement, int nCount = 1);
-
-	void RemoveAt(int nIndex, int nCount = 1);
-	void InsertAt(int nStartIndex, CUIntArray* pNewArray);
-
-// Implementation
-protected:
-	UINT* m_pData;   // the actual array of data
-	int m_nSize;     // # of elements (upperBound - 1)
-	int m_nMaxSize;  // max allocated
-	int m_nGrowBy;   // grow amount
-
-
-public:
-	~CUIntArray();
-#ifdef MFC_DEBUG
-	void Dump(CDumpContext&) const;
-	void AssertValid() const;
-#endif
-
-protected:
-	// local typedefs for class templates
-	typedef UINT BASE_TYPE;
-	typedef UINT BASE_ARG_TYPE;
-};
-
-
-////////////////////////////////////////////////////////////////////////////
-
-class CPtrArray : public CObject
-{
-
-	DECLARE_DYNAMIC(CPtrArray)
-public:
-
-// Construction
-	CPtrArray();
-
-// Attributes
-	int GetSize() const;
-	int GetUpperBound() const;
-	void SetSize(int nNewSize, int nGrowBy = -1);
-
-// Operations
-	// Clean up
-	void FreeExtra();
-	void RemoveAll();
-
-	// Accessing elements
-	void* GetAt(int nIndex) const;
-	void SetAt(int nIndex, void* newElement);
-
-	void*& ElementAt(int nIndex);
-
-	// Direct Access to the element data (may return NULL)
-	const void** GetData() const;
-	void** GetData();
-
-	// Potentially growing the array
-	void SetAtGrow(int nIndex, void* newElement);
-
-	int Add(void* newElement);
-
-	int Append(const CPtrArray& src);
-	void Copy(const CPtrArray& src);
-
-	// overloaded operator helpers
-	void* operator[](int nIndex) const;
-	void*& operator[](int nIndex);
-
-	// Operations that move elements around
-	void InsertAt(int nIndex, void* newElement, int nCount = 1);
-
-	void RemoveAt(int nIndex, int nCount = 1);
-	void InsertAt(int nStartIndex, CPtrArray* pNewArray);
-
-// Implementation
-protected:
-	void** m_pData;   // the actual array of data
-	int m_nSize;     // # of elements (upperBound - 1)
-	int m_nMaxSize;  // max allocated
-	int m_nGrowBy;   // grow amount
-
-
-public:
-	~CPtrArray();
-#ifdef MFC_DEBUG
-	void Dump(CDumpContext&) const;
-	void AssertValid() const;
-#endif
-
-protected:
-	// local typedefs for class templates
-	typedef void* BASE_TYPE;
-	typedef void* BASE_ARG_TYPE;
-};
-
-
-////////////////////////////////////////////////////////////////////////////
-
-class CObArray : public CObject
-{
-
-	DECLARE_SERIAL(CObArray)
-public:
-
-// Construction
-	CObArray();
-
-// Attributes
-	int GetSize() const;
-	int GetUpperBound() const;
-	void SetSize(int nNewSize, int nGrowBy = -1);
-
-// Operations
-	// Clean up
-	void FreeExtra();
-	void RemoveAll();
-
-	// Accessing elements
-	CObject* GetAt(int nIndex) const;
-	void SetAt(int nIndex, CObject* newElement);
-
-	CObject*& ElementAt(int nIndex);
-
-	// Direct Access to the element data (may return NULL)
-	const CObject** GetData() const;
-	CObject** GetData();
-
-	// Potentially growing the array
-	void SetAtGrow(int nIndex, CObject* newElement);
-
-	int Add(CObject* newElement);
-
-	int Append(const CObArray& src);
-	void Copy(const CObArray& src);
-
-	// overloaded operator helpers
-	CObject* operator[](int nIndex) const;
-	CObject*& operator[](int nIndex);
-
-	// Operations that move elements around
-	void InsertAt(int nIndex, CObject* newElement, int nCount = 1);
-
-	void RemoveAt(int nIndex, int nCount = 1);
-	void InsertAt(int nStartIndex, CObArray* pNewArray);
-
-// Implementation
-protected:
-	CObject** m_pData;   // the actual array of data
-	int m_nSize;     // # of elements (upperBound - 1)
-	int m_nMaxSize;  // max allocated
-	int m_nGrowBy;   // grow amount
-
-
-public:
-	~CObArray();
-
-	void Serialize(CArchive&);
-#ifdef MFC_DEBUG
-	void Dump(CDumpContext&) const;
-	void AssertValid() const;
-#endif
-
-protected:
-	// local typedefs for class templates
-	typedef CObject* BASE_TYPE;
-	typedef CObject* BASE_ARG_TYPE;
-};
-
-
-////////////////////////////////////////////////////////////////////////////
-
-class CStringArray : public CObject
-{
-
-	DECLARE_SERIAL(CStringArray)
-public:
-
-// Construction
-	CStringArray();
-
-// Attributes
-	int GetSize() const;
-	int GetUpperBound() const;
-	void SetSize(int nNewSize, int nGrowBy = -1);
-
-// Operations
-	// Clean up
-	void FreeExtra();
-	void RemoveAll();
-
-	// Accessing elements
-	CString GetAt(int nIndex) const;
-	void SetAt(int nIndex, LPCTSTR newElement);
-
-	void SetAt(int nIndex, const CString& newElement);
-
-	CString& ElementAt(int nIndex);
-
-	// Direct Access to the element data (may return NULL)
-	const CString* GetData() const;
-	CString* GetData();
-
-	// Potentially growing the array
-	void SetAtGrow(int nIndex, LPCTSTR newElement);
-
-	void SetAtGrow(int nIndex, const CString& newElement);
-
-	int Add(LPCTSTR newElement);
-
-	int Add(const CString& newElement);
-
-	int Append(const CStringArray& src);
-	void Copy(const CStringArray& src);
-
-	// overloaded operator helpers
-	CString operator[](int nIndex) const;
-	CString& operator[](int nIndex);
-
-	// Operations that move elements around
-	void InsertAt(int nIndex, LPCTSTR newElement, int nCount = 1);
-
-	void InsertAt(int nIndex, const CString& newElement, int nCount = 1);
-
-	void RemoveAt(int nIndex, int nCount = 1);
-	void InsertAt(int nStartIndex, CStringArray* pNewArray);
-
-// Implementation
-protected:
-	CString* m_pData;   // the actual array of data
-	int m_nSize;     // # of elements (upperBound - 1)
-	int m_nMaxSize;  // max allocated
-	int m_nGrowBy;   // grow amount
-
-	void InsertEmpty(int nIndex, int nCount);
-
-
-public:
-	~CStringArray();
-
-	void Serialize(CArchive&);
-#ifdef MFC_DEBUG
-	void Dump(CDumpContext&) const;
-	void AssertValid() const;
-#endif
-
-protected:
-	// local typedefs for class templates
-	typedef CString BASE_TYPE;
-	typedef LPCTSTR BASE_ARG_TYPE;
-};
-
-
-/////////////////////////////////////////////////////////////////////////////
-
-class CPtrList : public CObject
-{
-
-	DECLARE_DYNAMIC(CPtrList)
-
-protected:
-	struct CNode
-	{
-		CNode* pNext;
-		CNode* pPrev;
-		void* data;
-	};
-public:
-
-// Construction
-	CPtrList(int nBlockSize = 10);
-
-// Attributes (head and tail)
-	// count of elements
-	int GetCount() const;
-	BOOL IsEmpty() const;
-
-	// peek at head or tail
-	void*& GetHead();
-	void* GetHead() const;
-	void*& GetTail();
-	void* GetTail() const;
-
-// Operations
-	// get head or tail (and remove it) - don't call on empty list!
-	void* RemoveHead();
-	void* RemoveTail();
-
-	// add before head or after tail
-	POSITION AddHead(void* newElement);
-	POSITION AddTail(void* newElement);
-
-
-	// add another list of elements before head or after tail
-	void AddHead(CPtrList* pNewList);
-	void AddTail(CPtrList* pNewList);
-
-	// remove all elements
-	void RemoveAll();
-
-	// iteration
-	POSITION GetHeadPosition() const;
-	POSITION GetTailPosition() const;
-	void*& GetNext(POSITION& rPosition); // return *Position++
-	void* GetNext(POSITION& rPosition) const; // return *Position++
-	void*& GetPrev(POSITION& rPosition); // return *Position--
-	void* GetPrev(POSITION& rPosition) const; // return *Position--
-
-	// getting/modifying an element at a given position
-	void*& GetAt(POSITION position);
-	void* GetAt(POSITION position) const;
-	void SetAt(POSITION pos, void* newElement);
-
-	void RemoveAt(POSITION position);
-
-	// inserting before or after a given position
-	POSITION InsertBefore(POSITION position, void* newElement);
-	POSITION InsertAfter(POSITION position, void* newElement);
-
-
-	// helper functions (note: O(n) speed)
-	POSITION Find(void* searchValue, POSITION startAfter = NULL) const;
-						// defaults to starting at the HEAD
-						// return NULL if not found
-	POSITION FindIndex(int nIndex) const;
-						// get the 'nIndex'th element (may return NULL)
-
-// Implementation
-protected:
-	CNode* m_pNodeHead;
-	CNode* m_pNodeTail;
-	int m_nCount;
-	CNode* m_pNodeFree;
-	struct CPlex* m_pBlocks;
-	int m_nBlockSize;
-
-	CNode* NewNode(CNode*, CNode*);
-	void FreeNode(CNode*);
-
-public:
-	~CPtrList();
-#ifdef MFC_DEBUG
-	void Dump(CDumpContext&) const;
-	void AssertValid() const;
-#endif
-	// local typedefs for class templates
-	typedef void* BASE_TYPE;
-	typedef void* BASE_ARG_TYPE;
-};
-
-
-/////////////////////////////////////////////////////////////////////////////
-
-class CObList : public CObject
-{
-
-	DECLARE_SERIAL(CObList)
-
-protected:
-	struct CNode
-	{
-		CNode* pNext;
-		CNode* pPrev;
-		CObject* data;
-	};
-public:
-
-// Construction
-	CObList(int nBlockSize = 10);
-
-// Attributes (head and tail)
-	// count of elements
-	int GetCount() const;
-	BOOL IsEmpty() const;
-
-	// peek at head or tail
-	CObject*& GetHead();
-	CObject* GetHead() const;
-	CObject*& GetTail();
-	CObject* GetTail() const;
-
-// Operations
-	// get head or tail (and remove it) - don't call on empty list!
-	CObject* RemoveHead();
-	CObject* RemoveTail();
-
-	// add before head or after tail
-	POSITION AddHead(CObject* newElement);
-	POSITION AddTail(CObject* newElement);
-
-
-	// add another list of elements before head or after tail
-	void AddHead(CObList* pNewList);
-	void AddTail(CObList* pNewList);
-
-	// remove all elements
-	void RemoveAll();
-
-	// iteration
-	POSITION GetHeadPosition() const;
-	POSITION GetTailPosition() const;
-	CObject*& GetNext(POSITION& rPosition); // return *Position++
-	CObject* GetNext(POSITION& rPosition) const; // return *Position++
-	CObject*& GetPrev(POSITION& rPosition); // return *Position--
-	CObject* GetPrev(POSITION& rPosition) const; // return *Position--
-
-	// getting/modifying an element at a given position
-	CObject*& GetAt(POSITION position);
-	CObject* GetAt(POSITION position) const;
-	void SetAt(POSITION pos, CObject* newElement);
-
-	void RemoveAt(POSITION position);
-
-	// inserting before or after a given position
-	POSITION InsertBefore(POSITION position, CObject* newElement);
-	POSITION InsertAfter(POSITION position, CObject* newElement);
-
-
-	// helper functions (note: O(n) speed)
-	POSITION Find(CObject* searchValue, POSITION startAfter = NULL) const;
-						// defaults to starting at the HEAD
-						// return NULL if not found
-	POSITION FindIndex(int nIndex) const;
-						// get the 'nIndex'th element (may return NULL)
-
-// Implementation
-protected:
-	CNode* m_pNodeHead;
-	CNode* m_pNodeTail;
-	int m_nCount;
-	CNode* m_pNodeFree;
-	struct CPlex* m_pBlocks;
-	int m_nBlockSize;
-
-	CNode* NewNode(CNode*, CNode*);
-	void FreeNode(CNode*);
-
-public:
-	~CObList();
-
-	void Serialize(CArchive&);
-#ifdef MFC_DEBUG
-	void Dump(CDumpContext&) const;
-	void AssertValid() const;
-#endif
-	// local typedefs for class templates
-	typedef CObject* BASE_TYPE;
-	typedef CObject* BASE_ARG_TYPE;
-};
-
-
-/////////////////////////////////////////////////////////////////////////////
-
-class CStringList : public CObject
-{
-
-	DECLARE_SERIAL(CStringList)
-
-protected:
-	struct CNode
-	{
-		CNode* pNext;
-		CNode* pPrev;
-		CString data;
-	};
-public:
-
-// Construction
-	CStringList(int nBlockSize = 10);
-
-// Attributes (head and tail)
-	// count of elements
-	int GetCount() const;
-	BOOL IsEmpty() const;
-
-	// peek at head or tail
-	CString& GetHead();
-	CString GetHead() const;
-	CString& GetTail();
-	CString GetTail() const;
-
-// Operations
-	// get head or tail (and remove it) - don't call on empty list!
-	CString RemoveHead();
-	CString RemoveTail();
-
-	// add before head or after tail
-	POSITION AddHead(LPCTSTR newElement);
-	POSITION AddTail(LPCTSTR newElement);
-
-	POSITION AddHead(const CString& newElement);
-	POSITION AddTail(const CString& newElement);
-
-
-	// add another list of elements before head or after tail
-	void AddHead(CStringList* pNewList);
-	void AddTail(CStringList* pNewList);
-
-	// remove all elements
-	void RemoveAll();
-
-	// iteration
-	POSITION GetHeadPosition() const;
-	POSITION GetTailPosition() const;
-	CString& GetNext(POSITION& rPosition); // return *Position++
-	CString GetNext(POSITION& rPosition) const; // return *Position++
-	CString& GetPrev(POSITION& rPosition); // return *Position--
-	CString GetPrev(POSITION& rPosition) const; // return *Position--
-
-	// getting/modifying an element at a given position
-	CString& GetAt(POSITION position);
-	CString GetAt(POSITION position) const;
-	void SetAt(POSITION pos, LPCTSTR newElement);
-
-	void SetAt(POSITION pos, const CString& newElement);
-
-	void RemoveAt(POSITION position);
-
-	// inserting before or after a given position
-	POSITION InsertBefore(POSITION position, LPCTSTR newElement);
-	POSITION InsertAfter(POSITION position, LPCTSTR newElement);
-
-	POSITION InsertBefore(POSITION position, const CString& newElement);
-	POSITION InsertAfter(POSITION position, const CString& newElement);
-
-
-	// helper functions (note: O(n) speed)
-	POSITION Find(LPCTSTR searchValue, POSITION startAfter = NULL) const;
-						// defaults to starting at the HEAD
-						// return NULL if not found
-	POSITION FindIndex(int nIndex) const;
-						// get the 'nIndex'th element (may return NULL)
-
-// Implementation
-protected:
-	CNode* m_pNodeHead;
-	CNode* m_pNodeTail;
-	int m_nCount;
-	CNode* m_pNodeFree;
-	struct CPlex* m_pBlocks;
-	int m_nBlockSize;
-
-	CNode* NewNode(CNode*, CNode*);
-	void FreeNode(CNode*);
-
-public:
-	~CStringList();
-
-	void Serialize(CArchive&);
-#ifdef MFC_DEBUG
-	void Dump(CDumpContext&) const;
-	void AssertValid() const;
-#endif
-	// local typedefs for class templates
-	typedef CString BASE_TYPE;
-	typedef LPCTSTR BASE_ARG_TYPE;
-};
-
-
-/////////////////////////////////////////////////////////////////////////////
-
-class CMapWordToPtr : public CObject
-{
-
-	DECLARE_DYNAMIC(CMapWordToPtr)
-protected:
-	// Association
-	struct CAssoc
-	{
-		CAssoc* pNext;
-
-		WORD key;
-		void* value;
-	};
-
-public:
-
-// Construction
-	CMapWordToPtr(int nBlockSize = 10);
-
-// Attributes
-	// number of elements
-	int GetCount() const;
-	BOOL IsEmpty() const;
-
-	// Lookup
-	BOOL Lookup(WORD key, void*& rValue) const;
-
-// Operations
-	// Lookup and add if not there
-	void*& operator[](WORD key);
-
-	// add a new (key, value) pair
-	void SetAt(WORD key, void* newValue);
-
-	// removing existing (key, ?) pair
-	BOOL RemoveKey(WORD key);
-	void RemoveAll();
-
-	// iterating all (key, value) pairs
-	POSITION GetStartPosition() const;
-	void GetNextAssoc(POSITION& rNextPosition, WORD& rKey, void*& rValue) const;
-
-	// advanced features for derived classes
-	UINT GetHashTableSize() const;
-	void InitHashTable(UINT hashSize, BOOL bAllocNow = TRUE);
-
-// Overridables: special non-virtual (see map implementation for details)
-	// Routine used to user-provided hash keys
-	UINT HashKey(WORD key) const;
-
-// Implementation
-protected:
-	CAssoc** m_pHashTable;
-	UINT m_nHashTableSize;
-	int m_nCount;
-	CAssoc* m_pFreeList;
-	struct CPlex* m_pBlocks;
-	int m_nBlockSize;
-
-	CAssoc* NewAssoc();
-	void FreeAssoc(CAssoc*);
-	CAssoc* GetAssocAt(WORD, UINT&) const;
-
-public:
-	~CMapWordToPtr();
-#ifdef MFC_DEBUG
-	void Dump(CDumpContext&) const;
-	void AssertValid() const;
-#endif
-
-
-protected:
-	// local typedefs for CTypedPtrMap class template
-	typedef WORD BASE_KEY;
-	typedef WORD BASE_ARG_KEY;
-	typedef void* BASE_VALUE;
-	typedef void* BASE_ARG_VALUE;
-};
-
-
-/////////////////////////////////////////////////////////////////////////////
-
-class CMapPtrToWord : public CObject
-{
-
-	DECLARE_DYNAMIC(CMapPtrToWord)
-protected:
-	// Association
-	struct CAssoc
-	{
-		CAssoc* pNext;
-
-		void* key;
-		WORD value;
-	};
-
-public:
-
-// Construction
-	CMapPtrToWord(int nBlockSize = 10);
-
-// Attributes
-	// number of elements
-	int GetCount() const;
-	BOOL IsEmpty() const;
-
-	// Lookup
-	BOOL Lookup(void* key, WORD& rValue) const;
-
-// Operations
-	// Lookup and add if not there
-	WORD& operator[](void* key);
-
-	// add a new (key, value) pair
-	void SetAt(void* key, WORD newValue);
-
-	// removing existing (key, ?) pair
-	BOOL RemoveKey(void* key);
-	void RemoveAll();
-
-	// iterating all (key, value) pairs
-	POSITION GetStartPosition() const;
-	void GetNextAssoc(POSITION& rNextPosition, void*& rKey, WORD& rValue) const;
-
-	// advanced features for derived classes
-	UINT GetHashTableSize() const;
-	void InitHashTable(UINT hashSize, BOOL bAllocNow = TRUE);
-
-// Overridables: special non-virtual (see map implementation for details)
-	// Routine used to user-provided hash keys
-	UINT HashKey(void* key) const;
-
-// Implementation
-protected:
-	CAssoc** m_pHashTable;
-	UINT m_nHashTableSize;
-	int m_nCount;
-	CAssoc* m_pFreeList;
-	struct CPlex* m_pBlocks;
-	int m_nBlockSize;
-
-	CAssoc* NewAssoc();
-	void FreeAssoc(CAssoc*);
-	CAssoc* GetAssocAt(void*, UINT&) const;
-
-public:
-	~CMapPtrToWord();
-#ifdef MFC_DEBUG
-	void Dump(CDumpContext&) const;
-	void AssertValid() const;
-#endif
-
-
-protected:
-	// local typedefs for CTypedPtrMap class template
-	typedef void* BASE_KEY;
-	typedef void* BASE_ARG_KEY;
-	typedef WORD BASE_VALUE;
-	typedef WORD BASE_ARG_VALUE;
-};
-
-
-/////////////////////////////////////////////////////////////////////////////
-
-class CMapPtrToPtr : public CObject
-{
-
-	DECLARE_DYNAMIC(CMapPtrToPtr)
-protected:
-	// Association
-	struct CAssoc
-	{
-		CAssoc* pNext;
-
-		void* key;
-		void* value;
-	};
-
-public:
-
-// Construction
-	CMapPtrToPtr(int nBlockSize = 10);
-
-// Attributes
-	// number of elements
-	int GetCount() const;
-	BOOL IsEmpty() const;
-
-	// Lookup
-	BOOL Lookup(void* key, void*& rValue) const;
-
-// Operations
-	// Lookup and add if not there
-	void*& operator[](void* key);
-
-	// add a new (key, value) pair
-	void SetAt(void* key, void* newValue);
-
-	// removing existing (key, ?) pair
-	BOOL RemoveKey(void* key);
-	void RemoveAll();
-
-	// iterating all (key, value) pairs
-	POSITION GetStartPosition() const;
-	void GetNextAssoc(POSITION& rNextPosition, void*& rKey, void*& rValue) const;
-
-	// advanced features for derived classes
-	UINT GetHashTableSize() const;
-	void InitHashTable(UINT hashSize, BOOL bAllocNow = TRUE);
-
-// Overridables: special non-virtual (see map implementation for details)
-	// Routine used to user-provided hash keys
-	UINT HashKey(void* key) const;
-
-// Implementation
-protected:
-	CAssoc** m_pHashTable;
-	UINT m_nHashTableSize;
-	int m_nCount;
-	CAssoc* m_pFreeList;
-	struct CPlex* m_pBlocks;
-	int m_nBlockSize;
-
-	CAssoc* NewAssoc();
-	void FreeAssoc(CAssoc*);
-	CAssoc* GetAssocAt(void*, UINT&) const;
-
-public:
-	~CMapPtrToPtr();
-#ifdef MFC_DEBUG
-	void Dump(CDumpContext&) const;
-	void AssertValid() const;
-#endif
-
-	void* GetValueAt(void* key) const;
-
-
-protected:
-	// local typedefs for CTypedPtrMap class template
-	typedef void* BASE_KEY;
-	typedef void* BASE_ARG_KEY;
-	typedef void* BASE_VALUE;
-	typedef void* BASE_ARG_VALUE;
-};
-
-
-/////////////////////////////////////////////////////////////////////////////
-
-class CMapWordToOb : public CObject
-{
-
-	DECLARE_SERIAL(CMapWordToOb)
-protected:
-	// Association
-	struct CAssoc
-	{
-		CAssoc* pNext;
-
-		WORD key;
-		CObject* value;
-	};
-
-public:
-
-// Construction
-	CMapWordToOb(int nBlockSize = 10);
-
-// Attributes
-	// number of elements
-	int GetCount() const;
-	BOOL IsEmpty() const;
-
-	// Lookup
-	BOOL Lookup(WORD key, CObject*& rValue) const;
-
-// Operations
-	// Lookup and add if not there
-	CObject*& operator[](WORD key);
-
-	// add a new (key, value) pair
-	void SetAt(WORD key, CObject* newValue);
-
-	// removing existing (key, ?) pair
-	BOOL RemoveKey(WORD key);
-	void RemoveAll();
-
-	// iterating all (key, value) pairs
-	POSITION GetStartPosition() const;
-	void GetNextAssoc(POSITION& rNextPosition, WORD& rKey, CObject*& rValue) const;
-
-	// advanced features for derived classes
-	UINT GetHashTableSize() const;
-	void InitHashTable(UINT hashSize, BOOL bAllocNow = TRUE);
-
-// Overridables: special non-virtual (see map implementation for details)
-	// Routine used to user-provided hash keys
-	UINT HashKey(WORD key) const;
-
-// Implementation
-protected:
-	CAssoc** m_pHashTable;
-	UINT m_nHashTableSize;
-	int m_nCount;
-	CAssoc* m_pFreeList;
-	struct CPlex* m_pBlocks;
-	int m_nBlockSize;
-
-	CAssoc* NewAssoc();
-	void FreeAssoc(CAssoc*);
-	CAssoc* GetAssocAt(WORD, UINT&) const;
-
-public:
-	~CMapWordToOb();
-
-	void Serialize(CArchive&);
-#ifdef MFC_DEBUG
-	void Dump(CDumpContext&) const;
-	void AssertValid() const;
-#endif
-
-
-protected:
-	// local typedefs for CTypedPtrMap class template
-	typedef WORD BASE_KEY;
-	typedef WORD BASE_ARG_KEY;
-	typedef CObject* BASE_VALUE;
-	typedef CObject* BASE_ARG_VALUE;
-};
-
-
-/////////////////////////////////////////////////////////////////////////////
-
-class CMapStringToPtr : public CObject
-{
-
-	DECLARE_DYNAMIC(CMapStringToPtr)
-protected:
-	// Association
-	struct CAssoc
-	{
-		CAssoc* pNext;
-		UINT nHashValue;  // needed for efficient iteration
-		CString key;
-		void* value;
-	};
-
-public:
-
-// Construction
-	CMapStringToPtr(int nBlockSize = 10);
-
-// Attributes
-	// number of elements
-	int GetCount() const;
-	BOOL IsEmpty() const;
-
-	// Lookup
-	BOOL Lookup(LPCTSTR key, void*& rValue) const;
-	BOOL LookupKey(LPCTSTR key, LPCTSTR& rKey) const;
-
-// Operations
-	// Lookup and add if not there
-	void*& operator[](LPCTSTR key);
-
-	// add a new (key, value) pair
-	void SetAt(LPCTSTR key, void* newValue);
-
-	// removing existing (key, ?) pair
-	BOOL RemoveKey(LPCTSTR key);
-	void RemoveAll();
-
-	// iterating all (key, value) pairs
-	POSITION GetStartPosition() const;
-	void GetNextAssoc(POSITION& rNextPosition, CString& rKey, void*& rValue) const;
-
-	// advanced features for derived classes
-	UINT GetHashTableSize() const;
-	void InitHashTable(UINT hashSize, BOOL bAllocNow = TRUE);
-
-// Overridables: special non-virtual (see map implementation for details)
-	// Routine used to user-provided hash keys
-	UINT HashKey(LPCTSTR key) const;
-
-// Implementation
-protected:
-	CAssoc** m_pHashTable;
-	UINT m_nHashTableSize;
-	int m_nCount;
-	CAssoc* m_pFreeList;
-	struct CPlex* m_pBlocks;
-	int m_nBlockSize;
-
-	CAssoc* NewAssoc();
-	void FreeAssoc(CAssoc*);
-	CAssoc* GetAssocAt(LPCTSTR, UINT&) const;
-
-public:
-	~CMapStringToPtr();
-#ifdef MFC_DEBUG
-	void Dump(CDumpContext&) const;
-	void AssertValid() const;
-#endif
-
-protected:
-	// local typedefs for CTypedPtrMap class template
-	typedef CString BASE_KEY;
-	typedef LPCTSTR BASE_ARG_KEY;
-	typedef void* BASE_VALUE;
-	typedef void* BASE_ARG_VALUE;
-};
-
-
-/////////////////////////////////////////////////////////////////////////////
-
-class CMapStringToOb : public CObject
-{
-
-	DECLARE_SERIAL(CMapStringToOb)
-protected:
-	// Association
-	struct CAssoc
-	{
-		CAssoc* pNext;
-		UINT nHashValue;  // needed for efficient iteration
-		CString key;
-		CObject* value;
-	};
-
-public:
-
-// Construction
-	CMapStringToOb(int nBlockSize = 10);
-
-// Attributes
-	// number of elements
-	int GetCount() const;
-	BOOL IsEmpty() const;
-
-	// Lookup
-	BOOL Lookup(LPCTSTR key, CObject*& rValue) const;
-	BOOL LookupKey(LPCTSTR key, LPCTSTR& rKey) const;
-
-// Operations
-	// Lookup and add if not there
-	CObject*& operator[](LPCTSTR key);
-
-	// add a new (key, value) pair
-	void SetAt(LPCTSTR key, CObject* newValue);
-
-	// removing existing (key, ?) pair
-	BOOL RemoveKey(LPCTSTR key);
-	void RemoveAll();
-
-	// iterating all (key, value) pairs
-	POSITION GetStartPosition() const;
-	void GetNextAssoc(POSITION& rNextPosition, CString& rKey, CObject*& rValue) const;
-
-	// advanced features for derived classes
-	UINT GetHashTableSize() const;
-	void InitHashTable(UINT hashSize, BOOL bAllocNow = TRUE);
-
-// Overridables: special non-virtual (see map implementation for details)
-	// Routine used to user-provided hash keys
-	UINT HashKey(LPCTSTR key) const;
-
-// Implementation
-protected:
-	CAssoc** m_pHashTable;
-	UINT m_nHashTableSize;
-	int m_nCount;
-	CAssoc* m_pFreeList;
-	struct CPlex* m_pBlocks;
-	int m_nBlockSize;
-
-	CAssoc* NewAssoc();
-	void FreeAssoc(CAssoc*);
-	CAssoc* GetAssocAt(LPCTSTR, UINT&) const;
-
-public:
-	~CMapStringToOb();
-
-	void Serialize(CArchive&);
-#ifdef MFC_DEBUG
-	void Dump(CDumpContext&) const;
-	void AssertValid() const;
-#endif
-
-protected:
-	// local typedefs for CTypedPtrMap class template
-	typedef CString BASE_KEY;
-	typedef LPCTSTR BASE_ARG_KEY;
-	typedef CObject* BASE_VALUE;
-	typedef CObject* BASE_ARG_VALUE;
-};
-
-
-/////////////////////////////////////////////////////////////////////////////
-
-class CMapStringToString : public CObject
-{
-
-	DECLARE_SERIAL(CMapStringToString)
-protected:
-	// Association
-	struct CAssoc
-	{
-		CAssoc* pNext;
-		UINT nHashValue;  // needed for efficient iteration
-		CString key;
-		CString value;
-	};
-
-public:
-
-// Construction
-	CMapStringToString(int nBlockSize = 10);
-
-// Attributes
-	// number of elements
-	int GetCount() const;
-	BOOL IsEmpty() const;
-
-	// Lookup
-	BOOL Lookup(LPCTSTR key, CString& rValue) const;
-	BOOL LookupKey(LPCTSTR key, LPCTSTR& rKey) const;
-
-// Operations
-	// Lookup and add if not there
-	CString& operator[](LPCTSTR key);
-
-	// add a new (key, value) pair
-	void SetAt(LPCTSTR key, LPCTSTR newValue);
-
-	// removing existing (key, ?) pair
-	BOOL RemoveKey(LPCTSTR key);
-	void RemoveAll();
-
-	// iterating all (key, value) pairs
-	POSITION GetStartPosition() const;
-	void GetNextAssoc(POSITION& rNextPosition, CString& rKey, CString& rValue) const;
-
-	// advanced features for derived classes
-	UINT GetHashTableSize() const;
-	void InitHashTable(UINT hashSize, BOOL bAllocNow = TRUE);
-
-// Overridables: special non-virtual (see map implementation for details)
-	// Routine used to user-provided hash keys
-	UINT HashKey(LPCTSTR key) const;
-
-// Implementation
-protected:
-	CAssoc** m_pHashTable;
-	UINT m_nHashTableSize;
-	int m_nCount;
-	CAssoc* m_pFreeList;
-	struct CPlex* m_pBlocks;
-	int m_nBlockSize;
-
-	CAssoc* NewAssoc();
-	void FreeAssoc(CAssoc*);
-	CAssoc* GetAssocAt(LPCTSTR, UINT&) const;
-
-public:
-	~CMapStringToString();
-
-	void Serialize(CArchive&);
-#ifdef MFC_DEBUG
-	void Dump(CDumpContext&) const;
-	void AssertValid() const;
-#endif
-
-protected:
-	// local typedefs for CTypedPtrMap class template
-	typedef CString BASE_KEY;
-	typedef LPCTSTR BASE_ARG_KEY;
-	typedef CString BASE_VALUE;
-	typedef LPCTSTR BASE_ARG_VALUE;
-};
-
-
-#ifdef _AFX_PACKING
-#pragma pack(pop)
-#endif
-
-#ifndef __AFXSTATE_H__
-	#include <afxstat_.h>   // for MFC private state structures
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// Inline function declarations
-
-#ifdef _AFX_ENABLE_INLINES
-#define _AFXCOLL_INLINE AFX_INLINE
-#include <afxcoll.inl>
-#endif
-
-#undef AFX_DATA
-#define AFX_DATA
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, on)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, off)
-#endif
-
-#endif //!__AFXCOLL_H__
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 527
libs/mfc/include/afxcoll.inl

@@ -1,527 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-// Inlines for AFXCOLL.H
-
-#ifdef _AFXCOLL_INLINE
-
-////////////////////////////////////////////////////////////////////////////
-
-_AFXCOLL_INLINE int CByteArray::GetSize() const
-	{ return m_nSize; }
-_AFXCOLL_INLINE int CByteArray::GetUpperBound() const
-	{ return m_nSize-1; }
-_AFXCOLL_INLINE void CByteArray::RemoveAll()
-	{ SetSize(0); }
-_AFXCOLL_INLINE BYTE CByteArray::GetAt(int nIndex) const
-	{ ASSERT(nIndex >= 0 && nIndex < m_nSize);
-		return m_pData[nIndex]; }
-_AFXCOLL_INLINE void CByteArray::SetAt(int nIndex, BYTE newElement)
-	{ ASSERT(nIndex >= 0 && nIndex < m_nSize);
-		m_pData[nIndex] = newElement; }
-
-_AFXCOLL_INLINE BYTE& CByteArray::ElementAt(int nIndex)
-	{ ASSERT(nIndex >= 0 && nIndex < m_nSize);
-		return m_pData[nIndex]; }
-_AFXCOLL_INLINE const BYTE* CByteArray::GetData() const
-	{ return (const BYTE*)m_pData; }
-_AFXCOLL_INLINE BYTE* CByteArray::GetData()
-	{ return (BYTE*)m_pData; }
-_AFXCOLL_INLINE int CByteArray::Add(BYTE newElement)
-	{ int nIndex = m_nSize;
-		SetAtGrow(nIndex, newElement);
-		return nIndex; }
-
-_AFXCOLL_INLINE BYTE CByteArray::operator[](int nIndex) const
-	{ return GetAt(nIndex); }
-_AFXCOLL_INLINE BYTE& CByteArray::operator[](int nIndex)
-	{ return ElementAt(nIndex); }
-
-
-////////////////////////////////////////////////////////////////////////////
-
-_AFXCOLL_INLINE int CWordArray::GetSize() const
-	{ return m_nSize; }
-_AFXCOLL_INLINE int CWordArray::GetUpperBound() const
-	{ return m_nSize-1; }
-_AFXCOLL_INLINE void CWordArray::RemoveAll()
-	{ SetSize(0); }
-_AFXCOLL_INLINE WORD CWordArray::GetAt(int nIndex) const
-	{ ASSERT(nIndex >= 0 && nIndex < m_nSize);
-		return m_pData[nIndex]; }
-_AFXCOLL_INLINE void CWordArray::SetAt(int nIndex, WORD newElement)
-	{ ASSERT(nIndex >= 0 && nIndex < m_nSize);
-		m_pData[nIndex] = newElement; }
-
-_AFXCOLL_INLINE WORD& CWordArray::ElementAt(int nIndex)
-	{ ASSERT(nIndex >= 0 && nIndex < m_nSize);
-		return m_pData[nIndex]; }
-_AFXCOLL_INLINE const WORD* CWordArray::GetData() const
-	{ return (const WORD*)m_pData; }
-_AFXCOLL_INLINE WORD* CWordArray::GetData()
-	{ return (WORD*)m_pData; }
-_AFXCOLL_INLINE int CWordArray::Add(WORD newElement)
-	{ int nIndex = m_nSize;
-		SetAtGrow(nIndex, newElement);
-		return nIndex; }
-
-_AFXCOLL_INLINE WORD CWordArray::operator[](int nIndex) const
-	{ return GetAt(nIndex); }
-_AFXCOLL_INLINE WORD& CWordArray::operator[](int nIndex)
-	{ return ElementAt(nIndex); }
-
-
-////////////////////////////////////////////////////////////////////////////
-
-_AFXCOLL_INLINE int CDWordArray::GetSize() const
-	{ return m_nSize; }
-_AFXCOLL_INLINE int CDWordArray::GetUpperBound() const
-	{ return m_nSize-1; }
-_AFXCOLL_INLINE void CDWordArray::RemoveAll()
-	{ SetSize(0); }
-_AFXCOLL_INLINE DWORD CDWordArray::GetAt(int nIndex) const
-	{ ASSERT(nIndex >= 0 && nIndex < m_nSize);
-		return m_pData[nIndex]; }
-_AFXCOLL_INLINE void CDWordArray::SetAt(int nIndex, DWORD newElement)
-	{ ASSERT(nIndex >= 0 && nIndex < m_nSize);
-		m_pData[nIndex] = newElement; }
-
-_AFXCOLL_INLINE DWORD& CDWordArray::ElementAt(int nIndex)
-	{ ASSERT(nIndex >= 0 && nIndex < m_nSize);
-		return m_pData[nIndex]; }
-_AFXCOLL_INLINE const DWORD* CDWordArray::GetData() const
-	{ return (const DWORD*)m_pData; }
-_AFXCOLL_INLINE DWORD* CDWordArray::GetData()
-	{ return (DWORD*)m_pData; }
-_AFXCOLL_INLINE int CDWordArray::Add(DWORD newElement)
-	{ int nIndex = m_nSize;
-		SetAtGrow(nIndex, newElement);
-		return nIndex; }
-
-_AFXCOLL_INLINE DWORD CDWordArray::operator[](int nIndex) const
-	{ return GetAt(nIndex); }
-_AFXCOLL_INLINE DWORD& CDWordArray::operator[](int nIndex)
-	{ return ElementAt(nIndex); }
-
-
-////////////////////////////////////////////////////////////////////////////
-
-_AFXCOLL_INLINE int CUIntArray::GetSize() const
-	{ return m_nSize; }
-_AFXCOLL_INLINE int CUIntArray::GetUpperBound() const
-	{ return m_nSize-1; }
-_AFXCOLL_INLINE void CUIntArray::RemoveAll()
-	{ SetSize(0); }
-_AFXCOLL_INLINE UINT CUIntArray::GetAt(int nIndex) const
-	{ ASSERT(nIndex >= 0 && nIndex < m_nSize);
-		return m_pData[nIndex]; }
-_AFXCOLL_INLINE void CUIntArray::SetAt(int nIndex, UINT newElement)
-	{ ASSERT(nIndex >= 0 && nIndex < m_nSize);
-		m_pData[nIndex] = newElement; }
-
-_AFXCOLL_INLINE UINT& CUIntArray::ElementAt(int nIndex)
-	{ ASSERT(nIndex >= 0 && nIndex < m_nSize);
-		return m_pData[nIndex]; }
-_AFXCOLL_INLINE const UINT* CUIntArray::GetData() const
-	{ return (const UINT*)m_pData; }
-_AFXCOLL_INLINE UINT* CUIntArray::GetData()
-	{ return (UINT*)m_pData; }
-_AFXCOLL_INLINE int CUIntArray::Add(UINT newElement)
-	{ int nIndex = m_nSize;
-		SetAtGrow(nIndex, newElement);
-		return nIndex; }
-
-_AFXCOLL_INLINE UINT CUIntArray::operator[](int nIndex) const
-	{ return GetAt(nIndex); }
-_AFXCOLL_INLINE UINT& CUIntArray::operator[](int nIndex)
-	{ return ElementAt(nIndex); }
-
-
-////////////////////////////////////////////////////////////////////////////
-
-_AFXCOLL_INLINE int CPtrArray::GetSize() const
-	{ return m_nSize; }
-_AFXCOLL_INLINE int CPtrArray::GetUpperBound() const
-	{ return m_nSize-1; }
-_AFXCOLL_INLINE void CPtrArray::RemoveAll()
-	{ SetSize(0); }
-_AFXCOLL_INLINE void* CPtrArray::GetAt(int nIndex) const
-	{ ASSERT(nIndex >= 0 && nIndex < m_nSize);
-		return m_pData[nIndex]; }
-_AFXCOLL_INLINE void CPtrArray::SetAt(int nIndex, void* newElement)
-	{ ASSERT(nIndex >= 0 && nIndex < m_nSize);
-		m_pData[nIndex] = newElement; }
-
-_AFXCOLL_INLINE void*& CPtrArray::ElementAt(int nIndex)
-	{ ASSERT(nIndex >= 0 && nIndex < m_nSize);
-		return m_pData[nIndex]; }
-_AFXCOLL_INLINE const void** CPtrArray::GetData() const
-	{ return (const void**)m_pData; }
-_AFXCOLL_INLINE void** CPtrArray::GetData()
-	{ return (void**)m_pData; }
-_AFXCOLL_INLINE int CPtrArray::Add(void* newElement)
-	{ int nIndex = m_nSize;
-		SetAtGrow(nIndex, newElement);
-		return nIndex; }
-
-_AFXCOLL_INLINE void* CPtrArray::operator[](int nIndex) const
-	{ return GetAt(nIndex); }
-_AFXCOLL_INLINE void*& CPtrArray::operator[](int nIndex)
-	{ return ElementAt(nIndex); }
-
-
-////////////////////////////////////////////////////////////////////////////
-
-_AFXCOLL_INLINE int CObArray::GetSize() const
-	{ return m_nSize; }
-_AFXCOLL_INLINE int CObArray::GetUpperBound() const
-	{ return m_nSize-1; }
-_AFXCOLL_INLINE void CObArray::RemoveAll()
-	{ SetSize(0); }
-_AFXCOLL_INLINE CObject* CObArray::GetAt(int nIndex) const
-	{ ASSERT(nIndex >= 0 && nIndex < m_nSize);
-		return m_pData[nIndex]; }
-_AFXCOLL_INLINE void CObArray::SetAt(int nIndex, CObject* newElement)
-	{ ASSERT(nIndex >= 0 && nIndex < m_nSize);
-		m_pData[nIndex] = newElement; }
-
-_AFXCOLL_INLINE CObject*& CObArray::ElementAt(int nIndex)
-	{ ASSERT(nIndex >= 0 && nIndex < m_nSize);
-		return m_pData[nIndex]; }
-_AFXCOLL_INLINE const CObject** CObArray::GetData() const
-	{ return (const CObject**)m_pData; }
-_AFXCOLL_INLINE CObject** CObArray::GetData()
-	{ return (CObject**)m_pData; }
-_AFXCOLL_INLINE int CObArray::Add(CObject* newElement)
-	{ int nIndex = m_nSize;
-		SetAtGrow(nIndex, newElement);
-		return nIndex; }
-
-_AFXCOLL_INLINE CObject* CObArray::operator[](int nIndex) const
-	{ return GetAt(nIndex); }
-_AFXCOLL_INLINE CObject*& CObArray::operator[](int nIndex)
-	{ return ElementAt(nIndex); }
-
-
-////////////////////////////////////////////////////////////////////////////
-
-_AFXCOLL_INLINE int CStringArray::GetSize() const
-	{ return m_nSize; }
-_AFXCOLL_INLINE int CStringArray::GetUpperBound() const
-	{ return m_nSize-1; }
-_AFXCOLL_INLINE void CStringArray::RemoveAll()
-	{ SetSize(0); }
-_AFXCOLL_INLINE CString CStringArray::GetAt(int nIndex) const
-	{ ASSERT(nIndex >= 0 && nIndex < m_nSize);
-		return m_pData[nIndex]; }
-_AFXCOLL_INLINE void CStringArray::SetAt(int nIndex, LPCTSTR newElement)
-	{ ASSERT(nIndex >= 0 && nIndex < m_nSize);
-		m_pData[nIndex] = newElement; }
-
-_AFXCOLL_INLINE void CStringArray::SetAt(int nIndex, const CString& newElement)
-	{ ASSERT(nIndex >= 0 && nIndex < m_nSize);
-		m_pData[nIndex] = newElement; }
-
-_AFXCOLL_INLINE CString& CStringArray::ElementAt(int nIndex)
-	{ ASSERT(nIndex >= 0 && nIndex < m_nSize);
-		return m_pData[nIndex]; }
-_AFXCOLL_INLINE const CString* CStringArray::GetData() const
-	{ return (const CString*)m_pData; }
-_AFXCOLL_INLINE CString* CStringArray::GetData()
-	{ return (CString*)m_pData; }
-_AFXCOLL_INLINE int CStringArray::Add(LPCTSTR newElement)
-	{ int nIndex = m_nSize;
-		SetAtGrow(nIndex, newElement);
-		return nIndex; }
-
-_AFXCOLL_INLINE int CStringArray::Add(const CString& newElement)
-	{ int nIndex = m_nSize;
-		SetAtGrow(nIndex, newElement);
-		return nIndex; }
-
-_AFXCOLL_INLINE CString CStringArray::operator[](int nIndex) const
-	{ return GetAt(nIndex); }
-_AFXCOLL_INLINE CString& CStringArray::operator[](int nIndex)
-	{ return ElementAt(nIndex); }
-
-
-////////////////////////////////////////////////////////////////////////////
-
-_AFXCOLL_INLINE int CPtrList::GetCount() const
-	{ return m_nCount; }
-_AFXCOLL_INLINE BOOL CPtrList::IsEmpty() const
-	{ return m_nCount == 0; }
-_AFXCOLL_INLINE void*& CPtrList::GetHead()
-	{ ASSERT(m_pNodeHead != NULL);
-		return m_pNodeHead->data; }
-_AFXCOLL_INLINE void* CPtrList::GetHead() const
-	{ ASSERT(m_pNodeHead != NULL);
-		return m_pNodeHead->data; }
-_AFXCOLL_INLINE void*& CPtrList::GetTail()
-	{ ASSERT(m_pNodeTail != NULL);
-		return m_pNodeTail->data; }
-_AFXCOLL_INLINE void* CPtrList::GetTail() const
-	{ ASSERT(m_pNodeTail != NULL);
-		return m_pNodeTail->data; }
-_AFXCOLL_INLINE POSITION CPtrList::GetHeadPosition() const
-	{ return (POSITION) m_pNodeHead; }
-_AFXCOLL_INLINE POSITION CPtrList::GetTailPosition() const
-	{ return (POSITION) m_pNodeTail; }
-_AFXCOLL_INLINE void*& CPtrList::GetNext(POSITION& rPosition) // return *Position++
-	{ CNode* pNode = (CNode*) rPosition;
-		ASSERT(AfxIsValidAddress(pNode, sizeof(CNode)));
-		rPosition = (POSITION) pNode->pNext;
-		return pNode->data; }
-_AFXCOLL_INLINE void* CPtrList::GetNext(POSITION& rPosition) const // return *Position++
-	{ CNode* pNode = (CNode*) rPosition;
-		ASSERT(AfxIsValidAddress(pNode, sizeof(CNode)));
-		rPosition = (POSITION) pNode->pNext;
-		return pNode->data; }
-_AFXCOLL_INLINE void*& CPtrList::GetPrev(POSITION& rPosition) // return *Position--
-	{ CNode* pNode = (CNode*) rPosition;
-		ASSERT(AfxIsValidAddress(pNode, sizeof(CNode)));
-		rPosition = (POSITION) pNode->pPrev;
-		return pNode->data; }
-_AFXCOLL_INLINE void* CPtrList::GetPrev(POSITION& rPosition) const // return *Position--
-	{ CNode* pNode = (CNode*) rPosition;
-		ASSERT(AfxIsValidAddress(pNode, sizeof(CNode)));
-		rPosition = (POSITION) pNode->pPrev;
-		return pNode->data; }
-_AFXCOLL_INLINE void*& CPtrList::GetAt(POSITION position)
-	{ CNode* pNode = (CNode*) position;
-		ASSERT(AfxIsValidAddress(pNode, sizeof(CNode)));
-		return pNode->data; }
-_AFXCOLL_INLINE void* CPtrList::GetAt(POSITION position) const
-	{ CNode* pNode = (CNode*) position;
-		ASSERT(AfxIsValidAddress(pNode, sizeof(CNode)));
-		return pNode->data; }
-_AFXCOLL_INLINE void CPtrList::SetAt(POSITION pos, void* newElement)
-	{ CNode* pNode = (CNode*) pos;
-		ASSERT(AfxIsValidAddress(pNode, sizeof(CNode)));
-		pNode->data = newElement; }
-
-
-
-////////////////////////////////////////////////////////////////////////////
-
-_AFXCOLL_INLINE int CObList::GetCount() const
-	{ return m_nCount; }
-_AFXCOLL_INLINE BOOL CObList::IsEmpty() const
-	{ return m_nCount == 0; }
-_AFXCOLL_INLINE CObject*& CObList::GetHead()
-	{ ASSERT(m_pNodeHead != NULL);
-		return m_pNodeHead->data; }
-_AFXCOLL_INLINE CObject* CObList::GetHead() const
-	{ ASSERT(m_pNodeHead != NULL);
-		return m_pNodeHead->data; }
-_AFXCOLL_INLINE CObject*& CObList::GetTail()
-	{ ASSERT(m_pNodeTail != NULL);
-		return m_pNodeTail->data; }
-_AFXCOLL_INLINE CObject* CObList::GetTail() const
-	{ ASSERT(m_pNodeTail != NULL);
-		return m_pNodeTail->data; }
-_AFXCOLL_INLINE POSITION CObList::GetHeadPosition() const
-	{ return (POSITION) m_pNodeHead; }
-_AFXCOLL_INLINE POSITION CObList::GetTailPosition() const
-	{ return (POSITION) m_pNodeTail; }
-_AFXCOLL_INLINE CObject*& CObList::GetNext(POSITION& rPosition) // return *Position++
-	{ CNode* pNode = (CNode*) rPosition;
-		ASSERT(AfxIsValidAddress(pNode, sizeof(CNode)));
-		rPosition = (POSITION) pNode->pNext;
-		return pNode->data; }
-_AFXCOLL_INLINE CObject* CObList::GetNext(POSITION& rPosition) const // return *Position++
-	{ CNode* pNode = (CNode*) rPosition;
-		ASSERT(AfxIsValidAddress(pNode, sizeof(CNode)));
-		rPosition = (POSITION) pNode->pNext;
-		return pNode->data; }
-_AFXCOLL_INLINE CObject*& CObList::GetPrev(POSITION& rPosition) // return *Position--
-	{ CNode* pNode = (CNode*) rPosition;
-		ASSERT(AfxIsValidAddress(pNode, sizeof(CNode)));
-		rPosition = (POSITION) pNode->pPrev;
-		return pNode->data; }
-_AFXCOLL_INLINE CObject* CObList::GetPrev(POSITION& rPosition) const // return *Position--
-	{ CNode* pNode = (CNode*) rPosition;
-		ASSERT(AfxIsValidAddress(pNode, sizeof(CNode)));
-		rPosition = (POSITION) pNode->pPrev;
-		return pNode->data; }
-_AFXCOLL_INLINE CObject*& CObList::GetAt(POSITION position)
-	{ CNode* pNode = (CNode*) position;
-		ASSERT(AfxIsValidAddress(pNode, sizeof(CNode)));
-		return pNode->data; }
-_AFXCOLL_INLINE CObject* CObList::GetAt(POSITION position) const
-	{ CNode* pNode = (CNode*) position;
-		ASSERT(AfxIsValidAddress(pNode, sizeof(CNode)));
-		return pNode->data; }
-_AFXCOLL_INLINE void CObList::SetAt(POSITION pos, CObject* newElement)
-	{ CNode* pNode = (CNode*) pos;
-		ASSERT(AfxIsValidAddress(pNode, sizeof(CNode)));
-		pNode->data = newElement; }
-
-
-
-////////////////////////////////////////////////////////////////////////////
-
-_AFXCOLL_INLINE int CStringList::GetCount() const
-	{ return m_nCount; }
-_AFXCOLL_INLINE BOOL CStringList::IsEmpty() const
-	{ return m_nCount == 0; }
-_AFXCOLL_INLINE CString& CStringList::GetHead()
-	{ ASSERT(m_pNodeHead != NULL);
-		return m_pNodeHead->data; }
-_AFXCOLL_INLINE CString CStringList::GetHead() const
-	{ ASSERT(m_pNodeHead != NULL);
-		return m_pNodeHead->data; }
-_AFXCOLL_INLINE CString& CStringList::GetTail()
-	{ ASSERT(m_pNodeTail != NULL);
-		return m_pNodeTail->data; }
-_AFXCOLL_INLINE CString CStringList::GetTail() const
-	{ ASSERT(m_pNodeTail != NULL);
-		return m_pNodeTail->data; }
-_AFXCOLL_INLINE POSITION CStringList::GetHeadPosition() const
-	{ return (POSITION) m_pNodeHead; }
-_AFXCOLL_INLINE POSITION CStringList::GetTailPosition() const
-	{ return (POSITION) m_pNodeTail; }
-_AFXCOLL_INLINE CString& CStringList::GetNext(POSITION& rPosition) // return *Position++
-	{ CNode* pNode = (CNode*) rPosition;
-		ASSERT(AfxIsValidAddress(pNode, sizeof(CNode)));
-		rPosition = (POSITION) pNode->pNext;
-		return pNode->data; }
-_AFXCOLL_INLINE CString CStringList::GetNext(POSITION& rPosition) const // return *Position++
-	{ CNode* pNode = (CNode*) rPosition;
-		ASSERT(AfxIsValidAddress(pNode, sizeof(CNode)));
-		rPosition = (POSITION) pNode->pNext;
-		return pNode->data; }
-_AFXCOLL_INLINE CString& CStringList::GetPrev(POSITION& rPosition) // return *Position--
-	{ CNode* pNode = (CNode*) rPosition;
-		ASSERT(AfxIsValidAddress(pNode, sizeof(CNode)));
-		rPosition = (POSITION) pNode->pPrev;
-		return pNode->data; }
-_AFXCOLL_INLINE CString CStringList::GetPrev(POSITION& rPosition) const // return *Position--
-	{ CNode* pNode = (CNode*) rPosition;
-		ASSERT(AfxIsValidAddress(pNode, sizeof(CNode)));
-		rPosition = (POSITION) pNode->pPrev;
-		return pNode->data; }
-_AFXCOLL_INLINE CString& CStringList::GetAt(POSITION position)
-	{ CNode* pNode = (CNode*) position;
-		ASSERT(AfxIsValidAddress(pNode, sizeof(CNode)));
-		return pNode->data; }
-_AFXCOLL_INLINE CString CStringList::GetAt(POSITION position) const
-	{ CNode* pNode = (CNode*) position;
-		ASSERT(AfxIsValidAddress(pNode, sizeof(CNode)));
-		return pNode->data; }
-_AFXCOLL_INLINE void CStringList::SetAt(POSITION pos, LPCTSTR newElement)
-	{ CNode* pNode = (CNode*) pos;
-		ASSERT(AfxIsValidAddress(pNode, sizeof(CNode)));
-		pNode->data = newElement; }
-
-_AFXCOLL_INLINE void CStringList::SetAt(POSITION pos, const CString& newElement)
-	{ CNode* pNode = (CNode*) pos;
-		ASSERT(AfxIsValidAddress(pNode, sizeof(CNode)));
-		pNode->data = newElement; }
-
-
-
-////////////////////////////////////////////////////////////////////////////
-
-_AFXCOLL_INLINE int CMapWordToPtr::GetCount() const
-	{ return m_nCount; }
-_AFXCOLL_INLINE BOOL CMapWordToPtr::IsEmpty() const
-	{ return m_nCount == 0; }
-_AFXCOLL_INLINE void CMapWordToPtr::SetAt(WORD key, void* newValue)
-	{ (*this)[key] = newValue; }
-_AFXCOLL_INLINE POSITION CMapWordToPtr::GetStartPosition() const
-	{ return (m_nCount == 0) ? NULL : BEFORE_START_POSITION; }
-_AFXCOLL_INLINE UINT CMapWordToPtr::GetHashTableSize() const
-	{ return m_nHashTableSize; }
-
-
-////////////////////////////////////////////////////////////////////////////
-
-_AFXCOLL_INLINE int CMapPtrToWord::GetCount() const
-	{ return m_nCount; }
-_AFXCOLL_INLINE BOOL CMapPtrToWord::IsEmpty() const
-	{ return m_nCount == 0; }
-_AFXCOLL_INLINE void CMapPtrToWord::SetAt(void* key, WORD newValue)
-	{ (*this)[key] = newValue; }
-_AFXCOLL_INLINE POSITION CMapPtrToWord::GetStartPosition() const
-	{ return (m_nCount == 0) ? NULL : BEFORE_START_POSITION; }
-_AFXCOLL_INLINE UINT CMapPtrToWord::GetHashTableSize() const
-	{ return m_nHashTableSize; }
-
-
-////////////////////////////////////////////////////////////////////////////
-
-_AFXCOLL_INLINE int CMapPtrToPtr::GetCount() const
-	{ return m_nCount; }
-_AFXCOLL_INLINE BOOL CMapPtrToPtr::IsEmpty() const
-	{ return m_nCount == 0; }
-_AFXCOLL_INLINE void CMapPtrToPtr::SetAt(void* key, void* newValue)
-	{ (*this)[key] = newValue; }
-_AFXCOLL_INLINE POSITION CMapPtrToPtr::GetStartPosition() const
-	{ return (m_nCount == 0) ? NULL : BEFORE_START_POSITION; }
-_AFXCOLL_INLINE UINT CMapPtrToPtr::GetHashTableSize() const
-	{ return m_nHashTableSize; }
-
-
-////////////////////////////////////////////////////////////////////////////
-
-_AFXCOLL_INLINE int CMapWordToOb::GetCount() const
-	{ return m_nCount; }
-_AFXCOLL_INLINE BOOL CMapWordToOb::IsEmpty() const
-	{ return m_nCount == 0; }
-_AFXCOLL_INLINE void CMapWordToOb::SetAt(WORD key, CObject* newValue)
-	{ (*this)[key] = newValue; }
-_AFXCOLL_INLINE POSITION CMapWordToOb::GetStartPosition() const
-	{ return (m_nCount == 0) ? NULL : BEFORE_START_POSITION; }
-_AFXCOLL_INLINE UINT CMapWordToOb::GetHashTableSize() const
-	{ return m_nHashTableSize; }
-
-
-////////////////////////////////////////////////////////////////////////////
-_AFXCOLL_INLINE int CMapStringToPtr::GetCount() const
-	{ return m_nCount; }
-_AFXCOLL_INLINE BOOL CMapStringToPtr::IsEmpty() const
-	{ return m_nCount == 0; }
-_AFXCOLL_INLINE void CMapStringToPtr::SetAt(LPCTSTR key, void* newValue)
-	{ (*this)[key] = newValue; }
-_AFXCOLL_INLINE POSITION CMapStringToPtr::GetStartPosition() const
-	{ return (m_nCount == 0) ? NULL : BEFORE_START_POSITION; }
-_AFXCOLL_INLINE UINT CMapStringToPtr::GetHashTableSize() const
-	{ return m_nHashTableSize; }
-
-
-////////////////////////////////////////////////////////////////////////////
-_AFXCOLL_INLINE int CMapStringToOb::GetCount() const
-	{ return m_nCount; }
-_AFXCOLL_INLINE BOOL CMapStringToOb::IsEmpty() const
-	{ return m_nCount == 0; }
-_AFXCOLL_INLINE void CMapStringToOb::SetAt(LPCTSTR key, CObject* newValue)
-	{ (*this)[key] = newValue; }
-_AFXCOLL_INLINE POSITION CMapStringToOb::GetStartPosition() const
-	{ return (m_nCount == 0) ? NULL : BEFORE_START_POSITION; }
-_AFXCOLL_INLINE UINT CMapStringToOb::GetHashTableSize() const
-	{ return m_nHashTableSize; }
-
-
-////////////////////////////////////////////////////////////////////////////
-_AFXCOLL_INLINE int CMapStringToString::GetCount() const
-	{ return m_nCount; }
-_AFXCOLL_INLINE BOOL CMapStringToString::IsEmpty() const
-	{ return m_nCount == 0; }
-_AFXCOLL_INLINE void CMapStringToString::SetAt(LPCTSTR key, LPCTSTR newValue)
-	{ (*this)[key] = newValue; }
-_AFXCOLL_INLINE POSITION CMapStringToString::GetStartPosition() const
-	{ return (m_nCount == 0) ? NULL : BEFORE_START_POSITION; }
-_AFXCOLL_INLINE UINT CMapStringToString::GetHashTableSize() const
-	{ return m_nHashTableSize; }
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //_AFXCOLL_INLINE

+ 0 - 487
libs/mfc/include/afxcom_.h

@@ -1,487 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-/////////////////////////////////////////////////////////////////////////////
-// AFXCOM_.H
-//
-// THIS FILE IS FOR MFC IMPLEMENTATION ONLY.
-
-#ifndef __AFXCOM_H__
-#define __AFXCOM_H__
-
-#ifndef _OBJBASE_H_
-#include <objbase.h>
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, off)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, on)
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-
-#ifndef _AFX_NOFORCE_LIBS
-#pragma comment(lib, "uuid.lib")
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-
-#ifdef _AFX_PACKING
-#pragma pack(push, _AFX_PACKING)
-#endif
-
-#ifndef ASSERT
-#ifndef _INC_CRTDBG
-#include <crtdbg.h>
-#endif // _INC_CRTDBG
-#define ASSERT(x) _ASSERT(x)
-#endif // ASSERT
-
-/////////////////////////////////////////////////////////////////////////////
-
-template<class _Interface, const IID* _IID>
-class _CIP
-{
-public:
-	// Declare interface type so that the type may be available outside
-	// the scope of this template.
-	typedef _Interface Interface;
-
-	// When the compiler supports references in template params,
-	// _CLSID will be changed to a reference.  To avoid conversion
-	// difficulties this function should be used to obtain the
-	// CLSID.
-	static const IID& GetIID()
-		{ ASSERT(_IID != NULL); return *_IID; }
-
-	// Construct empty in preperation for assignment.
-	_CIP();
-
-	// Copy the pointer and AddRef().
-	_CIP(const _CIP& cp) : _pInterface(cp._pInterface)
-		{ _AddRef(); }
-
-	// Saves and AddRef()'s the interface
-	_CIP(Interface* pInterface) : _pInterface(pInterface)
-		{ _AddRef(); }
-
-	// Copies the pointer.  If bAddRef is TRUE, the interface will
-	// be AddRef()ed.
-	_CIP(Interface* pInterface, BOOL bAddRef)
-		: _pInterface(pInterface)
-	{
-		if (bAddRef)
-		{
-			ASSERT(pInterface != NULL);
-			_AddRef();
-		}
-	}
-
-	// Calls CoCreateClass with the provided CLSID.
-	_CIP(const CLSID& clsid, DWORD dwClsContext = CLSCTX_INPROC_SERVER)
-		: _pInterface(NULL)
-	{
-		CreateObject(clsid, dwClsContext);
-	}
-
-	// Calls CoCreateClass with the provided CLSID retrieved from
-	// the string.
-	_CIP(LPOLESTR str, DWORD dwClsContext = CLSCTX_INPROC_SERVER)
-		: _pInterface(NULL)
-	{
-		CreateObject(str, dwClsContext);
-	}
-
-	// Saves and AddRef()s the interface.
-	_CIP& operator=(Interface* pInterface)
-	{
-		if (_pInterface != pInterface)
-		{
-			Interface* pOldInterface = _pInterface;
-			_pInterface = pInterface;
-			_AddRef();
-			if (pOldInterface != NULL)
-				pOldInterface->Release();
-		}
-		return *this;
-	}
-
-	// Copies and AddRef()'s the interface.
-	_CIP& operator=(const _CIP& cp)
-		{ return operator=(cp._pInterface); }
-
-	// Releases any current interface and loads the class with the
-	// provided CLSID.
-	_CIP& operator=(const CLSID& clsid)
-	{
-		CreateObject(clsid);
-		return *this;
-	}
-
-	// Calls CoCreateClass with the provided CLSID retrieved from
-	// the string.
-	_CIP& operator=(LPOLESTR str)
-	{
-		CreateObject(str);
-		return *this;
-	}
-
-	~_CIP();
-
-	// Saves/sets the interface without AddRef()ing.  This call
-	// will release any previously aquired interface.
-	void Attach(Interface* pInterface)
-	{
-		_Release();
-		_pInterface = pInterface;
-	}
-
-	// Saves/sets the interface only AddRef()ing if bAddRef is TRUE.
-	// This call will release any previously aquired interface.
-	void Attach(Interface* pInterface, BOOL bAddRef)
-	{
-		_Release();
-		_pInterface = pInterface;
-		if (bAddRef)
-		{
-			ASSERT(pInterface != NULL);
-			pInterface->AddRef();
-		}
-	}
-
-	// Simply NULL the interface pointer so that it isn't Released()'ed.
-	void Detach()
-	{
-		ASSERT(_pInterface);
-		_pInterface = NULL;
-	}
-
-	// Return the interface.  This value may be NULL
-	operator Interface*() const
-		{ return _pInterface; }
-
-	// Queries for the unknown and return it
-	operator IUnknown*()
-		{ return _pInterface; }
-
-	// Provides minimal level assertion before use.
-	operator Interface&() const
-		{ ASSERT(_pInterface); return *_pInterface; }
-
-	// Allows an instance of this class to act as though it were the
-	// actual interface.  Also provides minimal assertion verification.
-	Interface& operator*() const
-		{ ASSERT(_pInterface); return *_pInterface; }
-
-	// Returns the address of the interface pointer contained in this
-	// class.  This is useful when using the COM/OLE interfaces to create
-	// this interface.
-	Interface** operator&()
-	{
-		_Release();
-		_pInterface = NULL;
-		return &_pInterface;
-	}
-
-	// Allows this class to be used as the interface itself.
-	// Also provides simple assertion verification.
-	Interface* operator->() const
-		{ ASSERT(_pInterface != NULL); return _pInterface; }
-
-	// This operator is provided so that simple boolean expressions will
-	// work.  For example: "if (p) ...".
-	// Returns TRUE if the pointer is not NULL.
-	operator BOOL() const
-		{ return _pInterface != NULL; }
-
-	// Returns TRUE if the interface is NULL.
-	// This operator will be removed when support for type bool
-	// is added to the compiler.
-	BOOL operator!()
-		{ return _pInterface == NULL; }
-
-	// Provides assertion verified, Release()ing of this interface.
-	void Release()
-	{
-		ASSERT(_pInterface != NULL);
-		_pInterface->Release();
-		_pInterface = NULL;
-	}
-
-	// Provides assertion verified AddRef()ing of this interface.
-	void AddRef()
-		{ ASSERT(_pInterface != NULL); _pInterface->AddRef(); }
-
-	// Another way to get the interface pointer without casting.
-	Interface* GetInterfacePtr() const
-		{ return _pInterface; }
-
-	// Loads an interface for the provided CLSID.
-	// Returns an HRESULT.  Any previous interface is released.
-	HRESULT CreateObject(
-		const CLSID& clsid, DWORD dwClsContext = CLSCTX_INPROC_SERVER)
-	{
-		_Release();
-		HRESULT hr = CoCreateInstance(clsid, NULL, dwClsContext,
-			GetIID(), reinterpret_cast<void**>(&_pInterface));
-		ASSERT(SUCCEEDED(hr));
-		return hr;
-	}
-
-	// Creates the class specified by clsidString.  clsidString may
-	// contain a class id, or a prog id string.
-	HRESULT CreateObject(
-		LPOLESTR clsidString, DWORD dwClsContext=CLSCTX_INPROC_SERVER)
-	{
-		ASSERT(clsidString != NULL);
-		CLSID clsid;
-		HRESULT hr;
-		if (clsidString[0] == '{')
-			hr = CLSIDFromString(clsidString, &clsid);
-		else
-			hr = CLSIDFromProgID(clsidString, &clsid);
-		ASSERT(SUCCEEDED(hr));
-		if (FAILED(hr))
-			return hr;
-		return CreateObject(clsid, dwClsContext);
-	}
-
-	// Performs a QI on pUnknown for the interface type returned
-	// for this class.  The interface is stored.  If pUnknown is
-	// NULL, or the QI fails, E_NOINTERFACE is returned and
-	// _pInterface is set to NULL.
-	HRESULT QueryInterface(IUnknown* pUnknown)
-	{
-		if (pUnknown == NULL) // Can't QI NULL
-		{
-			operator=(static_cast<Interface*>(NULL));
-			return E_NOINTERFACE;
-		}
-
-		// Query for this interface
-		Interface* pInterface;
-		HRESULT hr = pUnknown->QueryInterface(GetIID(),
-			reinterpret_cast<void**>(&pInterface));
-		if (FAILED(hr))
-		{
-			// If failed intialize interface to NULL and return HRESULT.
-			Attach(NULL);
-			return hr;
-		}
-
-		// Save the interface without AddRef()ing.
-		Attach(pInterface);
-		return hr;
-	}
-
-private:
-	// Releases only if the interface is not null.
-	// The interface is not set to NULL.
-	void _Release()
-	{
-		if (_pInterface != NULL)
-			_pInterface->Release();
-	}
-
-	// AddRefs only if the interface is not NULL
-	void _AddRef()
-	{
-		if (_pInterface != NULL)
-			_pInterface->AddRef();
-	}
-
-	// The Interface.
-	Interface* _pInterface;
-}; // class _CIP
-
-template<class _Interface, const IID* _IID>
-#ifdef __BORLANDC__
-_CIP<_Interface, _IID>::_CIP(): _pInterface(NULL)
-#else
-_CIP<_Interface, _IID>::_CIP<_Interface, _IID>(): _pInterface(NULL)
-#endif
-{
-}
-
-template<class _Interface, const IID* _IID>
-#ifdef __BORLANDC__
-_CIP<_Interface, _IID>::~_CIP()
-#else
-_CIP<_Interface, _IID>::~_CIP<_Interface, _IID>()
-#endif
-{
-	// If we still have an interface then Release() it.  The interface
-	// may be NULL if Detach() has previosly been called, or if it was
-	// never set.
-
-	_Release();
-}
-
-template<class _Interface, const IID* _IID>
-class CIP : public _CIP<_Interface, _IID>
-{
-public:
-	// Simplified name for base class and provide derived classes
-	// access to base type
-	typedef _CIP<_Interface, _IID> BC;
-
-	// Provideds derived classes access to the interface type.
-	typedef _Interface Interface;
-
-	// Construct empty in preperation for assignment.
-	CIP() { }
-	~CIP();
-
-	// Copy the pointer and AddRef().
-	CIP(const CIP& cp) : _CIP<_Interface, _IID>(cp) { }
-
-	// Saves and AddRef()s the interface.
-	CIP(Interface* pInterface) : _CIP<_Interface, _IID>(pInterface) { }
-
-	// Saves the interface and AddRef()s only if bAddRef is TRUE.
-	CIP(Interface* pInterface, BOOL bAddRef)
-		: _CIP<_Interface, _IID>(pInterface, bAddRef) { }
-
-	// Queries for this interface.
-	CIP(IUnknown* pUnknown)
-	{
-		if (pUnknown == NULL)
-			return;
-		Interface* pInterface;
-		HRESULT hr = pUnknown->QueryInterface(GetIID(),
-			reinterpret_cast<void**>(&pInterface));
-		ASSERT(SUCCEEDED(hr));
-		Attach(pInterface);
-	}
-
-	// Creates the interface from the CLSID.
-	CIP(const CLSID& clsid) : _CIP<_Interface, _IID>(clsid) { }
-
-	// Creates the interface from the CLSID.
-	CIP(LPOLESTR str) : _CIP<_Interface, _IID>(str) { }
-
-	// Copies and AddRef()'s the interface.
-	CIP& operator=(const CIP& cp)
-		{ _CIP<_Interface, _IID>::operator=(cp); return *this; }
-
-	// Saves and AddRef()s the interface.
-	CIP& operator=(Interface* pInterface)
-		{ _CIP<_Interface, _IID>::operator=(pInterface); return *this; }
-
-	CIP& operator=(IUnknown* pUnknown)
-	{
-		HRESULT hr = QueryInterface(pUnknown);
-		ASSERT(SUCCEEDED(hr));
-		return *this;
-	}
-
-	// Releases any current interface and loads the class with the
-	// provided CLSID.
-	CIP& operator=(const CLSID& clsid)
-		{ _CIP<_Interface, _IID>::operator=(clsid); return *this; }
-
-	// Releases any current interface and loads the class with the
-	// provided CLSID.
-	CIP& operator=(LPOLESTR str)
-		{ _CIP<_Interface, _IID>::operator=(str); return *this; }
-}; // class CIP
-
-template<class _Interface, const IID* _IID>
-CIP<_Interface, _IID>::~CIP()
-{
-}
-
-#if _MSC_VER > 1020
-template<>
-#endif
-class CIP<IUnknown, &IID_IUnknown> : public _CIP<IUnknown, &IID_IUnknown>
-{
-public:
-	// Simplified name for base class and provide derived classes
-	// access to base type
-	typedef _CIP<IUnknown, &IID_IUnknown> BC;
-
-	// Provideds derived classes access to the interface type.
-	typedef IUnknown Interface;
-
-	// Construct empty in preperation for assignment.
-	CIP() { }
-
-	// Copy the pointer and AddRef().
-	CIP(const CIP& cp) : _CIP<IUnknown, &IID_IUnknown>(cp) { }
-
-	// Saves and AddRef()s the interface.
-	CIP(Interface* pInterface)
-		: _CIP<IUnknown, &IID_IUnknown>(pInterface) { }
-
-	// Saves and then AddRef()s only if bAddRef is TRUE.
-	CIP(Interface* pInterface, BOOL bAddRef)
-		: _CIP<IUnknown, &IID_IUnknown>(pInterface, bAddRef) { }
-
-	// Creates the interface from the CLSID.
-	CIP(const CLSID& clsid) : _CIP<IUnknown, &IID_IUnknown>(clsid) { }
-
-	// Creates the interface from the CLSID.
-	CIP(LPOLESTR str) : _CIP<IUnknown, &IID_IUnknown>(str) { }
-
-	// Copies and AddRef()'s the interface.
-	CIP& operator=(const CIP& cp)
-		{ _CIP<IUnknown, &IID_IUnknown>::operator=(cp); return *this; }
-
-	// Saves and AddRef()s the interface.  The previously saved
-	// interface is released.
-	CIP& operator=(Interface* pInterface)
-		{ _CIP<IUnknown, &IID_IUnknown>::operator=(pInterface); return *this; }
-
-	// Releases any current interface and loads the class with the
-	// provided CLSID.
-	CIP& operator=(const CLSID& clsid)
-		{ _CIP<IUnknown, &IID_IUnknown>::operator=(clsid); return *this; }
-
-	// Releases any current interface and loads the class with the
-	// provided CLSID.
-	CIP& operator=(LPOLESTR str)
-		{ _CIP<IUnknown, &IID_IUnknown>::operator=(str); return *this; }
-
-	// Queries for the unknown and return it
-	operator IUnknown*()
-		{ return GetInterfacePtr(); }
-
-	// Verifies that pUnknown is not null and performs assignment.
-	HRESULT QueryInterface(IUnknown* pUnknown)
-	{
-		_CIP<IUnknown, &IID_IUnknown>::operator=(pUnknown);
-		return pUnknown != NULL ? S_OK : E_NOINTERFACE;
-	}
-};  // CIP<IUnknown, &IID_IUnknown>
-
-#define IPTR(x) CIP<x, &IID_##x>
-#define DEFINE_IPTR(x) typedef IPTR(x) x##Ptr;
-
-/////////////////////////////////////////////////////////////////////////////
-
-#ifdef _AFX_PACKING
-#pragma pack(pop)
-#endif
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, on)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, off)
-#endif
-
-#endif // __AFXCOM_H__
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 1969
libs/mfc/include/afxctl.h

@@ -1,1969 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-/////////////////////////////////////////////////////////////////////////////
-// AFXCTL.H - MFC OLE Control support
-
-#ifndef __AFXCTL_H__
-#define __AFXCTL_H__
-
-// make sure afxole.h is included first
-#ifndef __AFXOLE_H__
-	#include <afxole.h>
-#endif
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, off)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, on)
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// Classes declared in this file
-
-//CWinApp
-	class COleControlModule;        // Module housekeeping for an .OCX
-
-class CFontHolder;                  // For manipulating font objects
-class CPictureHolder;               // For manipulating picture objects
-
-//CWnd
-	class COleControl;              // OLE Control
-
-//CDialog
-	class COlePropertyPage;         // OLE Property page
-		class CStockPropPage;
-			class CColorPropPage;
-			class CFontPropPage;
-			class CPicturePropPage;
-
-class CPropExchange;                // Abstract base for property exchange
-
-//CAsyncMonikerFile
-	class CDataPathProperty;        // Asynchronous properties for OLE Controls
-		class CCachedDataPathProperty;  // Cached asynchronous properties for OLE Controls
-
-/////////////////////////////////////////////////////////////////////////////
-// Set structure packing
-
-#ifdef _AFX_PACKING
-#pragma pack(push, _AFX_PACKING)
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// MFC data definition for data exported from the runtime DLL
-
-#undef AFX_DATA
-#define AFX_DATA AFX_OLE_DATA
-
-/////////////////////////////////////////////////////////////////////////////
-// COleControlModule - base class for .OCX module
-//  This object is statically linked into the control.
-
-class COleControlModule : public CWinApp
-{
-	DECLARE_DYNAMIC(COleControlModule)
-public:
-	virtual BOOL InitInstance();
-	virtual int ExitInstance();
-};
-
-/////////////////////////////////////////////////////////////////////////////
-//  Module state macro
-
-#define AfxGetControlModuleContext  AfxGetStaticModuleState
-#define _afxModuleAddrThis AfxGetStaticModuleState()
-
-/////////////////////////////////////////////////////////////////////////////
-// Connection helper functions
-
-BOOL AFXAPI AfxConnectionAdvise(LPUNKNOWN pUnkSrc, REFIID iid,
-	LPUNKNOWN pUnkSink, BOOL bRefCount, DWORD* pdwCookie);
-
-BOOL AFXAPI AfxConnectionUnadvise(LPUNKNOWN pUnkSrc, REFIID iid,
-	LPUNKNOWN pUnkSink, BOOL bRefCount, DWORD dwCookie);
-
-/////////////////////////////////////////////////////////////////////////////
-// Event maps
-
-enum AFX_EVENTMAP_FLAGS
-{
-	afxEventCustom = 0,
-	afxEventStock = 1,
-};
-
-struct AFX_EVENTMAP_ENTRY
-{
-	AFX_EVENTMAP_FLAGS flags;
-	DISPID dispid;
-	LPCTSTR pszName;
-	LPCSTR lpszParams;
-};
-
-struct AFX_EVENTMAP
-{
-	const AFX_EVENTMAP* lpBaseEventMap;
-	const AFX_EVENTMAP_ENTRY* lpEntries;
-	DWORD* lpStockEventMask;
-};
-
-#define DECLARE_EVENT_MAP() \
-private: \
-	static const AFX_DATA AFX_EVENTMAP_ENTRY _eventEntries[]; \
-	static DWORD _dwStockEventMask; \
-protected: \
-	static const AFX_DATA AFX_EVENTMAP eventMap; \
-	virtual const AFX_EVENTMAP* GetEventMap() const;
-
-#define BEGIN_EVENT_MAP(theClass, baseClass) \
-	const AFX_EVENTMAP* theClass::GetEventMap() const \
-		{ return &eventMap; } \
-	const AFX_DATADEF AFX_EVENTMAP theClass::eventMap = \
-		{ &(baseClass::eventMap), theClass::_eventEntries, \
-			&theClass::_dwStockEventMask }; \
-	AFX_COMDAT DWORD theClass::_dwStockEventMask = (DWORD)-1; \
-	AFX_COMDAT const AFX_DATADEF AFX_EVENTMAP_ENTRY theClass::_eventEntries[] = \
-	{
-
-#define END_EVENT_MAP() \
-		{ afxEventCustom, DISPID_UNKNOWN, NULL, NULL }, \
-	};
-
-#define EVENT_CUSTOM(pszName, pfnFire, vtsParams) \
-	{ afxEventCustom, DISPID_UNKNOWN, _T(pszName), vtsParams },
-
-#define EVENT_CUSTOM_ID(pszName, dispid, pfnFire, vtsParams) \
-	{ afxEventCustom, dispid, _T(pszName), vtsParams },
-
-#define EVENT_PARAM(vtsParams) (BYTE*)(vtsParams)
-
-/////////////////////////////////////////////////////////////////////////////
-// Stock events
-
-#define EVENT_STOCK_CLICK() \
-	{ afxEventStock, DISPID_CLICK, _T("Click"), VTS_NONE },
-
-#define EVENT_STOCK_DBLCLICK() \
-	{ afxEventStock, DISPID_DBLCLICK, _T("DblClick"), VTS_NONE },
-
-#define EVENT_STOCK_KEYDOWN() \
-	{ afxEventStock, DISPID_KEYDOWN, _T("KeyDown"), VTS_PI2 VTS_I2 },
-
-#define EVENT_STOCK_KEYPRESS() \
-	{ afxEventStock, DISPID_KEYPRESS, _T("KeyPress"), VTS_PI2 },
-
-#define EVENT_STOCK_KEYUP() \
-	{ afxEventStock, DISPID_KEYUP, _T("KeyUp"), VTS_PI2 VTS_I2 },
-
-#define EVENT_STOCK_MOUSEDOWN() \
-	{ afxEventStock, DISPID_MOUSEDOWN, _T("MouseDown"), \
-	  VTS_I2 VTS_I2 VTS_XPOS_PIXELS VTS_YPOS_PIXELS },
-
-#define EVENT_STOCK_MOUSEMOVE() \
-	{ afxEventStock, DISPID_MOUSEMOVE, _T("MouseMove"), \
-	  VTS_I2 VTS_I2 VTS_XPOS_PIXELS VTS_YPOS_PIXELS },
-
-#define EVENT_STOCK_MOUSEUP() \
-	{ afxEventStock, DISPID_MOUSEUP, _T("MouseUp"), \
-	  VTS_I2 VTS_I2 VTS_XPOS_PIXELS VTS_YPOS_PIXELS },
-
-#define EVENT_STOCK_ERROREVENT() \
-	{ afxEventStock, DISPID_ERROREVENT, _T("Error"), \
-	  VTS_I2 VTS_PBSTR VTS_SCODE VTS_BSTR VTS_BSTR VTS_I4 VTS_PBOOL },
-
-#define EVENT_STOCK_READYSTATECHANGE() \
-	{ afxEventStock, DISPID_READYSTATECHANGE, _T("ReadyStateChange"), \
-	  VTS_I4 },
-
-// Shift state values for mouse and keyboard events
-#define SHIFT_MASK      0x01
-#define CTRL_MASK       0x02
-#define ALT_MASK        0x04
-
-// Button values for mouse events
-#define LEFT_BUTTON     0x01
-#define RIGHT_BUTTON    0x02
-#define MIDDLE_BUTTON   0x04
-
-/////////////////////////////////////////////////////////////////////////////
-// Stock properties
-
-#define DISP_PROPERTY_STOCK(theClass, szExternalName, dispid, pfnGet, pfnSet, vtPropType) \
-	{ _T(szExternalName), dispid, NULL, vtPropType, \
-		(AFX_PMSG)(void (theClass::*)(void))&pfnGet, \
-		(AFX_PMSG)(void (theClass::*)(void))&pfnSet, 0, afxDispStock }, \
-
-#define DISP_STOCKPROP_APPEARANCE() \
-	DISP_PROPERTY_STOCK(COleControl, "Appearance", DISPID_APPEARANCE, \
-		COleControl::GetAppearance, COleControl::SetAppearance, VT_I2)
-
-#define DISP_STOCKPROP_BACKCOLOR() \
-	DISP_PROPERTY_STOCK(COleControl, "BackColor", DISPID_BACKCOLOR, \
-		COleControl::GetBackColor, COleControl::SetBackColor, VT_COLOR)
-
-#define DISP_STOCKPROP_BORDERSTYLE() \
-	DISP_PROPERTY_STOCK(COleControl, "BorderStyle", DISPID_BORDERSTYLE, \
-		COleControl::GetBorderStyle, COleControl::SetBorderStyle, VT_I2)
-
-#define DISP_STOCKPROP_CAPTION() \
-	DISP_PROPERTY_STOCK(COleControl, "Caption", DISPID_CAPTION, \
-		COleControl::GetText, COleControl::SetText, VT_BSTR)
-
-#define DISP_STOCKPROP_ENABLED() \
-	DISP_PROPERTY_STOCK(COleControl, "Enabled", DISPID_ENABLED, \
-		COleControl::GetEnabled, COleControl::SetEnabled, VT_BOOL)
-
-#define DISP_STOCKPROP_FONT() \
-	DISP_PROPERTY_STOCK(COleControl, "Font", DISPID_FONT, \
-		COleControl::GetFont, COleControl::SetFont, VT_FONT)
-
-#define DISP_STOCKPROP_FORECOLOR() \
-	DISP_PROPERTY_STOCK(COleControl, "ForeColor", DISPID_FORECOLOR, \
-		COleControl::GetForeColor, COleControl::SetForeColor, VT_COLOR)
-
-#define DISP_STOCKPROP_HWND() \
-	DISP_PROPERTY_STOCK(COleControl, "hWnd", DISPID_HWND, \
-		COleControl::GetHwnd, SetNotSupported, VT_HANDLE)
-
-#define DISP_STOCKPROP_TEXT() \
-	DISP_PROPERTY_STOCK(COleControl, "Text", DISPID_TEXT, \
-		COleControl::GetText, COleControl::SetText, VT_BSTR)
-
-#define DISP_STOCKPROP_READYSTATE() \
-	DISP_PROPERTY_STOCK(COleControl, "ReadyState", DISPID_READYSTATE, \
-		COleControl::GetReadyState, SetNotSupported, VT_I4)
-
-/////////////////////////////////////////////////////////////////////////////
-// Stock methods
-
-#define DISP_FUNCTION_STOCK(theClass, szExternalName, dispid, pfnMember, vtRetVal, vtsParams) \
-	{ _T(szExternalName), dispid, vtsParams, vtRetVal, \
-		(AFX_PMSG)(void (theClass::*)(void))&pfnMember, (AFX_PMSG)0, 0, \
-		afxDispStock }, \
-
-#define DISP_STOCKFUNC_REFRESH() \
-	DISP_FUNCTION_STOCK(COleControl, "Refresh", DISPID_REFRESH, \
-			COleControl::Refresh, VT_EMPTY, VTS_NONE)
-
-#define DISP_STOCKFUNC_DOCLICK() \
-	DISP_FUNCTION_STOCK(COleControl, "DoClick", DISPID_DOCLICK, \
-			COleControl::DoClick, VT_EMPTY, VTS_NONE)
-
-/////////////////////////////////////////////////////////////////////////////
-// Macros for object factory and class ID
-
-#define BEGIN_OLEFACTORY(class_name) \
-protected: \
-	class class_name##Factory : public COleObjectFactoryEx \
-	{ \
-	public: \
-		class_name##Factory(REFCLSID clsid, CRuntimeClass* pRuntimeClass, \
-			BOOL bMultiInstance, LPCTSTR lpszProgID) : \
-				COleObjectFactoryEx(clsid, pRuntimeClass, bMultiInstance, \
-				lpszProgID) {} \
-		virtual BOOL UpdateRegistry(BOOL);
-
-#define END_OLEFACTORY(class_name) \
-	}; \
-	friend class class_name##Factory; \
-	static AFX_DATA class_name##Factory factory; \
-public: \
-	static AFX_DATA const GUID guid; \
-	virtual HRESULT GetClassID(LPCLSID pclsid);
-
-#define DECLARE_OLECREATE_EX(class_name) \
-	BEGIN_OLEFACTORY(class_name) \
-	END_OLEFACTORY(class_name)
-
-#define IMPLEMENT_OLECREATE_EX(class_name, external_name, \
-			l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
-	const TCHAR _szProgID_##class_name[] = _T(external_name); \
-	AFX_DATADEF class_name::class_name##Factory class_name::factory( \
-		class_name::guid, RUNTIME_CLASS(class_name), FALSE, \
-		_szProgID_##class_name); \
-	const AFX_DATADEF GUID class_name::guid = \
-		{ l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }; \
-	HRESULT class_name::GetClassID(LPCLSID pclsid) \
-		{ *pclsid = guid; return NOERROR; }
-
-/////////////////////////////////////////////////////////////////////////////
-// Macros for type name and misc status
-
-#define DECLARE_OLECTLTYPE(class_name) \
-	virtual UINT GetUserTypeNameID(); \
-	virtual DWORD GetMiscStatus();
-
-#define IMPLEMENT_OLECTLTYPE(class_name, idsUserTypeName, dwOleMisc) \
-	UINT class_name::GetUserTypeNameID() { return idsUserTypeName; } \
-	DWORD class_name::GetMiscStatus() { return dwOleMisc; }
-
-/////////////////////////////////////////////////////////////////////////////
-// Macros for property page IDs
-
-#define DECLARE_PROPPAGEIDS(class_name) \
-	protected: \
-		virtual LPCLSID GetPropPageIDs(ULONG& cPropPages);
-
-#define BEGIN_PROPPAGEIDS(class_name, count) \
-	static CLSID _rgPropPageIDs_##class_name[count]; \
-	AFX_COMDAT ULONG _cPropPages_##class_name = (ULONG)-1; \
-	LPCLSID class_name::GetPropPageIDs(ULONG& cPropPages) { \
-		if (_cPropPages_##class_name == (ULONG)-1) { \
-			_cPropPages_##class_name = count; \
-			LPCLSID pIDs = _rgPropPageIDs_##class_name; \
-			ULONG iPageMax = count; \
-			ULONG iPage = 0;
-
-#define PROPPAGEID(clsid) \
-			ASSERT(iPage < iPageMax); \
-			if (iPage < iPageMax) \
-				pIDs[iPage++] = clsid;
-
-#define END_PROPPAGEIDS(class_name) \
-			ASSERT(iPage == iPageMax); \
-		} \
-		cPropPages = _cPropPages_##class_name; \
-		return _rgPropPageIDs_##class_name; }
-
-/////////////////////////////////////////////////////////////////////////////
-// CFontHolder - helper class for dealing with font objects
-
-class CFontHolder
-{
-// Constructors
-public:
-	CFontHolder(LPPROPERTYNOTIFYSINK pNotify);
-
-// Attributes
-	LPFONT m_pFont;
-
-// Operations
-	void InitializeFont(
-			const FONTDESC* pFontDesc = NULL,
-			LPDISPATCH pFontDispAmbient = NULL);
-	void SetFont(LPFONT pNewFont);
-	void ReleaseFont();
-	HFONT GetFontHandle();
-	HFONT GetFontHandle(long cyLogical, long cyHimetric);
-	CFont* Select(CDC* pDC, long cyLogical, long cyHimetric);
-	BOOL GetDisplayString(CString& strValue);
-	LPFONTDISP GetFontDispatch();
-	void QueryTextMetrics(LPTEXTMETRIC lptm);
-
-// Implementation
-public:
-	~CFontHolder();
-	void SetFontNotifySink(LPPROPERTYNOTIFYSINK pNotify);
-
-protected:
-	DWORD m_dwConnectCookie;
-	LPPROPERTYNOTIFYSINK m_pNotify;
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CPictureHolder - helper class for dealing with picture objects
-
-class CPictureHolder
-{
-// Constructors
-public:
-	CPictureHolder();
-
-// Attributes
-	LPPICTURE m_pPict;
-
-// Operations
-	BOOL CreateEmpty();
-
-	BOOL CreateFromBitmap(UINT idResource);
-	BOOL CreateFromBitmap(CBitmap* pBitmap, CPalette* pPal = NULL,
-		BOOL bTransferOwnership = TRUE);
-	BOOL CreateFromBitmap(HBITMAP hbm, HPALETTE hpal = NULL,
-		BOOL bTransferOwnership = FALSE);
-
-	BOOL CreateFromMetafile(HMETAFILE hmf, int xExt, int yExt,
-		BOOL bTransferOwnership = FALSE);
-
-	BOOL CreateFromIcon(UINT idResource);
-	BOOL CreateFromIcon(HICON hIcon, BOOL bTransferOwnership = FALSE);
-
-	short GetType();
-	BOOL GetDisplayString(CString& strValue);
-	LPPICTUREDISP GetPictureDispatch();
-	void SetPictureDispatch(LPPICTUREDISP pDisp);
-	void Render(CDC* pDC, const CRect& rcRender, const CRect& rcWBounds);
-
-// Implementation
-public:
-	~CPictureHolder();
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CDataPathProperty - Asynchonous properties for OLE Controls
-
-class CDataPathProperty: public CAsyncMonikerFile
-{
-	DECLARE_DYNAMIC(CDataPathProperty)
-// Constructors
-public:
-	CDataPathProperty(COleControl* pControl = NULL);
-	CDataPathProperty(LPCTSTR lpszPath, COleControl* pControl = NULL);
-	// Calls SetPath(pControl) and SetPath(lpszPath) as appropriate.
-
-// Attributes
-public:
-	void SetPath(LPCTSTR lpszPath);
-	// Sets the path to be opened by Open(COleControl*) and Open()
-	// lpszPath may be NULL.
-
-	CString GetPath() const;
-	// Returns the current path setting.  Result may be empty.
-
-	COleControl* GetControl();
-	// Returns a Pointer to the control.  Result may be NULL.
-
-	void SetControl(COleControl* pControl);
-	// Sets the control which will be used with Open.  pControl may be NULL.
-
-// Operations
-public:
-	// Overloads of Open takings some or all of: a path, a control,
-	// and a CFileException
-	// Overloads taking a COleControl call SetControl(pControl)
-	// Overloads taking an LPCTSTR cal SetPath(lpszPath)
-	virtual BOOL Open(COleControl* pControl, CFileException* pError = NULL);
-	virtual BOOL Open(LPCTSTR lpszPath, COleControl* pControl,
-		CFileException* pError = NULL);
-	virtual BOOL Open(LPCTSTR lpszPath, CFileException* pError = NULL);
-	virtual BOOL Open(CFileException* pError = NULL);
-	// Attempts to obtain an IBindHost* from the control returned by
-	// GetControl(). Calls CAsyncMonikerFile::Open with the path returned by
-	// GetPath() and, if it was obtained, the IBindHost*.
-	// Returns TRUE if successful.
-
-// Overridables
-public:
-	virtual void ResetData();
-	// Derived classes should overide this.
-
-// Implementation
-public:
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-private:
-	COleControl* m_pControl;
-	CString m_strPath;
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CCachedDataPathProperty - Cached asynchonous properties for OLE Controls
-
-class CCachedDataPathProperty : public CDataPathProperty
-{
-	DECLARE_DYNAMIC(CCachedDataPathProperty)
-//Constructors
-public:
-	CCachedDataPathProperty(COleControl* pControl = NULL);
-	CCachedDataPathProperty(LPCTSTR lpszPath, COleControl* pControl = NULL);
-
-// Attributes
-public:
-	CMemFile m_Cache;
-
-// Implementation
-public:
-	virtual void OnDataAvailable(DWORD dwSize, DWORD bscfFlag);
-	virtual void Close();
-	virtual void ResetData();
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// COleControl - base class for a control implemented in C++ with MFC
-
-struct _AFXCTL_ADVISE_INFO;     // implementation class
-struct _AFXCTL_UIACTIVE_INFO;   // implementation class
-
-class CControlRectTracker : public CRectTracker
-{
-// Implementation
-public:
-	CControlRectTracker(LPCRECT lpSrcRect, UINT nStyle)
-		: CRectTracker(lpSrcRect, nStyle) { }
-	CRect m_rectClip;   // saves the original clipping rectangle
-};
-
-#ifdef _AFXDLL
-class COleControl : public CWnd
-#else
-class AFX_NOVTABLE COleControl : public CWnd
-#endif
-{
-	DECLARE_DYNAMIC(COleControl)
-
-// Constructors
-public:
-	COleControl();
-
-// Operations
-
-	// Initialization
-	void SetInitialSize(int cx, int cy);
-	void InitializeIIDs(const IID* piidPrimary, const IID* piidEvents);
-
-	// Invalidating
-	void InvalidateControl(LPCRECT lpRect = NULL, BOOL bErase = TRUE);
-
-	// Modified flag
-	BOOL IsModified();
-	void SetModifiedFlag(BOOL bModified = TRUE);
-
-	// Drawing operations
-	void DoSuperclassPaint(CDC* pDC, const CRect& rcBounds);
-	BOOL IsOptimizedDraw();
-
-	// Property exchange
-	BOOL ExchangeVersion(CPropExchange* pPX, DWORD dwVersionDefault,
-		BOOL bConvert = TRUE);
-	BOOL ExchangeExtent(CPropExchange* pPX);
-	void ExchangeStockProps(CPropExchange* pPX);
-	BOOL IsConvertingVBX();
-
-	DWORD SerializeVersion(CArchive& ar, DWORD dwVersionDefault,
-		BOOL bConvert = TRUE);
-	void SerializeExtent(CArchive& ar);
-	void SerializeStockProps(CArchive& ar);
-
-	void ResetVersion(DWORD dwVersionDefault);
-	void ResetStockProps();
-
-	// Stock methods
-	void Refresh();
-	void DoClick();
-
-	// Stock properties
-	short GetAppearance();
-	void SetAppearance(short);
-	OLE_COLOR GetBackColor();
-	void SetBackColor(OLE_COLOR);
-	short GetBorderStyle();
-	void SetBorderStyle(short);
-	BOOL GetEnabled();
-	void SetEnabled(BOOL);
-	CFontHolder& InternalGetFont();
-	LPFONTDISP GetFont();
-	void SetFont(LPFONTDISP);
-	OLE_COLOR GetForeColor();
-	void SetForeColor(OLE_COLOR);
-	OLE_HANDLE GetHwnd();
-	const CString& InternalGetText();
-	BSTR GetText();
-	void SetText(LPCTSTR);
-	long GetReadyState();
-	void InternalSetReadyState(long lNewReadyState);
-
-	// Using colors
-	COLORREF TranslateColor(OLE_COLOR clrColor, HPALETTE hpal = NULL);
-
-	// Using fonts
-	CFont* SelectStockFont(CDC* pDC);
-	CFont* SelectFontObject(CDC* pDC, CFontHolder& fontHolder);
-	void GetStockTextMetrics(LPTEXTMETRIC lptm);
-	void GetFontTextMetrics(LPTEXTMETRIC lptm, CFontHolder& fontHolder);
-
-	// Client site access
-	LPOLECLIENTSITE GetClientSite();
-
-	// Generic ambient property access
-	BOOL GetAmbientProperty(DISPID dispid, VARTYPE vtProp, void* pvProp);
-	BOOL WillAmbientsBeValidDuringLoad();
-
-	// Specific ambient properties
-	short AmbientAppearance();
-	OLE_COLOR AmbientBackColor();
-	CString AmbientDisplayName();
-	LPFONTDISP AmbientFont();
-	OLE_COLOR AmbientForeColor();
-	LCID AmbientLocaleID();
-	CString AmbientScaleUnits();
-	short AmbientTextAlign();
-	BOOL AmbientUserMode();
-	BOOL AmbientUIDead();
-	BOOL AmbientShowGrabHandles();
-	BOOL AmbientShowHatching();
-
-	// Firing events
-	void AFX_CDECL FireEvent(DISPID dispid, BYTE* pbParams, ...);
-
-	// Firing functions for stock events
-	void FireKeyDown(USHORT* pnChar, short nShiftState);
-	void FireKeyUp(USHORT* pnChar, short nShiftState);
-	void FireKeyPress(USHORT* pnChar);
-	void FireMouseDown(short nButton, short nShiftState,
-		OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y);
-	void FireMouseUp(short nButton, short nShiftState,
-		OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y);
-	void FireMouseMove(short nButton, short nShiftState,
-		OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y);
-	void FireClick();
-	void FireDblClick();
-	void FireError(SCODE scode, LPCTSTR lpszDescription, UINT nHelpID = 0);
-	void FireReadyStateChange();
-
-	// Changing size and/or rectangle
-	BOOL GetRectInContainer(LPRECT lpRect);
-	BOOL SetRectInContainer(LPCRECT lpRect);
-	void GetControlSize(int* pcx, int* pcy);
-	BOOL SetControlSize(int cx, int cy);
-
-	// Window management
-	void RecreateControlWindow();
-
-	// Modal dialog operations
-	void PreModalDialog(HWND hWndParent = NULL);
-	void PostModalDialog(HWND hWndParent = NULL);
-
-	// Data binding operations
-	void BoundPropertyChanged(DISPID dispid);
-	BOOL BoundPropertyRequestEdit(DISPID dispid);
-
-	// Dispatch exceptions
-	void ThrowError(SCODE sc, UINT nDescriptionID, UINT nHelpID = -1);
-	void ThrowError(SCODE sc, LPCTSTR pszDescription = NULL, UINT nHelpID = 0);
-	void GetNotSupported();
-	void SetNotSupported();
-	void SetNotPermitted();
-
-	// Communication with the control site
-	void ControlInfoChanged();
-	BOOL LockInPlaceActive(BOOL bLock);
-	LPDISPATCH GetExtendedControl();
-	void TransformCoords(POINTL* lpptlHimetric,
-		POINTF* lpptfContainer, DWORD flags);
-
-	// Simple frame
-	void EnableSimpleFrame();
-
-	// Windowless operations
-	CWnd* SetCapture();
-	BOOL ReleaseCapture();
-	CWnd* GetCapture();
-	CWnd* SetFocus();
-	CWnd* GetFocus();
-	CDC* GetDC(LPCRECT lprcRect = NULL, DWORD dwFlags = OLEDC_PAINTBKGND);
-	int ReleaseDC(CDC* pDC);
-	void InvalidateRgn(CRgn* pRgn, BOOL bErase = TRUE);
-	void ScrollWindow(int xAmount, int yAmount, LPCRECT lpRect = NULL,
-		LPCRECT lpClipRect = NULL);
-	BOOL ClipCaretRect(LPRECT lpRect);
-	virtual void GetClientRect(LPRECT lpRect) const;
-
-// Overridables
-	virtual void DoPropExchange(CPropExchange* pPX);
-	virtual void OnResetState();
-	virtual void OnDraw(
-				CDC* pDC, const CRect& rcBounds, const CRect& rcInvalid);
-	virtual void OnDrawMetafile(CDC* pDC, const CRect& rcBounds);
-
-	// Class ID (implemented by IMPLEMENT_OLECREATE_EX macro)
-	virtual HRESULT GetClassID(LPCLSID pclsid) = 0;
-
-	// For customizing the default messages on the status bar
-	virtual void GetMessageString(UINT nID, CString& rMessage) const;
-
-	// Display of error events to user
-	virtual void DisplayError(SCODE scode, LPCTSTR lpszDescription,
-		LPCTSTR lpszSource, LPCTSTR lpszHelpFile, UINT nHelpID);
-
-	// IOleObject notifications
-	virtual void OnSetClientSite();
-	virtual BOOL OnSetExtent(LPSIZEL lpSizeL);
-	virtual void OnClose(DWORD dwSaveOption);
-
-	// IOleInPlaceObject notifications
-	virtual BOOL OnSetObjectRects(LPCRECT lpRectPos, LPCRECT lpRectClip);
-
-	// Event connection point notifications
-	virtual void OnEventAdvise(BOOL bAdvise);
-
-	// Override to hook firing of Click event
-	virtual void OnClick(USHORT iButton);
-
-	// Override to get character after key events have been processed.
-	virtual void OnKeyDownEvent(USHORT nChar, USHORT nShiftState);
-	virtual void OnKeyUpEvent(USHORT nChar, USHORT nShiftState);
-	virtual void OnKeyPressEvent(USHORT nChar);
-
-	// Change notifications
-	virtual void OnAppearanceChanged();
-	virtual void OnBackColorChanged();
-	virtual void OnBorderStyleChanged();
-	virtual void OnEnabledChanged();
-	virtual void OnTextChanged();
-	virtual void OnFontChanged();
-	virtual void OnForeColorChanged();
-
-	// IOleControl notifications
-	virtual void OnGetControlInfo(LPCONTROLINFO pControlInfo);
-	virtual void OnMnemonic(LPMSG pMsg);
-	virtual void OnAmbientPropertyChange(DISPID dispid);
-	virtual void OnFreezeEvents(BOOL bFreeze);
-
-	// In-place activation
-	virtual HMENU OnGetInPlaceMenu();
-	virtual void OnShowToolBars();
-	virtual void OnHideToolBars();
-
-	// IViewObject
-	virtual BOOL OnGetColorSet(DVTARGETDEVICE* ptd, HDC hicTargetDev,
-				LPLOGPALETTE* ppColorSet);
-	virtual BOOL OnGetViewExtent(DWORD dwDrawAspect, LONG lindex,
-		DVTARGETDEVICE* ptd, LPSIZEL lpsizel);
-	virtual BOOL OnGetViewRect(DWORD dwAspect, LPRECTL pRect);
-	virtual DWORD OnGetViewStatus();
-	virtual BOOL OnQueryHitPoint(DWORD dwAspect, LPCRECT pRectBounds,
-		POINT ptlLoc, LONG lCloseHint, DWORD* pHitResult);
-	virtual BOOL OnQueryHitRect(DWORD dwAspect, LPCRECT pRectBounds,
-		LPCRECT prcLoc, LONG lCloseHint, DWORD* pHitResult);
-	virtual BOOL OnGetNaturalExtent(DWORD dwAspect, LONG lindex,
-		DVTARGETDEVICE* ptd, HDC hicTargetDev, DVEXTENTINFO* pExtentInfo,
-		LPSIZEL psizel);
-
-	// IDataObject - see COleDataSource for a description of these overridables
-	virtual BOOL OnRenderGlobalData(LPFORMATETC lpFormatEtc, HGLOBAL* phGlobal);
-	virtual BOOL OnRenderFileData(LPFORMATETC lpFormatEtc, CFile* pFile);
-	virtual BOOL OnRenderData(LPFORMATETC lpFormatEtc, LPSTGMEDIUM lpStgMedium);
-	virtual BOOL OnSetData(LPFORMATETC lpFormatEtc, LPSTGMEDIUM lpStgMedium,
-		BOOL bRelease);
-
-	// Verbs
-	virtual BOOL OnEnumVerbs(LPENUMOLEVERB* ppenumOleVerb);
-	virtual BOOL OnDoVerb(LONG iVerb, LPMSG lpMsg, HWND hWndParent, LPCRECT lpRect);
-	virtual BOOL OnEdit(LPMSG lpMsg, HWND hWndParent, LPCRECT lpRect);
-	virtual BOOL OnProperties(LPMSG lpMsg, HWND hWndParent, LPCRECT lpRect);
-
-	// IPerPropertyBrowsing overrides
-	virtual BOOL OnGetDisplayString(DISPID dispid, CString& strValue);
-	virtual BOOL OnMapPropertyToPage(DISPID dispid, LPCLSID lpclsid,
-		BOOL* pbPageOptional);
-	virtual BOOL OnGetPredefinedStrings(DISPID dispid,
-		CStringArray* pStringArray, CDWordArray* pCookieArray);
-	virtual BOOL OnGetPredefinedValue(DISPID dispid, DWORD dwCookie,
-		VARIANT* lpvarOut);
-
-	// Subclassing
-	virtual BOOL IsSubclassedControl();
-
-	// Window reparenting
-	virtual void ReparentControlWindow(HWND hWndOuter, HWND hWndParent);
-
-	// Window procedure
-	virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
-
-	// General-purpose flags
-	enum ControlFlags {
-		fastBeginPaint      = 0x0001,
-		clipPaintDC         = 0x0002,
-		pointerInactive     = 0x0004,
-		noFlickerActivate   = 0x0008,
-		windowlessActivate  = 0x0010,
-		canOptimizeDraw     = 0x0020,
-	};
-	virtual DWORD GetControlFlags();
-
-	// Inactive pointer handling
-	virtual DWORD GetActivationPolicy();
-	virtual BOOL OnInactiveSetCursor(LPCRECT lprcBounds, long x, long y,
-		DWORD dwMouseMsg, BOOL bSetAlways);
-	virtual void OnInactiveMouseMove(LPCRECT lprcBounds, long x, long y,
-		DWORD dwKeyState);
-
-	// Windowless activation handling
-	virtual BOOL OnWindowlessMessage(UINT msg, WPARAM wParam, LPARAM lParam,
-		LRESULT* plResult);
-	virtual IDropTarget* GetWindowlessDropTarget();
-
-	// Inactive/windowless helper functions
-	virtual void GetClientOffset(long* pdxOffset, long* pdyOffset) const;
-	virtual UINT ParentToClient(LPCRECT lprcBounds, LPPOINT pPoint,
-		BOOL bHitTest = FALSE) const;
-	virtual void ClientToParent(LPCRECT lprcBounds, LPPOINT pPoint) const;
-
-	// Asynchronous properties
-	void Load(LPCTSTR strNewPath, CDataPathProperty& prop);
-
-// Implementation
-public:
-	~COleControl();
-	void RequestAsynchronousExchange(DWORD dwVersion);
-
-#ifdef MFC_DEBUG
-	void AssertValid() const;
-	void Dump(CDumpContext& dc) const;
-#endif // MFC_DEBUG
-
-protected:
-	// Friend classes
-	friend class COleControlInnerUnknown;
-	friend class CReflectorWnd;
-	friend class CControlFrameWnd;
-
-	// Interface hook for primary automation interface
-	LPUNKNOWN GetInterfaceHook(const void* piid);
-
-	// Shutdown
-	virtual void OnFinalRelease();
-	void ReleaseCaches();
-
-	// Window management
-	virtual BOOL CreateControlWindow(HWND hWndParent, const CRect& rcPos,
-		LPCRECT prcClipped = NULL);
-	void CreateWindowForSubclassedControl();
-	BOOL IgnoreWindowMessage(UINT msg, WPARAM wParam, LPARAM lParam,
-		LRESULT* plResult);
-	virtual LRESULT DefWindowProc(UINT nMsg, WPARAM wParam, LPARAM lParam);
-
-	// Serialization
-	HRESULT SaveState(IStream* pStm);
-	HRESULT LoadState(IStream* pStm);
-	virtual void Serialize(CArchive& ar);
-
-	// Drawing
-	void DrawContent(CDC* pDC, CRect& rc);
-	void DrawMetafile(CDC* pDC, CRect& rc);
-	BOOL GetMetafileData(LPFORMATETC lpFormatEtc, LPSTGMEDIUM lpStgMedium);
-
-	// Implementation of IDataObject
-	// CControlDataSource implements OnRender reflections to COleControl
-	class CControlDataSource : public COleDataSource
-	{
-	public:
-		CControlDataSource(COleControl* pCtrl);
-	protected:
-		virtual BOOL OnRenderGlobalData(LPFORMATETC lpFormatEtc, HGLOBAL* phGlobal);
-		virtual BOOL OnRenderFileData(LPFORMATETC lpFormatEtc, CFile* pFile);
-		virtual BOOL OnRenderData(LPFORMATETC lpFormatEtc, LPSTGMEDIUM lpStgMedium);
-		virtual BOOL OnSetData(LPFORMATETC lpFormatEtc, LPSTGMEDIUM lpStgMedium,
-			BOOL bRelease);
-		COleControl* m_pCtrl;
-	};
-	friend class CControlDataSource;
-
-	// IDataObject formats
-	CControlDataSource* GetDataSource();
-	virtual void SetInitialDataFormats();
-	BOOL GetPropsetData(LPFORMATETC lpFormatEtc, LPSTGMEDIUM lpStgMedium,
-		REFCLSID fmtid);
-	BOOL SetPropsetData(LPFORMATETC lpFormatEtc, LPSTGMEDIUM lpStgMedium,
-		REFCLSID fmtid);
-
-	// Type library
-	BOOL GetDispatchIID(IID* pIID);
-
-	// Connection point container
-	virtual LPCONNECTIONPOINT GetConnectionHook(REFIID iid);
-	virtual BOOL GetExtraConnectionPoints(CPtrArray* pConnPoints);
-
-	// Events
-	static const AFX_DATA AFX_EVENTMAP_ENTRY _eventEntries[];
-	virtual const AFX_EVENTMAP* GetEventMap() const;
-	static const AFX_DATA AFX_EVENTMAP eventMap;
-	const AFX_EVENTMAP_ENTRY* GetEventMapEntry(LPCTSTR pszName,
-		DISPID* pDispid) const;
-	void FireEventV(DISPID dispid, BYTE* pbParams, va_list argList);
-
-	// Stock events
-	void KeyDown(USHORT* pnChar);
-	void KeyUp(USHORT* pnChar);
-	void ButtonDown(USHORT iButton, UINT nFlags, CPoint point);
-	void ButtonUp(USHORT iButton, UINT nFlags, CPoint point);
-	void ButtonDblClk(USHORT iButton, UINT nFlags, CPoint point);
-
-	// Masks to identify which stock events and properties are used
-	void InitStockEventMask();
-	void InitStockPropMask();
-	DWORD GetStockEventMask() const;
-	DWORD GetStockPropMask() const;
-
-	// Support for subclassing a Windows control
-	CWnd* GetOuterWindow() const;       // m_pReflect if any, otherwise this
-	virtual void OnReflectorDestroyed();
-
-	// Aggregation of default handler
-	virtual BOOL OnCreateAggregates();
-	LPVOID QueryDefHandler(REFIID iid);
-
-	// State change notifications
-	void SendAdvise(UINT uCode);
-
-	// Non-in-place activation
-	virtual HRESULT OnOpen(BOOL bTryInPlace, LPMSG pMsg);
-#ifdef _AFXDLL
-	void ResizeOpenControl(int cx, int cy);
-	virtual CControlFrameWnd* CreateFrameWindow();
-	virtual void ResizeFrameWindow(int cx, int cy);
-	virtual void OnFrameClose();
-#endif
-	virtual HRESULT OnHide();
-
-	// In-place activation
-	virtual HRESULT OnActivateInPlace(BOOL bUIActivate, LPMSG pMsg);
-	void ForwardActivationMsg(LPMSG pMsg);
-	virtual void AddFrameLevelUI();
-	virtual void RemoveFrameLevelUI();
-	virtual BOOL BuildSharedMenu();
-	virtual void DestroySharedMenu();
-
-	// Property sheet
-	virtual LPCLSID GetPropPageIDs(ULONG& cPropPages);
-
-	// IOleObject implementation
-	void GetUserType(LPTSTR pszUserType);
-	virtual UINT GetUserTypeNameID() = 0;
-	virtual DWORD GetMiscStatus() = 0;
-
-	// Rectangle tracker
-	void CreateTracker(BOOL bHandles, BOOL bHatching);
-	void CreateTracker(BOOL bHandles, BOOL bHatching, LPCRECT prcClip);
-	void DestroyTracker();
-
-	// Automation
-	BOOL IsInvokeAllowed(DISPID dispid);
-
-	// Ambient property interface initialization
-	COleDispatchDriver* GetAmbientDispatchDriver();
-
-	// Data members
-	const IID* m_piidPrimary;           // IID for control automation
-	const IID* m_piidEvents;            // IID for control events
-	DWORD m_dwVersionLoaded;            // Version number of loaded state
-	COleDispatchDriver m_ambientDispDriver; // Driver for ambient properties
-	ULONG m_cEventsFrozen;              // Event freeze count (>0 means frozen)
-	union
-	{
-#ifdef _AFXDLL
-		CControlFrameWnd* m_pWndOpenFrame;  // Open frame window.
-#endif
-		CControlRectTracker* m_pRectTracker;       // Tracker for UI active control
-	};
-	CRect m_rcPos;                      // Control's position rectangle
-	CRect m_rcBounds;                   // Bounding rectangle for drawing
-	CPoint m_ptOffset;                  // Child window origin
-	long m_cxExtent;                    // Control's width in HIMETRIC units
-	long m_cyExtent;                    // Control's height in HIMETRIC units
-	class CReflectorWnd* m_pReflect;    // Reflector window
-	UINT m_nIDTracking;                 // Tracking command ID or string IDS
-	UINT m_nIDLastMessage;              // Last displayed message string IDS
-	unsigned m_bAutoMenuEnable : 1;     // Disable menu items without handlers?
-	unsigned m_bFinalReleaseCalled : 1; // Are we handling the final Release?
-	unsigned m_bModified : 1;           // "Dirty" bit.
-	unsigned m_bCountOnAmbients : 1;    // Can we count on Ambients during load?
-	unsigned m_iButtonState : 3;        // Which buttons are down?
-	unsigned m_iDblClkState : 3;        // Which buttons involved in dbl click?
-	unsigned m_bInPlaceActive : 1;      // Are we in-place active?
-	unsigned m_bUIActive : 1;           // Are we UI active?
-	unsigned m_bPendingUIActivation : 1; // Are we about to become UI active?
-#ifdef _AFXDLL
-	unsigned m_bOpen : 1;               // Are we open (non-in-place)?
-#endif
-	unsigned m_bChangingExtent : 1;     // Extent is currently being changed
-	unsigned m_bConvertVBX : 1;         // VBX conversion in progress
-	unsigned m_bSimpleFrame : 1;        // Simple frame support
-	unsigned m_bUIDead : 1;             // UIDead ambient property value
-	unsigned m_bInitialized : 1;        // Was IPersist*::{InitNew,Load} called?
-	unsigned m_bAutoClip : 1;           // Does container automatically clip?
-	unsigned m_bMsgReflect : 1;         // Does container reflect messages?
-	unsigned m_bInPlaceSiteEx : 1;      // Extended in-place site?
-	unsigned m_bInPlaceSiteWndless : 1; // Windowless in-place site?
-	unsigned m_bNoRedraw : 1;           // Should we skip OnPaint this time?
-	unsigned m_bOptimizedDraw : 1;      // Is optimized drawing possible?
-
-	// Stock properties
-	OLE_COLOR m_clrBackColor;           // BackColor
-	OLE_COLOR m_clrForeColor;           // ForeColor
-	CString m_strText;                  // Text/Caption
-	CFontHolder m_font;                 // Font
-	HFONT m_hFontPrev;                  // Previously selected font object
-	short m_sAppearance;                // Appearance
-	short m_sBorderStyle;               // BorderStyle
-	BOOL m_bEnabled;                    // Enabled
-	long m_lReadyState;                 // ReadyState
-
-	// UI Active info (shared OLE menu data)
-	_AFXCTL_UIACTIVE_INFO* m_pUIActiveInfo;
-
-	// Default Handler aggregation
-	LPUNKNOWN m_pDefIUnknown;
-	_AFXCTL_ADVISE_INFO* m_pAdviseInfo;
-	LPPERSISTSTORAGE m_pDefIPersistStorage;
-	LPVIEWOBJECT m_pDefIViewObject;
-	LPOLECACHE m_pDefIOleCache;
-
-	// OLE client site interfaces
-	LPOLECLIENTSITE m_pClientSite;          // Client site
-	union
-	{
-		LPOLEINPLACESITE m_pInPlaceSite;    // In-place site
-		LPOLEINPLACESITEEX m_pInPlaceSiteEx;
-		LPOLEINPLACESITEWINDOWLESS m_pInPlaceSiteWndless;
-	};
-	LPOLECONTROLSITE m_pControlSite;        // Control site
-	LPOLEADVISEHOLDER m_pOleAdviseHolder;   // Advise holder
-	LPDATAADVISEHOLDER m_pDataAdviseHolder; // Data advise holder
-	LPSIMPLEFRAMESITE m_pSimpleFrameSite;   // Simple frame site
-
-	// OLE in-place activation info
-	LPOLEINPLACEFRAME m_pInPlaceFrame;
-	OLEINPLACEFRAMEINFO m_frameInfo;
-	LPOLEINPLACEUIWINDOW m_pInPlaceDoc;
-
-	// OLE data source
-	CControlDataSource* m_pDataSource;
-
-	// OLE data path load data
-	BOOL m_bDataPathPropertiesLoaded;
-	DWORD m_dwDataPathVersionToReport;
-
-// Message Maps
-protected:
-	//{{AFX_MSG(COleControl)
-	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
-	afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
-	afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
-	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
-	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
-	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
-	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
-	afx_msg void OnMButtonDown(UINT nFlags, CPoint point);
-	afx_msg void OnMButtonUp(UINT nFlags, CPoint point);
-	afx_msg void OnMButtonDblClk(UINT nFlags, CPoint point);
-	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
-	afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
-	afx_msg void OnRButtonDblClk(UINT nFlags, CPoint point);
-	afx_msg void OnInitMenuPopup(CMenu*, UINT, BOOL);
-	afx_msg void OnMenuSelect(UINT nItemID, UINT nFlags, HMENU hSysMenu);
-	afx_msg LRESULT OnSetMessageString(WPARAM wParam, LPARAM lParam);
-	afx_msg void OnEnterIdle(UINT nWhy, CWnd* pWho);
-	afx_msg void OnCancelMode();
-	afx_msg void OnPaint(CDC* pDC);
-	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
-	afx_msg void OnSysKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
-	afx_msg void OnSysKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
-	afx_msg int  OnMouseActivate(CWnd *pDesktopWnd, UINT nHitTest, UINT message);
-	afx_msg LRESULT OnSetText(WPARAM wParam, LPARAM lParam);
-	afx_msg BOOL OnNcCreate(LPCREATESTRUCT lpCreateStruct);
-	afx_msg void OnDestroy();
-	afx_msg  void OnKillFocus(CWnd* pNewWnd);
-	afx_msg void OnSetFocus(CWnd* pOldWnd);
-	afx_msg void OnNcPaint();
-	afx_msg void OnNcCalcSize(BOOL bCalcValidRects, NCCALCSIZE_PARAMS* lpncsp);
-	afx_msg UINT OnNcHitTest(CPoint point);
-	afx_msg void OnNcLButtonDown(UINT nHitTest, CPoint point);
-	afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
-	afx_msg UINT OnGetDlgCode();
-	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
-	afx_msg void OnSize(UINT nType, int cx, int cy);
-	afx_msg void OnMove(int x, int y);
-	afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
-	//}}AFX_MSG
-
-	afx_msg LRESULT OnOcmCtlColorBtn(WPARAM wParam, LPARAM lParam);
-	afx_msg LRESULT OnOcmCtlColorDlg(WPARAM wParam, LPARAM lParam);
-	afx_msg LRESULT OnOcmCtlColorEdit(WPARAM wParam, LPARAM lParam);
-	afx_msg LRESULT OnOcmCtlColorListBox(WPARAM wParam, LPARAM lParam);
-	afx_msg LRESULT OnOcmCtlColorMsgBox(WPARAM wParam, LPARAM lParam);
-	afx_msg LRESULT OnOcmCtlColorScrollBar(WPARAM wParam, LPARAM lParam);
-	afx_msg LRESULT OnOcmCtlColorStatic(WPARAM wParam, LPARAM lParam);
-
-	DECLARE_MESSAGE_MAP()
-
-	// button handler helpers
-	void OnButtonUp(USHORT nButton, UINT nFlags, CPoint point);
-	void OnButtonDown(USHORT nButton, UINT nFlags, CPoint point);
-	void OnButtonDblClk(USHORT nButton, UINT nFlags, CPoint point);
-
-// Interface Maps
-public:
-	// IPersistStorage
-	BEGIN_INTERFACE_PART(PersistStorage, IPersistStorage)
-		INIT_INTERFACE_PART(COleControl, PersistStorage)
-		STDMETHOD(GetClassID)(LPCLSID);
-		STDMETHOD(IsDirty)();
-		STDMETHOD(InitNew)(LPSTORAGE);
-		STDMETHOD(Load)(LPSTORAGE);
-		STDMETHOD(Save)(LPSTORAGE, BOOL);
-		STDMETHOD(SaveCompleted)(LPSTORAGE);
-		STDMETHOD(HandsOffStorage)();
-	END_INTERFACE_PART_STATIC(PersistStorage)
-
-	// IPersistStreamInit
-	BEGIN_INTERFACE_PART(PersistStreamInit, IPersistStreamInit)
-		INIT_INTERFACE_PART(COleControl, PersistStreamInit)
-		STDMETHOD(GetClassID)(LPCLSID);
-		STDMETHOD(IsDirty)();
-		STDMETHOD(Load)(LPSTREAM);
-		STDMETHOD(Save)(LPSTREAM, BOOL);
-		STDMETHOD(GetSizeMax)(ULARGE_INTEGER *);
-		STDMETHOD(InitNew)();
-	END_INTERFACE_PART_STATIC(PersistStreamInit)
-
-	// IPersistMemory
-	BEGIN_INTERFACE_PART(PersistMemory, IPersistMemory)
-		INIT_INTERFACE_PART(COleControl, PersistMemory)
-		STDMETHOD(GetClassID)(LPCLSID);
-		STDMETHOD(IsDirty)();
-		STDMETHOD(Load)(LPVOID, ULONG);
-		STDMETHOD(Save)(LPVOID, BOOL, ULONG);
-		STDMETHOD(GetSizeMax)(ULONG*);
-		STDMETHOD(InitNew)();
-	END_INTERFACE_PART_STATIC(PersistMemory)
-
-	// IPersistPropertyBag
-	BEGIN_INTERFACE_PART(PersistPropertyBag, IPersistPropertyBag)
-		INIT_INTERFACE_PART(COleControl, PersistPropertyBag)
-		STDMETHOD(GetClassID)(LPCLSID);
-		STDMETHOD(InitNew)();
-		STDMETHOD(Load)(LPPROPERTYBAG, LPERRORLOG);
-		STDMETHOD(Save)(LPPROPERTYBAG, BOOL, BOOL);
-	END_INTERFACE_PART_STATIC(PersistPropertyBag)
-
-	// IOleObject
-	BEGIN_INTERFACE_PART(OleObject, IOleObject)
-		INIT_INTERFACE_PART(COleControl, OleObject)
-		STDMETHOD(SetClientSite)(LPOLECLIENTSITE);
-		STDMETHOD(GetClientSite)(LPOLECLIENTSITE*);
-		STDMETHOD(SetHostNames)(LPCOLESTR, LPCOLESTR);
-		STDMETHOD(Close)(DWORD);
-		STDMETHOD(SetMoniker)(DWORD, LPMONIKER);
-		STDMETHOD(GetMoniker)(DWORD, DWORD, LPMONIKER*);
-		STDMETHOD(InitFromData)(LPDATAOBJECT, BOOL, DWORD);
-		STDMETHOD(GetClipboardData)(DWORD, LPDATAOBJECT*);
-		STDMETHOD(DoVerb)(LONG, LPMSG, LPOLECLIENTSITE, LONG, HWND, LPCRECT);
-		STDMETHOD(EnumVerbs)(IEnumOLEVERB**);
-		STDMETHOD(Update)();
-		STDMETHOD(IsUpToDate)();
-		STDMETHOD(GetUserClassID)(CLSID*);
-		STDMETHOD(GetUserType)(DWORD, LPOLESTR*);
-		STDMETHOD(SetExtent)(DWORD, LPSIZEL);
-		STDMETHOD(GetExtent)(DWORD, LPSIZEL);
-		STDMETHOD(Advise)(LPADVISESINK, LPDWORD);
-		STDMETHOD(Unadvise)(DWORD);
-		STDMETHOD(EnumAdvise)(LPENUMSTATDATA*);
-		STDMETHOD(GetMiscStatus)(DWORD, LPDWORD);
-		STDMETHOD(SetColorScheme)(LPLOGPALETTE);
-	END_INTERFACE_PART(OleObject)
-
-	// IViewObjectEx
-	BEGIN_INTERFACE_PART(ViewObject, IViewObjectEx)
-		INIT_INTERFACE_PART(COleControl, ViewObject)
-		STDMETHOD(Draw)(DWORD, LONG, void*, DVTARGETDEVICE*, HDC, HDC,
-			LPCRECTL, LPCRECTL, BOOL (CALLBACK*)(DWORD), DWORD);
-		STDMETHOD(GetColorSet)(DWORD, LONG, void*, DVTARGETDEVICE*,
-			HDC, LPLOGPALETTE*);
-		STDMETHOD(Freeze)(DWORD, LONG, void*, DWORD*);
-		STDMETHOD(Unfreeze)(DWORD);
-		STDMETHOD(SetAdvise)(DWORD, DWORD, LPADVISESINK);
-		STDMETHOD(GetAdvise)(DWORD*, DWORD*, LPADVISESINK*);
-		STDMETHOD(GetExtent) (DWORD, LONG, DVTARGETDEVICE*, LPSIZEL);
-		STDMETHOD(GetRect)(DWORD, LPRECTL);
-		STDMETHOD(GetViewStatus)(DWORD*);
-		STDMETHOD(QueryHitPoint)(DWORD, LPCRECT, POINT, LONG, DWORD*);
-		STDMETHOD(QueryHitRect)(DWORD, LPCRECT, LPCRECT, LONG, DWORD*);
-		STDMETHOD(GetNaturalExtent)(DWORD, LONG, DVTARGETDEVICE*, HDC,
-			DVEXTENTINFO*, LPSIZEL);
-	END_INTERFACE_PART(ViewObject)
-
-	// IDataObject
-	BEGIN_INTERFACE_PART(DataObject, IDataObject)
-		INIT_INTERFACE_PART(COleControl, DataObject)
-		STDMETHOD(GetData)(LPFORMATETC, LPSTGMEDIUM);
-		STDMETHOD(GetDataHere)(LPFORMATETC, LPSTGMEDIUM);
-		STDMETHOD(QueryGetData)(LPFORMATETC);
-		STDMETHOD(GetCanonicalFormatEtc)(LPFORMATETC, LPFORMATETC);
-		STDMETHOD(SetData)(LPFORMATETC, LPSTGMEDIUM, BOOL);
-		STDMETHOD(EnumFormatEtc)(DWORD, LPENUMFORMATETC*);
-		STDMETHOD(DAdvise)(LPFORMATETC, DWORD, LPADVISESINK, LPDWORD);
-		STDMETHOD(DUnadvise)(DWORD);
-		STDMETHOD(EnumDAdvise)(LPENUMSTATDATA*);
-	END_INTERFACE_PART_STATIC(DataObject)
-
-	// IOleInPlaceObject
-	BEGIN_INTERFACE_PART(OleInPlaceObject, IOleInPlaceObjectWindowless)
-		INIT_INTERFACE_PART(COleControl, OleInPlaceObject)
-		STDMETHOD(GetWindow)(HWND*);
-		STDMETHOD(ContextSensitiveHelp)(BOOL);
-		STDMETHOD(InPlaceDeactivate)();
-		STDMETHOD(UIDeactivate)();
-		STDMETHOD(SetObjectRects)(LPCRECT, LPCRECT);
-		STDMETHOD(ReactivateAndUndo)();
-		STDMETHOD(OnWindowMessage)(UINT msg, WPARAM wParam, LPARAM lparam,
-			LRESULT* plResult);
-		STDMETHOD(GetDropTarget)(IDropTarget **ppDropTarget);
-	END_INTERFACE_PART(OleInPlaceObject)
-
-	// IOleInPlaceActiveObject
-	BEGIN_INTERFACE_PART(OleInPlaceActiveObject, IOleInPlaceActiveObject)
-		INIT_INTERFACE_PART(COleControl, OleInPlaceActiveObject)
-		STDMETHOD(GetWindow)(HWND*);
-		STDMETHOD(ContextSensitiveHelp)(BOOL);
-		STDMETHOD(TranslateAccelerator)(LPMSG);
-		STDMETHOD(OnFrameWindowActivate)(BOOL);
-		STDMETHOD(OnDocWindowActivate)(BOOL);
-		STDMETHOD(ResizeBorder)(LPCRECT, LPOLEINPLACEUIWINDOW, BOOL);
-		STDMETHOD(EnableModeless)(BOOL);
-	END_INTERFACE_PART(OleInPlaceActiveObject)
-
-	// IOleCache
-	BEGIN_INTERFACE_PART(OleCache, IOleCache)
-		INIT_INTERFACE_PART(COleControl, OleCache)
-		STDMETHOD(Cache)(LPFORMATETC, DWORD, LPDWORD);
-		STDMETHOD(Uncache)(DWORD);
-		STDMETHOD(EnumCache)(LPENUMSTATDATA*);
-		STDMETHOD(InitCache)(LPDATAOBJECT);
-		STDMETHOD(SetData)(LPFORMATETC, STGMEDIUM*, BOOL);
-	END_INTERFACE_PART_STATIC(OleCache)
-
-	// IOleControl
-	BEGIN_INTERFACE_PART(OleControl, IOleControl)
-		INIT_INTERFACE_PART(COleControl, OleControl)
-		STDMETHOD(GetControlInfo)(LPCONTROLINFO pCI);
-		STDMETHOD(OnMnemonic)(LPMSG pMsg);
-		STDMETHOD(OnAmbientPropertyChange)(DISPID dispid);
-		STDMETHOD(FreezeEvents)(BOOL bFreeze);
-	END_INTERFACE_PART(OleControl)
-
-	// IProvideClassInfo2
-	BEGIN_INTERFACE_PART(ProvideClassInfo, IProvideClassInfo2)
-		INIT_INTERFACE_PART(COleControl, ProvideClassInfo)
-		STDMETHOD(GetClassInfo)(LPTYPEINFO* ppTypeInfo);
-		STDMETHOD(GetGUID)(DWORD dwGuidKind, GUID* pGUID);
-	END_INTERFACE_PART_STATIC(ProvideClassInfo)
-
-	// ISpecifyPropertyPages
-	BEGIN_INTERFACE_PART(SpecifyPropertyPages, ISpecifyPropertyPages)
-		INIT_INTERFACE_PART(COleControl, SpecifyPropertyPages)
-		STDMETHOD(GetPages)(CAUUID*);
-	END_INTERFACE_PART_STATIC(SpecifyPropertyPages)
-
-	// IPerPropertyBrowsing
-	BEGIN_INTERFACE_PART(PerPropertyBrowsing, IPerPropertyBrowsing)
-		INIT_INTERFACE_PART(COleControl, PerPropertyBrowsing)
-		STDMETHOD(GetDisplayString)(DISPID dispid, BSTR* lpbstr);
-		STDMETHOD(MapPropertyToPage)(DISPID dispid, LPCLSID lpclsid);
-		STDMETHOD(GetPredefinedStrings)(DISPID dispid,
-			CALPOLESTR* lpcaStringsOut, CADWORD* lpcaCookiesOut);
-		STDMETHOD(GetPredefinedValue)(DISPID dispid, DWORD dwCookie,
-			VARIANT* lpvarOut);
-	END_INTERFACE_PART_STATIC(PerPropertyBrowsing)
-
-	// IPropertyNotifySink for font updates (not exposed via QueryInterface)
-	BEGIN_INTERFACE_PART(FontNotification, IPropertyNotifySink)
-		INIT_INTERFACE_PART(COleControl, FontNotification)
-		STDMETHOD(OnChanged)(DISPID dispid);
-		STDMETHOD(OnRequestEdit)(DISPID dispid);
-	END_INTERFACE_PART_STATIC(FontNotification)
-
-	// IQuickActivate
-	BEGIN_INTERFACE_PART(QuickActivate, IQuickActivate)
-		STDMETHOD(QuickActivate)(QACONTAINER *pQAContainer, QACONTROL *pqacontrol);
-		STDMETHOD(SetContentExtent)(LPSIZEL lpsizel);
-		STDMETHOD(GetContentExtent)(LPSIZEL lpsizel);
-	END_INTERFACE_PART_STATIC(QuickActivate)
-
-	// IPointerInactive
-	BEGIN_INTERFACE_PART(PointerInactive, IPointerInactive)
-		STDMETHOD(GetActivationPolicy)(DWORD* pdwPolicy);
-		STDMETHOD(OnInactiveSetCursor)(LPCRECT lprcBounds, long x, long y,
-			DWORD dwMouseMsg, BOOL bSetAlways);
-		STDMETHOD(OnInactiveMouseMove)(LPCRECT lprcBounds, long x, long y,
-			DWORD dwKeyState);
-	END_INTERFACE_PART_STATIC(PointerInactive)
-
-	DECLARE_INTERFACE_MAP()
-
-// Connection maps
-protected:
-	// Connection point for events
-	BEGIN_CONNECTION_PART(COleControl, EventConnPt)
-		virtual void OnAdvise(BOOL bAdvise);
-		virtual REFIID GetIID();
-		virtual LPUNKNOWN QuerySinkInterface(LPUNKNOWN pUnkSink);
-	END_CONNECTION_PART(EventConnPt)
-
-	// Connection point for property notifications
-	BEGIN_CONNECTION_PART(COleControl, PropConnPt)
-		CONNECTION_IID(IID_IPropertyNotifySink)
-	END_CONNECTION_PART(PropConnPt)
-
-	DECLARE_CONNECTION_MAP()
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// Registry functions
-
-enum AFX_REG_FLAGS
-{
-	afxRegDefault               = 0x0000,
-	afxRegInsertable            = 0x0001,
-	afxRegApartmentThreading    = 0x0002,
-};
-
-BOOL AFXAPI AfxOleRegisterTypeLib(HINSTANCE hInstance, REFGUID tlid,
-	LPCTSTR pszFileName = NULL, LPCTSTR pszHelpDir = NULL);
-
-BOOL AFXAPI AfxOleUnregisterTypeLib(REFGUID tlid, WORD wVerMajor = 0,
-	WORD wVerMinor = 0, LCID lcid = 0);
-
-BOOL AFXAPI AfxOleRegisterControlClass(HINSTANCE hInstance, REFCLSID clsid,
-	LPCTSTR pszProgID, UINT idTypeName, UINT idBitmap, int nRegFlags,
-	DWORD dwMiscStatus, REFGUID tlid, WORD wVerMajor, WORD wVerMinor);
-
-BOOL AFXAPI AfxOleUnregisterClass(REFCLSID clsid, LPCTSTR pszProgID);
-
-BOOL AFXAPI AfxOleRegisterPropertyPageClass(HINSTANCE hInstance,
-	REFCLSID clsid, UINT idTypeName);
-
-BOOL AFXAPI AfxOleRegisterPropertyPageClass(HINSTANCE hInstance,
-	REFCLSID clsid, UINT idTypeName, int nRegFlags);
-
-/////////////////////////////////////////////////////////////////////////////
-// Licensing functions
-
-BOOL AFXAPI AfxVerifyLicFile(HINSTANCE hInstance, LPCTSTR pszLicFileName,
-	LPCOLESTR pszLicFileContents, UINT cch=-1);
-
-/////////////////////////////////////////////////////////////////////////////
-// CPropExchange - Abstract base class for property exchange
-
-#ifdef _AFXDLL
-class CPropExchange
-#else
-class AFX_NOVTABLE CPropExchange
-#endif
-{
-// Operations
-public:
-	BOOL IsLoading();
-	DWORD GetVersion();
-
-	BOOL IsAsynchronous();
-	// FALSE -> Do Sync stuff, and start async stuff if possible
-	// TRUE -> Do not do Sync stuff.  Always start Async stuff
-
-	virtual BOOL ExchangeVersion(DWORD& dwVersionLoaded, DWORD dwVersionDefault,
-		BOOL bConvert);
-
-	virtual BOOL ExchangeProp(LPCTSTR pszPropName, VARTYPE vtProp,
-				void* pvProp, const void* pvDefault = NULL) = 0;
-	virtual BOOL ExchangeBlobProp(LPCTSTR pszPropName, HGLOBAL* phBlob,
-				HGLOBAL hBlobDefault = NULL) = 0;
-	virtual BOOL ExchangeFontProp(LPCTSTR pszPropName, CFontHolder& font,
-				const FONTDESC* pFontDesc,
-				LPFONTDISP pFontDispAmbient) = 0;
-	virtual BOOL ExchangePersistentProp(LPCTSTR pszPropName,
-				LPUNKNOWN* ppUnk, REFIID iid, LPUNKNOWN pUnkDefault) = 0;
-
-// Implementation
-protected:
-	CPropExchange();
-	BOOL m_bLoading;
-	BOOL m_bAsync;
-	DWORD m_dwVersion;
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// Property-exchange (PX_) helper functions
-
-BOOL AFX_CDECL PX_Short(CPropExchange* pPX, LPCTSTR pszPropName, short& sValue);
-
-BOOL AFX_CDECL PX_Short(CPropExchange* pPX, LPCTSTR pszPropName, short& sValue,
-	short sDefault);
-
-BOOL AFX_CDECL PX_UShort(CPropExchange* pPX, LPCTSTR pszPropName, USHORT& usValue);
-
-BOOL AFX_CDECL PX_UShort(CPropExchange* pPX, LPCTSTR pszPropName, USHORT& usValue,
-	USHORT usDefault);
-
-BOOL AFX_CDECL PX_Long(CPropExchange* pPX, LPCTSTR pszPropName, long& lValue);
-
-BOOL AFX_CDECL PX_Long(CPropExchange* pPX, LPCTSTR pszPropName, long& lValue,
-	long lDefault);
-
-BOOL AFX_CDECL PX_ULong(CPropExchange* pPX, LPCTSTR pszPropName, ULONG& ulValue);
-
-BOOL AFX_CDECL PX_ULong(CPropExchange* pPX, LPCTSTR pszPropName, ULONG& ulValue,
-	ULONG ulDefault);
-
-BOOL AFX_CDECL PX_Color(CPropExchange* pPX, LPCTSTR pszPropName, OLE_COLOR& clrValue);
-
-BOOL AFX_CDECL PX_Color(CPropExchange* pPX, LPCTSTR pszPropName, OLE_COLOR& clrValue,
-	OLE_COLOR clrDefault);
-
-BOOL AFX_CDECL PX_Bool(CPropExchange* pPX, LPCTSTR pszPropName, BOOL& bValue);
-
-BOOL AFX_CDECL PX_Bool(CPropExchange* pPX, LPCTSTR pszPropName, BOOL& bValue,
-	BOOL bDefault);
-
-BOOL AFX_CDECL PX_String(CPropExchange* pPX, LPCTSTR pszPropName, CString& strValue);
-
-BOOL AFX_CDECL PX_String(CPropExchange* pPX, LPCTSTR pszPropName, CString& strValue,
-	const CString& strDefault);
-BOOL AFX_CDECL PX_String(CPropExchange* pPX, LPCTSTR pszPropName, CString& strValue,
-	LPCTSTR lpszDefault);
-
-BOOL AFX_CDECL PX_Currency(CPropExchange* pPX, LPCTSTR pszPropName, CY& cyValue);
-
-BOOL AFX_CDECL PX_Currency(CPropExchange* pPX, LPCTSTR pszPropName, CY& cyValue,
-	CY cyDefault);
-
-BOOL AFX_CDECL PX_Float(CPropExchange* pPX, LPCTSTR pszPropName, float& floatValue);
-
-BOOL AFX_CDECL PX_Float(CPropExchange* pPX, LPCTSTR pszPropName, float& floatValue,
-	float floatDefault);
-
-BOOL AFX_CDECL PX_Double(CPropExchange* pPX, LPCTSTR pszPropName, double& doubleValue);
-
-BOOL AFX_CDECL PX_Double(CPropExchange* pPX, LPCTSTR pszPropName, double& doubleValue,
-	double doubleDefault);
-
-BOOL AFX_CDECL PX_Blob(CPropExchange* pPX, LPCTSTR pszPropName, HGLOBAL& hBlob,
-	HGLOBAL hBlobDefault = NULL);
-
-BOOL AFX_CDECL PX_Font(CPropExchange* pPX, LPCTSTR pszPropName, CFontHolder& font,
-	const FONTDESC* pFontDesc = NULL,
-	LPFONTDISP pFontDispAmbient = NULL);
-
-BOOL AFX_CDECL PX_Picture(CPropExchange* pPX, LPCTSTR pszPropName,
-	CPictureHolder& pict);
-
-BOOL AFX_CDECL PX_Picture(CPropExchange* pPX, LPCTSTR pszPropName,
-	CPictureHolder& pict, CPictureHolder& pictDefault);
-
-BOOL AFX_CDECL PX_IUnknown(CPropExchange* pPX, LPCTSTR pszPropName, LPUNKNOWN& pUnk,
-	REFIID iid, LPUNKNOWN pUnkDefault = NULL);
-
-BOOL AFX_CDECL PX_VBXFontConvert(CPropExchange* pPX, CFontHolder& font);
-
-BOOL AFX_CDECL PX_DataPath(CPropExchange* pPX, LPCTSTR pszPropName,
-	CDataPathProperty& dataPathProp, LPCTSTR pszDefault = NULL);
-
-BOOL AFX_CDECL PX_DataPath(CPropExchange* pPX, LPCTSTR pszPropName,
-	CDataPathProperty& dataPathProp, const CString& strDefault);
-
-/////////////////////////////////////////////////////////////////////////////
-// Structures used by COlePropertyPage
-
-typedef struct tagAFX_PPFIELDSTATUS
-{
-	UINT    nID;
-	BOOL    bDirty;
-
-} AFX_PPFIELDSTATUS;
-
-/////////////////////////////////////////////////////////////////////////////
-// Property Page Dialog Class
-
-#ifdef _AFXDLL
-class COlePropertyPage : public CDialog
-#else
-class AFX_NOVTABLE COlePropertyPage : public CDialog
-#endif
-{
-	DECLARE_DYNAMIC(COlePropertyPage)
-
-// Constructors
-public:
-	COlePropertyPage(UINT idDlg, UINT idCaption);
-
-// Operations
-	LPDISPATCH* GetObjectArray(ULONG* pnObjects);
-	void SetModifiedFlag(BOOL bModified = TRUE);
-	BOOL IsModified();
-	LPPROPERTYPAGESITE GetPageSite();
-	void SetDialogResource(HGLOBAL hDialog);
-	void SetPageName(LPCTSTR lpszPageName);
-	void SetHelpInfo(LPCTSTR lpszDocString, LPCTSTR lpszHelpFile = NULL,
-		DWORD dwHelpContext = 0);
-
-	BOOL GetControlStatus(UINT nID);
-	BOOL SetControlStatus(UINT nID, BOOL bDirty);
-	void IgnoreApply(UINT nID);
-
-	int MessageBox(LPCTSTR lpszText, LPCTSTR lpszCaption = NULL,
-			UINT nType = MB_OK);
-	// note that this is a non-virtual override of CWnd::MessageBox()
-
-// Overridables
-	virtual void OnSetPageSite();
-	virtual void OnObjectsChanged();
-	virtual BOOL OnHelp(LPCTSTR lpszHelpDir);
-	virtual BOOL OnInitDialog();
-	virtual BOOL OnEditProperty(DISPID dispid);
-
-// Implementation
-
-	// DDP_ property get/set helper routines
-	BOOL SetPropText(LPCTSTR pszPropName, BYTE &Value);
-	BOOL GetPropText(LPCTSTR pszPropName, BYTE* pValue);
-	BOOL SetPropText(LPCTSTR pszPropName, short &Value);
-	BOOL GetPropText(LPCTSTR pszPropName, short* pValue);
-	BOOL SetPropText(LPCTSTR pszPropName, int &Value);
-	BOOL GetPropText(LPCTSTR pszPropName, int* pValue);
-	BOOL SetPropText(LPCTSTR pszPropName, UINT &Value);
-	BOOL GetPropText(LPCTSTR pszPropName, UINT* pValue);
-	BOOL SetPropText(LPCTSTR pszPropName, long &Value);
-	BOOL GetPropText(LPCTSTR pszPropName, long* pValue);
-	BOOL SetPropText(LPCTSTR pszPropName, DWORD &Value);
-	BOOL GetPropText(LPCTSTR pszPropName, DWORD* pValue);
-	BOOL SetPropText(LPCTSTR pszPropName, CString &Value);
-	BOOL GetPropText(LPCTSTR pszPropName, CString* pValue);
-	BOOL SetPropText(LPCTSTR pszPropName, float &Value);
-	BOOL GetPropText(LPCTSTR pszPropName, float* pValue);
-	BOOL SetPropText(LPCTSTR pszPropName, double &Value);
-	BOOL GetPropText(LPCTSTR pszPropName, double* pValue);
-	BOOL SetPropCheck(LPCTSTR pszPropName, int Value);
-	BOOL GetPropCheck(LPCTSTR pszPropName, int* pValue);
-	BOOL SetPropRadio(LPCTSTR pszPropName, int Value);
-	BOOL GetPropRadio(LPCTSTR pszPropName, int* pValue);
-	BOOL SetPropIndex(LPCTSTR pszPropName, int Value);
-	BOOL GetPropIndex(LPCTSTR pszPropName, int* pValue);
-	CPtrArray m_arrayDDP;      // pending DDP data
-
-	// Destructors
-	~COlePropertyPage();
-
-protected:
-	LRESULT WindowProc(UINT msg, WPARAM wParam, LPARAM lParam);
-	BOOL OnCommand(WPARAM wParam, LPARAM lParam);
-	BOOL PreTranslateMessage(LPMSG lpMsg);
-	virtual void OnFinalRelease();
-	void CleanupObjectArray();
-	static BOOL CALLBACK EnumChildProc(HWND hWnd, LPARAM lParam);
-	static BOOL CALLBACK EnumControls(HWND hWnd, LPARAM lParam);
-
-private:
-	BOOL m_bDirty;
-	UINT m_idDlg;
-	UINT m_idCaption;
-	CString m_strPageName;
-	SIZE m_sizePage;
-	CString m_strDocString;
-	CString m_strHelpFile;
-	DWORD m_dwHelpContext;
-	LPPROPERTYPAGESITE m_pPageSite;
-
-	LPDISPATCH* m_ppDisp;   // Array of IDispatch pointers, used to
-								// access the properties of each control
-
-	LPDWORD m_pAdvisors;        // Array of connection tokens used by
-								// IConnecitonPoint::Advise/UnAdvise.
-
-	BOOL m_bPropsChanged;       // IPropertyNotifySink::OnChanged has been
-								// called, but not acted upon yet.
-
-	ULONG m_nObjects;           // Objects in m_ppDisp, m_ppDataObj, m_pAdvisors
-
-	BOOL m_bInitializing;       // TRUE if the contents of the fields of
-								// the dialog box are being initialized
-
-	int m_nControls;            // Number of fields on this property page
-
-	AFX_PPFIELDSTATUS* m_pStatus;   // Array containing information on
-									// which fields are dirty
-
-	CDWordArray m_IDArray;      // Array containing information on which
-								// controls to ignore when deciding if
-								// the apply button is to be enabled
-
-	HGLOBAL m_hDialog;          // Handle of the dialog resource
-
-#ifdef MFC_DEBUG
-protected:
-	BOOL m_bNonStandardSize;
-#endif
-
-protected:
-	// Generated message map functions
-	//{{AFX_MSG(COlePropertyPage)
-	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
-	//}}AFX_MSG
-	DECLARE_MESSAGE_MAP()
-
-// Interface Maps
-public:
-	BEGIN_INTERFACE_PART(PropertyPage, IPropertyPage2)
-		INIT_INTERFACE_PART(COlePropertyPage, PropertyPage)
-		STDMETHOD(SetPageSite)(LPPROPERTYPAGESITE);
-		STDMETHOD(Activate)(HWND, LPCRECT, BOOL);
-		STDMETHOD(Deactivate)();
-		STDMETHOD(GetPageInfo)(LPPROPPAGEINFO);
-		STDMETHOD(SetObjects)(ULONG, LPUNKNOWN*);
-		STDMETHOD(Show)(UINT);
-		STDMETHOD(Move)(LPCRECT);
-		STDMETHOD(IsPageDirty)();
-		STDMETHOD(Apply)();
-		STDMETHOD(Help)(LPCOLESTR);
-		STDMETHOD(TranslateAccelerator)(LPMSG);
-		STDMETHOD(EditProperty)(DISPID);
-	END_INTERFACE_PART(PropertyPage)
-
-	BEGIN_INTERFACE_PART(PropNotifySink, IPropertyNotifySink)
-		INIT_INTERFACE_PART(COlePropertyPage, PropNotifySink)
-		STDMETHOD(OnRequestEdit)(DISPID);
-		STDMETHOD(OnChanged)(DISPID);
-	END_INTERFACE_PART(PropNotifySink)
-
-	DECLARE_INTERFACE_MAP()
-};
-
-/////////////////////////////////////////////////////////////////////////////
-//  CStockPropPage
-
-#ifdef _AFXDLL
-class CStockPropPage : public COlePropertyPage
-#else
-class AFX_NOVTABLE CStockPropPage : public COlePropertyPage
-#endif
-{
-	DECLARE_DYNAMIC(CStockPropPage)
-
-// Constructor
-public:
-	CStockPropPage(UINT idDlg, UINT idCaption);
-
-// Implementation
-protected:
-	void FillPropnameList(REFGUID guid, int nIndirect, CComboBox& combo);
-	void OnSelchangePropname(CComboBox& combo);
-	BOOL OnEditProperty(DISPID dispid, CComboBox& combo);
-
-	LCID m_lcid;
-	CString m_strPropName;
-	int m_iPropName;
-
-	DECLARE_MESSAGE_MAP()
-};
-
-///////////////////////////////////////////////////////////////////////////////
-// CColorButton: used by CColorPropPage
-
-class CColorButton : public CButton
-{
-public:
-	CColorButton(void);
-	void SetFaceColor(COLORREF colFace);
-	COLORREF colGetFaceColor(void);
-	void SetState(BOOL fSelected);
-	static UINT idClicked;
-protected:
-	virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
-private:
-	BOOL m_fSelected;
-	COLORREF m_colFace;
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CColorPropPage
-
-class CColorPropPage : public CStockPropPage
-{
-	DECLARE_DYNCREATE(CColorPropPage)
-#ifdef _AFXDLL
-	DECLARE_OLECREATE_EX(CColorPropPage)
-#endif
-
-// Construction
-public:
-	CColorPropPage();   // Constructor
-
-// Dialog Data
-	//{{AFX_DATA(CColorPropPage)
-	enum { IDD = AFX_IDD_PROPPAGE_COLOR };
-	CComboBox   m_SysColors;
-	CComboBox   m_ColorProp;
-	//}}AFX_DATA
-
-// Implementation
-public:
-	enum { NBUTTONS = 16 };
-
-protected:
-	virtual void DoDataExchange(CDataExchange* pDX);        // DDX/DDV support
-	virtual BOOL OnInitDialog(void);
-	virtual BOOL OnEditProperty(DISPID dispid);
-	virtual void OnObjectsChanged();
-	void FillSysColors();
-	BOOL SetColorProp(CDataExchange* pDX, COLORREF color, LPCTSTR pszPropName);
-	BOOL GetColorProp(CDataExchange* pDX, COLORREF* pcolor, LPCTSTR pszPropName);
-
-private:
-	CColorButton m_Buttons[NBUTTONS];
-	CColorButton *m_pSelectedButton;
-
-	void SetButton(CColorButton *Button);
-
-	// Generated message map functions
-	//{{AFX_MSG(CColorPropPage)
-	afx_msg void OnSelchangeColorprop();
-	afx_msg void OnSelect(void);
-	afx_msg void OnSelchangeSystemcolors();
-	//}}AFX_MSG
-
-	DECLARE_MESSAGE_MAP()
-};
-
-// Stores all the information about a font
-typedef struct tagFONTOBJECT
-{
-	CString strName;
-	CY  cySize;
-	BOOL bBold;
-	BOOL bItalic;
-	BOOL bUnderline;
-	BOOL bStrikethrough;
-	short sWeight;
-} FONTOBJECT;
-
-// Merge objects are used when trying to consolidate multiple font properties.
-// If the characteristics of these multiple properties differ then this is
-// represented in the merge object.
-typedef struct tagMERGEOBJECT
-{
-	BOOL bNameOK;
-	BOOL bSizeOK;
-	BOOL bStyleOK;
-	BOOL bUnderlineOK;
-	BOOL bStrikethroughOK;
-} MERGEOBJECT;
-
-/////////////////////////////////////////////////////////////////////////////
-// CSizeComboBox window
-
-class CSizeComboBox : public CComboBox
-{
-// Operations
-public:
-	int AddSize(int PointSize, LONG lfHeight);
-
-	void            GetPointSize(CY& cy);
-	LONG            GetHeight(int sel=-1);
-	void            UpdateLogFont( LPLOGFONT lpLF, int sel=-1 );
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CFontComboBox window
-
-struct FONTITEM_PPG
-{
-	DWORD dwFontType;
-	LOGFONT lf;
-};
-
-class CFontComboBox : public CComboBox
-{
-// Construction
-public:
-	CFontComboBox();
-	virtual ~CFontComboBox();
-
-// Operations
-public:
-	int AddFont(LOGFONT *, DWORD);
-	CString GetCurrentName();
-
-	FONTITEM_PPG* GetFontItem(int sel=-1);
-	LPLOGFONT GetLogFont(int sel=-1);
-	DWORD GetFontType(int sel=-1);
-
-// Implementation
-public:
-	virtual void DrawItem(LPDRAWITEMSTRUCT lpDIS);
-	virtual void DeleteItem(LPDELETEITEMSTRUCT lpDIS);
-
-protected:
-	CBitmap m_bmpTrueType;
-	CBitmap m_bmpMask;
-};
-
-///////////////////////////////////////////////////////////////////////////
-// CFontPropPage class
-
-class CFontPropPage : public CStockPropPage
-{
-	DECLARE_DYNCREATE(CFontPropPage)
-#ifdef _AFXDLL
-	DECLARE_OLECREATE_EX(CFontPropPage)
-#endif
-
-public:
-	CFontPropPage();
-
-	// Dialog Data
-	//{{AFX_DATA(CFontPropPage)
-	enum { IDD = AFX_IDD_PROPPAGE_FONT };
-	CComboBox   m_FontProp;
-	CStatic m_SampleBox;
-	CComboBox   m_FontStyles;
-	CSizeComboBox   m_FontSizes;
-	CFontComboBox   m_FontNames;
-	//}}AFX_DATA
-
-// Attributes
-protected:
-	int nPixelsY;
-	CFont SampleFont;
-	DWORD m_nCurrentStyle;
-	DWORD m_nActualStyle;
-	DWORD m_nStyles;
-	BOOL m_bStrikeOut;
-	BOOL m_bUnderline;
-	CString m_strFontSize;
-
-// Implementation
-protected:
-
-	void FillFacenameList();
-	void FillSizeList();
-	virtual void DoDataExchange(CDataExchange* pDX);
-	virtual void OnPaint();
-	virtual BOOL OnEditProperty(DISPID dispid);
-	virtual void OnObjectsChanged();
-	void UpdateSampleFont();
-	void SelectFontFromList(CString strFaceName, MERGEOBJECT* pmobj);
-
-	//{{AFX_MSG(CFontPropPage)
-	virtual BOOL OnInitDialog();
-	afx_msg void OnEditupdateFontnames();
-	afx_msg void OnEditupdateFontsizes();
-	afx_msg void OnSelchangeFontnames();
-	afx_msg void OnSelchangeFontsizes();
-	afx_msg void OnSelchangeFontstyles();
-	afx_msg void OnEditchangeFontstyles();
-	afx_msg void OnStrikeout();
-	afx_msg void OnUnderline();
-	afx_msg void OnSelchangeFontprop();
-	//}}AFX_MSG
-	DECLARE_MESSAGE_MAP()
-
-	static int CALLBACK EnumFontFamiliesCallBack(ENUMLOGFONT* lpelf, NEWTEXTMETRIC* lpntm, int FontType, LPARAM lParam);
-	static int CALLBACK EnumFontFamiliesCallBack2(ENUMLOGFONT* lpelf, NEWTEXTMETRIC* lpntm, int FontType, LPARAM lParam);
-
-	BOOL SetFontProps(CDataExchange* pDX, FONTOBJECT fobj, LPCTSTR pszPropName);
-	BOOL GetFontProps(CDataExchange* pDX, FONTOBJECT*  pfobj, LPCTSTR pszPropName, MERGEOBJECT* pmobj);
-};
-
-////////////////////////////////////////////////////////////////////////////
-//  CPicturePropPage
-
-class CPicturePropPage : public CStockPropPage
-{
-	DECLARE_DYNCREATE(CPicturePropPage)
-#ifdef _AFXDLL
-	DECLARE_OLECREATE_EX(CPicturePropPage)
-#endif
-
-// Construction
-public:
-	CPicturePropPage(); // standard constructor
-	~CPicturePropPage();
-
-// Dialog Data
-	//{{AFX_DATA(CPicturePropPage)
-	enum { IDD = AFX_IDD_PROPPAGE_PICTURE };
-	CComboBox   m_PropName;
-	CStatic m_Static;
-	//}}AFX_DATA
-
-// Implementation
-protected:
-	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
-	virtual BOOL OnInitDialog(void);
-	virtual BOOL OnEditProperty(DISPID dispid);
-	virtual void OnObjectsChanged();
-
-	BOOL SetPictureProp(CDataExchange* pDX, LPPICTUREDISP pPictDisp, LPCTSTR pszPropName);
-	BOOL GetPictureProp(CDataExchange* pDX, LPPICTUREDISP* ppPictDisp, LPCTSTR pszPropName);
-	void ChangePicture(LPPICTURE pPict);
-
-	LPPICTUREDISP m_pPictDisp;
-
-// Generated message map functions
-protected:
-	//{{AFX_MSG(CPicturePropPage)
-	afx_msg void OnPaint();
-	afx_msg void OnBrowse();
-	afx_msg void OnClear();
-	afx_msg void OnSelchangePictProp();
-	//}}AFX_MSG
-	DECLARE_MESSAGE_MAP()
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// Property Page Dialog Data Exchange routines
-
-// simple text operations
-void AFXAPI DDP_Text(CDataExchange*pDX, int id, BYTE& member, LPCTSTR pszPropName);
-void AFXAPI DDP_Text(CDataExchange*pDX, int id, short& member, LPCTSTR pszPropName);
-void AFXAPI DDP_Text(CDataExchange*pDX, int id, int& member, LPCTSTR pszPropName);
-void AFXAPI DDP_Text(CDataExchange*pDX, int id, UINT& member, LPCTSTR pszPropName);
-void AFXAPI DDP_Text(CDataExchange*pDX, int id, long& member, LPCTSTR pszPropName);
-void AFXAPI DDP_Text(CDataExchange*pDX, int id, DWORD& member, LPCTSTR pszPropName);
-void AFXAPI DDP_Text(CDataExchange*pDX, int id, float& member, LPCTSTR pszPropName);
-void AFXAPI DDP_Text(CDataExchange*pDX, int id, double& member, LPCTSTR pszPropName);
-void AFXAPI DDP_Text(CDataExchange*pDX, int id, CString& member, LPCTSTR pszPropName);
-void AFXAPI DDP_Check(CDataExchange*pDX, int id, int& member, LPCTSTR pszPropName);
-void AFXAPI DDP_Radio(CDataExchange*pDX, int id, int& member, LPCTSTR pszPropName);
-void AFXAPI DDP_LBString(CDataExchange* pDX, int id, CString& member, LPCTSTR pszPropName);
-void AFXAPI DDP_LBStringExact(CDataExchange* pDX, int id, CString& member, LPCTSTR pszPropName);
-void AFXAPI DDP_LBIndex(CDataExchange* pDX, int id, int& member, LPCTSTR pszPropName);
-void AFXAPI DDP_CBString(CDataExchange* pDX, int id, CString& member, LPCTSTR pszPropName);
-void AFXAPI DDP_CBStringExact(CDataExchange* pDX, int id, CString& member, LPCTSTR pszPropName);
-void AFXAPI DDP_CBIndex(CDataExchange* pDX, int id, int& member, LPCTSTR pszPropName);
-void AFXAPI DDP_PostProcessing(CDataExchange *pDX);
-
-////////////////////////////////////////////////////////////////////////////
-// AfxOleTypeMatchGuid - Tests whether a given TYPEDESC matches a type with a
-// given GUID, when all aliases have been expanded.
-
-BOOL AFXAPI AfxOleTypeMatchGuid(LPTYPEINFO pTypeInfo,
-	TYPEDESC* pTypeDesc, REFGUID guidType, ULONG cIndirectionLevels);
-
-/////////////////////////////////////////////////////////////////////////////
-// Inline function declarations
-
-#ifdef _AFX_PACKING
-#pragma pack(pop)
-#endif
-
-#ifdef _AFX_ENABLE_INLINES
-#define _AFXCTL_INLINE AFX_INLINE
-#include <afxctl.inl>
-#endif
-
-#undef AFX_DATA
-#define AFX_DATA
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, on)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, off)
-#endif
-
-#endif // __AFXCTL_H__
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 115
libs/mfc/include/afxctl.inl

@@ -1,115 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-// Inlines for AFXCTL.H
-
-#ifdef _AFXCTL_INLINE
-
-/////////////////////////////////////////////////////////////////////////////
-
-// COleControl inlines
-_AFXCTL_INLINE BOOL COleControl::IsOptimizedDraw()
-	{ return m_bOptimizedDraw; }
-_AFXCTL_INLINE BOOL COleControl::IsConvertingVBX()
-	{ return m_bConvertVBX; }
-_AFXCTL_INLINE void COleControl::FireKeyDown(USHORT* pnChar, short nShiftState)
-	{ FireEvent(DISPID_KEYDOWN, EVENT_PARAM(VTS_PI2 VTS_I2), pnChar,
-		nShiftState); }
-_AFXCTL_INLINE void COleControl::FireKeyUp(USHORT* pnChar, short nShiftState)
-	{ FireEvent(DISPID_KEYUP, EVENT_PARAM(VTS_PI2 VTS_I2), pnChar,
-		nShiftState); }
-_AFXCTL_INLINE void COleControl::FireKeyPress(USHORT* pnChar)
-	{ FireEvent(DISPID_KEYPRESS, EVENT_PARAM(VTS_PI2), pnChar); }
-_AFXCTL_INLINE void COleControl::FireMouseDown(short nButton,
-		short nShiftState, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y)
-	{ FireEvent(DISPID_MOUSEDOWN,
-		EVENT_PARAM(VTS_I2 VTS_I2 VTS_XPOS_PIXELS VTS_YPOS_PIXELS),
-		nButton, nShiftState, x, y); }
-_AFXCTL_INLINE void COleControl::FireMouseUp(short nButton,
-		short nShiftState, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y)
-	{ FireEvent(DISPID_MOUSEUP,
-		EVENT_PARAM(VTS_I2 VTS_I2 VTS_XPOS_PIXELS VTS_YPOS_PIXELS),
-		nButton, nShiftState, x, y); }
-_AFXCTL_INLINE void COleControl::FireMouseMove(short nButton,
-		short nShiftState, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y)
-	{ FireEvent(DISPID_MOUSEMOVE,
-		EVENT_PARAM(VTS_I2 VTS_I2 VTS_XPOS_PIXELS VTS_YPOS_PIXELS),
-		nButton, nShiftState, x, y); }
-_AFXCTL_INLINE void COleControl::FireClick()
-	{ FireEvent(DISPID_CLICK, EVENT_PARAM(VTS_NONE)); }
-_AFXCTL_INLINE void COleControl::FireDblClick()
-	{ FireEvent(DISPID_DBLCLICK, EVENT_PARAM(VTS_NONE)); }
-_AFXCTL_INLINE void COleControl::FireReadyStateChange()
-	{ FireEvent(DISPID_READYSTATECHANGE, EVENT_PARAM(VTS_I4), m_lReadyState); }
-_AFXCTL_INLINE void COleControl::InternalSetReadyState(long lNewReadyState)
-	{ ASSERT((lNewReadyState >=0) && (lNewReadyState <= READYSTATE_COMPLETE));
-	  if (m_lReadyState != lNewReadyState)
-		{m_lReadyState = lNewReadyState; FireReadyStateChange(); } }
-_AFXCTL_INLINE BOOL COleControl::ExchangeVersion(
-	CPropExchange* pPX, DWORD dwVersionDefault, BOOL bConvert)
-	{ return pPX->ExchangeVersion(m_dwVersionLoaded, dwVersionDefault, bConvert); }
-_AFXCTL_INLINE DWORD COleControl::GetStockEventMask() const
-	{ return *GetEventMap()->lpStockEventMask; }
-_AFXCTL_INLINE DWORD COleControl::GetStockPropMask() const
-	{ return *GetDispatchMap()->lpStockPropMask; }
-_AFXCTL_INLINE void COleControl::RequestAsynchronousExchange(DWORD dwVersion)
-	{ m_bDataPathPropertiesLoaded = FALSE; m_dwDataPathVersionToReport = dwVersion; }
-
-// CPropExchange inlines
-_AFXCTL_INLINE CPropExchange::CPropExchange() : m_dwVersion(0), m_bAsync(FALSE)
-	{ }
-_AFXCTL_INLINE BOOL CPropExchange::IsLoading()
-	{ return m_bLoading; }
-_AFXCTL_INLINE DWORD CPropExchange::GetVersion()
-	{ return m_dwVersion; }
-_AFXCTL_INLINE BOOL CPropExchange::IsAsynchronous()
-	{ return m_bAsync; }
-
-// CDataPathProperty inlines
-_AFXCTL_INLINE CDataPathProperty::CDataPathProperty(COleControl* pControl)
-	: m_pControl(pControl) {}
-_AFXCTL_INLINE CDataPathProperty::CDataPathProperty(LPCTSTR lpszPath, COleControl* pControl)
-	: m_pControl(pControl), m_strPath(lpszPath) {}
-_AFXCTL_INLINE void CDataPathProperty::SetPath(LPCTSTR lpszPath)
-	{ ASSERT_VALID(this); m_strPath = lpszPath; }
-_AFXCTL_INLINE CString CDataPathProperty::GetPath() const
-	{ ASSERT_VALID(this); return m_strPath; }
-_AFXCTL_INLINE COleControl* CDataPathProperty::GetControl()
-	{ ASSERT_VALID(this); return m_pControl; }
-_AFXCTL_INLINE void CDataPathProperty::SetControl(COleControl* pControl)
-	{ ASSERT_VALID(this); m_pControl=pControl; }
-
-// CCachedDataPathProperty inlines
-_AFXCTL_INLINE CCachedDataPathProperty::CCachedDataPathProperty(COleControl* pControl)
-	: CDataPathProperty(pControl) {}
-_AFXCTL_INLINE CCachedDataPathProperty::CCachedDataPathProperty(LPCTSTR lpszPath, COleControl* pControl)
-	: CDataPathProperty(lpszPath, pControl) {}
-
-// inline DDP_ routines
-_AFXCTL_INLINE void AFXAPI DDP_LBString(CDataExchange* pDX, int id,
-		CString& member, LPCTSTR pszPropName)
-	{ DDP_Text(pDX, id, member, pszPropName); }
-_AFXCTL_INLINE void AFXAPI DDP_LBStringExact(CDataExchange* pDX, int id,
-		CString& member, LPCTSTR pszPropName)
-	{ DDP_Text(pDX, id, member, pszPropName); }
-_AFXCTL_INLINE void AFXAPI DDP_LBIndex(CDataExchange* pDX, int id,
-		int& member, LPCTSTR pszPropName)
-	{ DDP_Text(pDX, id, member, pszPropName); }
-_AFXCTL_INLINE void AFXAPI DDP_CBString(CDataExchange* pDX, int id,
-		CString& member, LPCTSTR pszPropName)
-	{ DDP_Text(pDX, id, member, pszPropName); }
-_AFXCTL_INLINE void AFXAPI DDP_CBStringExact(CDataExchange* pDX, int id,
-		CString& member, LPCTSTR pszPropName)
-	{ DDP_Text(pDX, id, member, pszPropName); }
-_AFXCTL_INLINE void AFXAPI DDP_CBIndex(CDataExchange* pDX, int id,
-		int& member, LPCTSTR pszPropName)
-	{ DDP_Text(pDX, id, member, pszPropName); }
-
-#endif //_AFXCTL_INLINE

+ 0 - 284
libs/mfc/include/afxctl.rc

@@ -1,284 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXCTL_RC__
-#define __AFXCTL_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< Cannot change standard MFC resources! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Control Resources
-
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-/////////////////////////////////////////////////////////////////////////////
-//
-// Bitmap
-//
-
-AFX_IDB_TRUETYPE        BITMAP  DISCARDABLE     "RES\\TRUETYPE.BMP"
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Dialog
-//
-
-AFX_IDD_PROPPAGE_FONT DIALOG DISCARDABLE  13, 54, 250, 110
-STYLE WS_CHILD | 0x4
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "Property &Name:",IDC_STATIC,3,5,61,8
-	COMBOBOX        AFX_IDC_FONTPROP,65,3,100,71,CBS_DROPDOWNLIST | CBS_SORT |
-					WS_VSCROLL | WS_TABSTOP
-	LTEXT           "&Font:",IDC_STATIC,3,19,91,8
-	COMBOBOX        AFX_IDC_FONTNAMES,3,29,91,77,CBS_SIMPLE |
-					CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT |
-					CBS_HASSTRINGS | CBS_DISABLENOSCROLL | WS_VSCROLL |
-					WS_TABSTOP
-	LTEXT           "Font St&yle:",IDC_STATIC,102,19,53,8
-	COMBOBOX        AFX_IDC_FONTSTYLES,104,29,53,53,CBS_DROPDOWNLIST |
-					CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
-	LTEXT           "&Size:",IDC_STATIC,167,19,40,8
-	COMBOBOX        AFX_IDC_FONTSIZES,167,29,36,53,CBS_DROPDOWN | CBS_SORT |
-					CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
-	GROUPBOX        "Effects",IDC_STATIC,104,44,142,24,WS_GROUP
-	CONTROL         "Stri&keout",AFX_IDC_STRIKEOUT,"Button",BS_AUTOCHECKBOX |
-					WS_TABSTOP,109,55,65,10
-	CONTROL         "&Underline",AFX_IDC_UNDERLINE,"Button",BS_AUTOCHECKBOX |
-					WS_TABSTOP,175,55,65,10
-	GROUPBOX        "Sample",IDC_STATIC,104,71,142,36,WS_GROUP
-	CTEXT           "AaBbYyZz",AFX_IDC_SAMPLEBOX,110,80,130,22,SS_NOPREFIX |
-					NOT WS_VISIBLE
-END
-
-AFX_IDD_PROPPAGE_COLOR DIALOG DISCARDABLE  0, 0, 250, 62
-STYLE WS_CHILD | 0x4
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "Property &Name:",IDC_STATIC,3,3,100,8
-	COMBOBOX        AFX_IDC_COLORPROP,3,13,100,54,CBS_DROPDOWNLIST |
-					CBS_SORT | WS_VSCROLL | WS_TABSTOP
-	LTEXT           "System &Color:",IDC_STATIC,3,29,100,8
-	COMBOBOX        AFX_IDC_SYSTEMCOLORS,3,39,100,54,CBS_DROPDOWNLIST |
-					CBS_SORT | WS_VSCROLL | WS_TABSTOP
-	CONTROL         "",AFX_IDC_COLOR_BLACK,"Button",BS_OWNERDRAW | WS_GROUP |
-					WS_TABSTOP,118,4,15,11
-	CONTROL         "",AFX_IDC_COLOR_BLUE,"Button",BS_OWNERDRAW,138,4,15,11
-	CONTROL         "",AFX_IDC_COLOR_CYAN,"Button",BS_OWNERDRAW,158,4,15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKBLUE,"Button",BS_OWNERDRAW,178,4,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_DARKCYAN,"Button",BS_OWNERDRAW,118,18,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKGREEN,"Button",BS_OWNERDRAW,138,18,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKMAGENTA,"Button",BS_OWNERDRAW,158,
-					18,15,11
-	CONTROL         "",AFX_IDC_COLOR_GRAY,"Button",BS_OWNERDRAW,178,18,15,11
-	CONTROL         "",AFX_IDC_COLOR_DARKRED,"Button",BS_OWNERDRAW,118,32,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_GREEN,"Button",BS_OWNERDRAW,138,32,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_LIGHTBROWN,"Button",BS_OWNERDRAW,158,32,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_LIGHTGRAY,"Button",BS_OWNERDRAW,178,32,
-					15,11
-	CONTROL         "",AFX_IDC_COLOR_MAGENTA,"Button",BS_OWNERDRAW,118,46,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_RED,"Button",BS_OWNERDRAW,138,46,15,11
-	CONTROL         "",AFX_IDC_COLOR_WHITE,"Button",BS_OWNERDRAW,158,46,15,
-					11
-	CONTROL         "",AFX_IDC_COLOR_YELLOW,"Button",BS_OWNERDRAW,178,46,15,
-					11
-END
-
-AFX_IDD_PROPPAGE_PICTURE DIALOG DISCARDABLE  0, 0, 250, 62
-STYLE WS_CHILD | 0x4
-FONT 8, "MS Shell Dlg"
-BEGIN
-	LTEXT           "Property &Name:",IDC_STATIC,3,3,100,8
-	COMBOBOX        AFX_IDC_PROPNAME,3,13,100,30,CBS_DROPDOWNLIST | CBS_SORT |
-					WS_VSCROLL | WS_TABSTOP
-	PUSHBUTTON      "&Browse...",AFX_IDC_BROWSE,3,35,54,14
-	PUSHBUTTON      "&Clear",AFX_IDC_CLEAR,61,35,54,14
-	RTEXT           "Preview:",IDC_STATIC,107,3,42,16
-	CONTROL         "",AFX_IDC_PICTURE,"Static",SS_BLACKFRAME,151,4,93,54
-END
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Dialog Info
-//
-
-AFX_IDD_PROPPAGE_FONT DLGINIT
-BEGIN
-	1002, 0x403, 12, 0
-0x6f42, 0x646c, 0x4920, 0x6174, 0x696c, 0x0063,
-	0
-END
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// String Table
-//
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_PROPPAGE_UNKNOWN "(Unknown)"
-	AFX_IDS_COLOR_DESKTOP   "Desktop"
-	AFX_IDS_COLOR_APPWORKSPACE "Application Workspace"
-	AFX_IDS_COLOR_WNDBACKGND "Window Background"
-	AFX_IDS_COLOR_WNDTEXT   "Window Text"
-	AFX_IDS_COLOR_MENUBAR   "Menu Bar"
-	AFX_IDS_COLOR_MENUTEXT  "Menu Text"
-	AFX_IDS_COLOR_ACTIVEBAR "Active Title Bar"
-	AFX_IDS_COLOR_INACTIVEBAR "Inactive Title Bar"
-	AFX_IDS_COLOR_ACTIVETEXT "Active Title Bar Text"
-	AFX_IDS_COLOR_INACTIVETEXT "Inactive Title Bar Text"
-	AFX_IDS_COLOR_ACTIVEBORDER "Active Border"
-	AFX_IDS_COLOR_INACTIVEBORDER "Inactive Border"
-END
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-
-STRINGTABLE DISCARDABLE
-BEGIN
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_COLOR_WNDFRAME  "Window Frame"
-	AFX_IDS_COLOR_SCROLLBARS "Scroll Bars"
-	AFX_IDS_COLOR_BTNFACE   "Button Face"
-	AFX_IDS_COLOR_BTNSHADOW "Button Shadow"
-	AFX_IDS_COLOR_BTNTEXT   "Button Text"
-	AFX_IDS_COLOR_BTNHIGHLIGHT "Button Highlight"
-	AFX_IDS_COLOR_DISABLEDTEXT "Disabled Text"
-	AFX_IDS_COLOR_HIGHLIGHT "Highlight"
-	AFX_IDS_COLOR_HIGHLIGHTTEXT "Highlighted Text"
-	AFX_IDS_REGULAR         "Regular"
-	AFX_IDS_BOLD            "Bold"
-	AFX_IDS_ITALIC          "Italic"
-	AFX_IDS_BOLDITALIC      "Bold Italic"
-	AFX_IDS_SAMPLETEXT      "AaBbYyZz"
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_DISPLAYSTRING_FONT "(Font)"
-	AFX_IDS_DISPLAYSTRING_COLOR "(Color)"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_DISPLAYSTRING_PICTURE "(Picture - %s)"
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_PICTUREFILTER   "All Picture Types|*.bmp;*.cur;*.dib;*.emf;*.ico;*.wmf|Bitmaps (*.bmp;*.dib)|*.bmp;*.dib|Icons/Cursors (*.ico;*.cur)|*.ico;*.cur|Metafiles (*.wmf;*.emf)|*.wmf;*.emf|All files (*.*)|*.*||"
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_PICTYPE_UNKNOWN "Unknown"
-	AFX_IDS_PICTYPE_NONE    "None"
-	AFX_IDS_PICTYPE_BITMAP  "Bitmap"
-	AFX_IDS_PICTYPE_METAFILE "Metafile"
-	AFX_IDS_PICTYPE_ICON    "Icon"
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_COLOR_PPG       "Color Property Page"
-	AFX_IDS_COLOR_PPG_CAPTION "Colors"
-	AFX_IDS_FONT_PPG        "Font Property Page"
-	AFX_IDS_FONT_PPG_CAPTION "Fonts"
-	AFX_IDS_PICTURE_PPG     "Picture Property Page"
-	AFX_IDS_PICTURE_PPG_CAPTION "Pictures"
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-	AFX_IDS_BORDERSTYLE_0   "0 - None"
-	AFX_IDS_BORDERSTYLE_1   "1 - Fixed Single"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_VERB_EDIT       "&Edit"
-	AFX_IDS_VERB_PROPERTIES "&Properties..."
-END
-
-#ifndef _AFX_NO_STOCKPPG_RESOURCES
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_PICTURECANTOPEN "Unable to open the picture file %1. The file may not exist, or may not be readable."
-	AFX_IDP_PICTURECANTLOAD "Unable to load the picture file %1. The file may have an invalid format."
-	AFX_IDP_PICTURETOOLARGE "Unable to load the picture file %1. The file is too large to fit in memory."
-	AFX_IDP_PICTUREREADFAILED
-							"Unable to load the picture file %1. Unexplained read failure."
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_PICTUREBROWSETITLE "Browse Pictures"
-END
-#endif // !_AFX_NO_STOCKPPG_RESOURCES
-
-#ifndef _AFX_NO_CTLERROR_RESOURCES
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_E_ILLEGALFUNCTIONCALL "Illegal function call"
-	AFX_IDP_E_OVERFLOW      "Overflow"
-	AFX_IDP_E_OUTOFMEMORY   "Out of memory"
-	AFX_IDP_E_DIVISIONBYZERO "Division by zero"
-	AFX_IDP_E_OUTOFSTRINGSPACE "Out of string space"
-	AFX_IDP_E_OUTOFSTACKSPACE "Out of stack space"
-	AFX_IDP_E_BADFILENAMEORNUMBER "Bad file name or number"
-	AFX_IDP_E_FILENOTFOUND  "File not found"
-	AFX_IDP_E_BADFILEMODE   "Bad file mode"
-	AFX_IDP_E_FILEALREADYOPEN "File already open"
-	AFX_IDP_E_DEVICEIOERROR "Device I/O error"
-	AFX_IDP_E_FILEALREADYEXISTS "File already exists"
-	AFX_IDP_E_BADRECORDLENGTH "Bad record length"
-	AFX_IDP_E_DISKFULL      "Disk full"
-	AFX_IDP_E_BADRECORDNUMBER "Bad record number"
-	AFX_IDP_E_BADFILENAME   "Bad file name"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_E_TOOMANYFILES  "Too many files"
-	AFX_IDP_E_DEVICEUNAVAILABLE "Device unavailable"
-	AFX_IDP_E_PERMISSIONDENIED "Permission denied"
-	AFX_IDP_E_DISKNOTREADY  "Disk not ready"
-	AFX_IDP_E_PATHFILEACCESSERROR "Path/File access error"
-	AFX_IDP_E_PATHNOTFOUND  "Path not found"
-	AFX_IDP_E_INVALIDPATTERNSTRING "Invalid pattern string"
-	AFX_IDP_E_INVALIDUSEOFNULL "Invalid use of null"
-	AFX_IDP_E_INVALIDFILEFORMAT "Invalid file format"
-	AFX_IDP_E_INVALIDPROPERTYVALUE "Invalid property value"
-	AFX_IDP_E_INVALIDPROPERTYARRAYINDEX "Invalid array index"
-	AFX_IDP_E_SETNOTSUPPORTEDATRUNTIME "Property cannot be set at run time"
-	AFX_IDP_E_SETNOTSUPPORTED "Property is read-only"
-	AFX_IDP_E_NEEDPROPERTYARRAYINDEX
-							"Must specify array index when using property array"
-	AFX_IDP_E_SETNOTPERMITTED "Property cannot be set on this control"
-	AFX_IDP_E_GETNOTSUPPORTEDATRUNTIME "Property cannot be read at run time"
-END
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_E_GETNOTSUPPORTED "Property is write-only"
-	AFX_IDP_E_PROPERTYNOTFOUND "Property not found"
-	AFX_IDP_E_INVALIDCLIPBOARDFORMAT "Invalid clipboard format"
-	AFX_IDP_E_INVALIDPICTURE "Invalid picture"
-	AFX_IDP_E_PRINTERERROR  "Printer error"
-	AFX_IDP_E_CANTSAVEFILETOTEMP
-							"Cannot create temporary file necessary to save"
-	AFX_IDP_E_SEARCHTEXTNOTFOUND "Search text not found"
-	AFX_IDP_E_REPLACEMENTSTOOLONG "Replacement text too long"
-END
-#endif //!_AFX_NO_CTLERROR_RESOURCES
-
-#endif //!_AFXDLL
-#endif //__AFXOLECL_RC__

+ 0 - 135
libs/mfc/include/afxcview.h

@@ -1,135 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXCVIEW_H__
-#define __AFXCVIEW_H__
-
-#ifdef _AFX_NO_AFXCMN_SUPPORT
-	#error Windows common control classes not supported in this library variant.
-#endif
-
-#ifndef __AFXWIN_H__
-	#include <afxwin.h>
-#endif
-
-#ifndef __AFXCMN_H__
-	#include <afxcmn.h>
-#endif
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, off)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, on)
-#endif
-
-#ifdef _AFX_PACKING
-#pragma pack(push, _AFX_PACKING)
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// AFXRICH - MFC RichEdit classes
-
-// Classes declared in this file
-
-//CObject
-	//CCmdTarget;
-		//CWnd
-			//CView
-				//CCtrlView
-					class CListView;// list control view
-					class CTreeView;// tree control view
-
-#undef AFX_DATA
-#define AFX_DATA AFX_CORE_DATA
-
-/////////////////////////////////////////////////////////////////////////////
-// CListView
-
-class CListView : public CCtrlView
-{
-	DECLARE_DYNCREATE(CListView)
-
-// Construction
-public:
-	CListView();
-
-// Attributes
-public:
-	CListCtrl& GetListCtrl() const;
-
-// Overridables
-	virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
-
-protected:
-	void RemoveImageList(int nImageList);
-	virtual BOOL OnChildNotify(UINT, WPARAM, LPARAM, LRESULT*);
-
-public:
-	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
-
-	//{{AFX_MSG(CListView)
-	afx_msg void OnNcDestroy();
-	//}}AFX_MSG
-	DECLARE_MESSAGE_MAP()
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CTreeView
-
-class CTreeView : public CCtrlView
-{
-	DECLARE_DYNCREATE(CTreeView)
-
-// Construction
-public:
-	CTreeView();
-
-// Attributes
-public:
-	CTreeCtrl& GetTreeCtrl() const;
-
-protected:
-	void RemoveImageList(int nImageList);
-
-public:
-	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
-
-	//{{AFX_MSG(CTreeView)
-	afx_msg void OnDestroy();
-	//}}AFX_MSG
-	DECLARE_MESSAGE_MAP()
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// Inline function declarations
-
-#ifdef _AFX_PACKING
-#pragma pack(pop)
-#endif
-
-#ifdef _AFX_ENABLE_INLINES
-#define _AFXCVIEW_INLINE AFX_INLINE
-#include <afxcview.inl>
-#endif
-
-#undef AFX_DATA
-#define AFX_DATA
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, on)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, off)
-#endif
-
-#endif //__AFXCVIEW_H__
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 29
libs/mfc/include/afxcview.inl

@@ -1,29 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-// Inlines for AFXCVIEW.H
-
-#ifdef _AFXCVIEW_INLINE
-
-// CListView
-_AFXCVIEW_INLINE CListView::CListView() : CCtrlView(WC_LISTVIEW,
-	AFX_WS_DEFAULT_VIEW)
-	{ }
-_AFXCVIEW_INLINE CListCtrl& CListView::GetListCtrl() const
-	{ return *(CListCtrl*)this; }
-_AFXCVIEW_INLINE CTreeView::CTreeView() : CCtrlView(WC_TREEVIEW,
-	AFX_WS_DEFAULT_VIEW)
-	{ }
-_AFXCVIEW_INLINE CTreeCtrl& CTreeView::GetTreeCtrl() const
-	{ return *(CTreeCtrl*)this; }
-
-#endif //_AFXCVIEW_INLINE
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 1326
libs/mfc/include/afxdao.h

@@ -1,1326 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXDAO_H
-#define __AFXDAO_H
-
-#ifdef _AFX_NO_DAO_SUPPORT
-	#error DAO Database classes not supported in this library variant.
-#endif
-
-#ifndef __AFXDISP_H__
-	#include <afxdisp.h>    // Must include this before dao headers
-#endif
-#ifndef _DBDAOINT_H_
-	#include <dbdaoint.h>
-#endif
-#ifndef _DAOGETRW_H_
-	#include <daogetrw.h>
-#endif
-#ifndef _DBDAOID_H_
-	#include <dbdaoid.h>
-#endif
-#ifndef _DBDAOERR_H_
-	#include <dbdaoerr.h>
-#endif
-
-#ifndef __AFXDB__H__
-	#include <afxdb_.h> // shared header with ODBC database classes
-#endif
-
-#ifndef __AFXEXT_H__
-	#include <afxext.h> // for CFormView
-#endif
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, off)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, on)
-#endif
-
-#ifndef _AFX_NOFORCE_LIBS
-
-/////////////////////////////////////////////////////////////////////////////
-// Win32 libraries
-
-#ifdef _AFXDLL
-	#if defined(MFC_DEBUG) && !defined(_AFX_MONOLITHIC)
-		#ifndef _UNICODE
-			#pragma comment(lib, "mfco42d.lib")
-			#pragma comment(lib, "mfcd42d.lib")
-		#else
-			#pragma comment(lib, "mfco42ud.lib")
-			#pragma comment(lib, "mfcd42ud.lib")
-		#endif
-	#endif
-
-#endif
-
-#pragma comment(lib, "daouuid.lib")
-
-#endif //!_AFX_NOFORCE_LIBS
-
-#ifdef _AFX_PACKING
-#pragma pack(push, _AFX_PACKING)
-#endif
-
-////////////////////////////////////////////////////////////////////////
-// AFXDAO - MFC Database support using DAO
-
-// Classes declared in this file
-
-	// CException
-		class CDaoException;    // DAO error/exception handling
-
-	// CObject
-		class CDaoRecordView;
-		class CDaoWorkspace;    // DAO engine/transaction/security manager
-		class CDaoDatabase;     // DAO database manager
-		class CDaoRecordset;    // DAO result set manager
-		class CDaoTableDef;     // DAO base table manager
-		class CDaoQueryDef;     // DAO query manager
-
-	// Non-CObject classes
-		class CDaoFieldExchange;
-		struct CDaoFieldCache;
-		struct CDaoErrorInfo;
-		struct CDaoWorkspaceInfo;
-		struct CDaoDatabaseInfo;
-		struct CDaoTableDefInfo;
-		struct CDaoFieldInfo;
-		struct CDaoIndexInfo;
-		struct CDaoRelationInfo;
-		struct CDaoQueryDefInfo;
-		struct CDaoParameterInfo;
-
-/////////////////////////////////////////////////////////////////////////////
-// AFXDLL support
-
-#undef AFX_DATA
-#define AFX_DATA AFX_DB_DATA
-
-////////////////////////////////////////////////////////////////////////
-// Data caching structures
-struct CDaoFieldCache
-{
-	void* m_pvData;     // Pointer to cached data of any supported type.
-	BYTE m_nStatus;     // (NULL) status cache.
-	BYTE m_nDataType;       // Type of data cached.
-};
-
-////////////////////////////////////////////////////////////////////////
-// Info structures
-
-struct CDaoErrorInfo
-{
-// Attributes
-	long m_lErrorCode;
-	CString m_strSource;
-	CString m_strDescription;
-	CString m_strHelpFile;
-	long m_lHelpContext;
-
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-};
-
-struct CDaoWorkspaceInfo
-{
-// Attributes
-	CString m_strName;              // Primary
-	CString m_strUserName;          // Secondary
-	BOOL m_bIsolateODBCTrans;       // All
-
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-};
-
-struct CDaoDatabaseInfo
-{
-// Attributes
-	CString m_strName;              // Primary
-	BOOL m_bUpdatable;              // Primary
-	BOOL m_bTransactions;           // Primary
-	CString m_strVersion;           // Secondary
-	long m_lCollatingOrder;         // Secondary
-	short m_nQueryTimeout;          // Secondary
-	CString m_strConnect;           // All
-
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-};
-
-struct CDaoTableDefInfo
-{
-// Attributes
-	CString m_strName;              // Primary
-	BOOL m_bUpdatable;              // Primary
-	long m_lAttributes;             // Primary
-	COleDateTime m_dateCreated;     // Secondary
-	COleDateTime m_dateLastUpdated; // Secondary
-	CString m_strSrcTableName;      // Secondary
-	CString m_strConnect;           // Secondary
-	CString m_strValidationRule;    // All
-	CString m_strValidationText;    // All
-	long m_lRecordCount;            // All
-
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-};
-
-struct CDaoFieldInfo
-{
-// Attributes
-	CString m_strName;              // Primary
-	short m_nType;                  // Primary
-	long m_lSize;                   // Primary
-	long m_lAttributes;             // Primary
-	short m_nOrdinalPosition;       // Secondary
-	BOOL m_bRequired;               // Secondary
-	BOOL m_bAllowZeroLength;        // Secondary
-	long m_lCollatingOrder;         // Secondary
-	CString m_strForeignName;       // Secondary
-	CString m_strSourceField;       // Secondary
-	CString m_strSourceTable;       // Secondary
-	CString m_strValidationRule;    // All
-	CString m_strValidationText;    // All
-	CString m_strDefaultValue;      // All
-
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-};
-
-struct CDaoIndexFieldInfo
-{
-// Attributes
-	CString m_strName;              // Primary
-	BOOL m_bDescending;             // Primary
-
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-};
-
-struct CDaoIndexInfo
-{
-// Constructors
-	CDaoIndexInfo();
-
-// Attributes
-	CString m_strName;                      // Primary
-	CDaoIndexFieldInfo* m_pFieldInfos;      // Primary
-	short m_nFields;                        // Primary
-	BOOL m_bPrimary;                        // Secondary
-	BOOL m_bUnique;                         // Secondary
-	BOOL m_bClustered;                      // Secondary
-	BOOL m_bIgnoreNulls;                    // Secondary
-	BOOL m_bRequired;                       // Secondary
-	BOOL m_bForeign;                        // Secondary
-	long m_lDistinctCount;                  // All
-
-// Implementation
-	virtual ~CDaoIndexInfo();
-	BOOL m_bCleanupFieldInfo;
-
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-};
-
-struct CDaoRelationFieldInfo
-{
-// Attributes
-	CString m_strName;              // Primary
-	CString m_strForeignName;       // Primary
-
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-};
-
-struct CDaoRelationInfo
-{
-// Constructor
-	CDaoRelationInfo();
-
-// Attributes
-	CString m_strName;              // Primary
-	CString m_strTable;             // Primary
-	CString m_strForeignTable;      // Primary
-	long m_lAttributes;             // Secondary
-	CDaoRelationFieldInfo* m_pFieldInfos;   // Secondary
-	short m_nFields;                // Secondary
-
-// Implementation
-	virtual ~CDaoRelationInfo();
-	BOOL m_bCleanupFieldInfo;
-
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-};
-
-struct CDaoQueryDefInfo
-{
-// Attributes
-	CString m_strName;              // Primary
-	short m_nType;                  // Primary
-	COleDateTime m_dateCreated;     // Secondary
-	COleDateTime m_dateLastUpdated; // Secondary
-	BOOL m_bUpdatable;              // Secondary
-	BOOL m_bReturnsRecords;         // Secondary
-	CString m_strSQL;               // All
-	CString m_strConnect;           // All
-	short m_nODBCTimeout;           // See readme
-
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-};
-
-struct CDaoParameterInfo
-{
-// Attributes
-	CString m_strName;              // Primary
-	short m_nType;                  // Primary
-	COleVariant m_varValue;         // Secondary
-
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-};
-
-////////////////////////////////////////////////////////////////////////
-// DAO Helpers
-//
-
-// Flags for getting and/or setting object properties
-#define AFX_DAO_PRIMARY_INFO    0x00000001  // Get only primary
-#define AFX_DAO_SECONDARY_INFO  0x00000002  // Get primary & secondary
-#define AFX_DAO_ALL_INFO        0x00000004  // Get All info
-
-// Jet engine TRUE/FALSE definitions
-#define AFX_DAO_TRUE                    (-1L)
-#define AFX_DAO_FALSE                   0
-
-// Set CDaoRecordset::Open option to use m_nDefaultType
-#define AFX_DAO_USE_DEFAULT_TYPE        (-1L)
-
-// Flags used for Move/Find
-#define AFX_DAO_NEXT                    (+1L)
-#define AFX_DAO_PREV                    (-1L)
-#define AFX_DAO_FIRST                   LONG_MIN
-#define AFX_DAO_LAST                    LONG_MAX
-
-// Default sizes for DFX function PreAlloc sizes
-#define AFX_DAO_TEXT_DEFAULT_SIZE       255
-#define AFX_DAO_BINARY_DEFAULT_SIZE     2048
-#define AFX_DAO_LONGBINARY_DEFAULT_SIZE 32768
-
-// Flag used for DFX functions dwBindOptions bitmask
-#define AFX_DAO_ENABLE_FIELD_CACHE      0x01
-#define AFX_DAO_DISABLE_FIELD_CACHE     0
-#define AFX_DAO_CACHE_BY_VALUE          0x80    // MFC Internal
-
-// Field Flags, used to indicate status of fields
-#define AFX_DAO_FIELD_FLAG_DIRTY            0x01
-#define AFX_DAO_FIELD_FLAG_NULL             0x02
-#define AFX_DAO_FIELD_FLAG_NULLABLE_KNOWN   0x04
-#define AFX_DAO_FIELD_FLAG_NULLABLE         0x08
-
-// Extended error codes
-#define NO_AFX_DAO_ERROR                        0
-#define AFX_DAO_ERROR_MIN                       2000
-#define AFX_DAO_ERROR_ENGINE_INITIALIZATION     AFX_DAO_ERROR_MIN + 0
-#define AFX_DAO_ERROR_DFX_BIND                  AFX_DAO_ERROR_MIN + 1
-#define AFX_DAO_ERROR_OBJECT_NOT_OPEN           AFX_DAO_ERROR_MIN + 2
-#define AFX_DAO_ERROR_MAX                       AFX_DAO_ERROR_MIN + 2
-
-// Object status flags
-#define AFX_DAO_IMPLICIT_WS                     0x01
-#define AFX_DAO_IMPLICIT_DB                     0x02
-#define AFX_DAO_IMPLICIT_QD                     0x04
-#define AFX_DAO_IMPLICIT_TD                     0x08
-#define AFX_DAO_IMPLICIT_CLOSE                  0x40
-#define AFX_DAO_DEFAULT_WS                      0x80
-
-// CDaoRecordView status flags
-#define AFX_DAOVIEW_SCROLL_NEXT                 0x01
-#define AFX_DAOVIEW_SCROLL_LAST                 0x02
-#define AFX_DAOVIEW_SCROLL_BACKWARD             0x04
-
-// Logging helpers
-void AFXAPI AfxDaoCheck(SCODE scode, LPCSTR lpszDaoCall,
-	LPCSTR lpszFile, int nLine, int nError = NO_AFX_DAO_ERROR,
-	BOOL bMemOnly = FALSE);
-
-#ifdef MFC_DEBUG
-void AFXAPI AfxDaoTrace(SCODE scode, LPCSTR lpszDaoCall,
-	LPCSTR lpszFile, int nLine);
-#endif
-
-#ifdef MFC_DEBUG
-#define DAO_CHECK(f)            AfxDaoCheck(f, #f, THIS_FILE, __LINE__)
-#define DAO_CHECK_ERROR(f, err) AfxDaoCheck(f, #f, THIS_FILE, __LINE__, err)
-#define DAO_CHECK_MEM(f)        AfxDaoCheck(f, #f, THIS_FILE, __LINE__, \
-									NO_AFX_DAO_ERROR, TRUE)
-#define DAO_TRACE(f)            AfxDaoTrace(f, #f, THIS_FILE, __LINE__)
-#else
-#define DAO_CHECK(f)            AfxDaoCheck(f, NULL, NULL, 0)
-#define DAO_CHECK_ERROR(f, err) AfxDaoCheck(f, NULL, NULL, 0, err)
-#define DAO_CHECK_MEM(f)        AfxDaoCheck(f, NULL, NULL, 0, \
-									NO_AFX_DAO_ERROR, TRUE)
-#define DAO_TRACE(f)            f
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// CDaoFieldExchange - for field exchange
-class CDaoFieldExchange
-{
-// Attributes
-public:
-	enum DFX_Operation
-	{
-		AddToParameterList,     // builds PARAMETERS clause
-		AddToSelectList,        // builds SELECT clause
-		BindField,              // sets up binding structure
-		BindParam,              // sets parameter values
-		Fixup,                  // sets NULL status
-		AllocCache,             // allocates cache used for dirty check
-		StoreField,             // saves current record to cache
-		LoadField,              // restores cached data to member vars
-		FreeCache,              // frees cache
-		SetFieldNull,           // sets field status & value to NULL
-		MarkForAddNew,          // marks fields dirty if not PSEUDO NULL
-		MarkForEdit,            // marks fields dirty if don't match cache
-		SetDirtyField,          // sets field values marked as dirty
-#ifdef MFC_DEBUG
-		DumpField,
-#endif
-		MaxDFXOperation,        // dummy operation type for input checking
-	};
-
-	UINT m_nOperation;          // type of exchange operation
-	CDaoRecordset* m_prs;       // recordset handle
-
-// Operations
-public:
-	enum FieldType
-	{
-		none,
-		outputColumn,
-		param,
-	};
-
-	void SetFieldType(UINT nFieldType);
-	BOOL IsValidOperation();
-
-// Implementation
-public:
-	CDaoFieldExchange(UINT nOperation, CDaoRecordset* prs,
-		void* pvField = NULL);
-
-	void Default(LPCTSTR lpszName, void* pv, DWORD dwFieldType,
-		DWORD dwBindOptions = 0);
-
-	static void PASCAL AppendParamType(CString& strParamList, DWORD dwParamType);
-	static CDaoFieldCache* PASCAL GetCacheValue(CDaoRecordset* prs, void* pv);
-	static void PASCAL SetNullValue(void* pv, DWORD dwDataType);
-	static BOOL PASCAL IsNullValue(void* pv, DWORD dwDataType);
-	static void PASCAL AllocCacheValue(CDaoFieldCache*& pCache, DWORD dwDataType);
-	static void PASCAL DeleteCacheValue(CDaoFieldCache* pCache, DWORD dwDataType);
-	static void PASCAL CopyValue(void* pvSrc, void* pvDest, DWORD dwDataType);
-	static BOOL PASCAL CompareValue(void* pvSrc, void* pvDest, DWORD dwDataType);
-	static void PASCAL FillVariant(void* pvValue, DWORD dwDataType, COleVariant** ppVar);
-
-	// Current type of field
-	UINT m_nFieldType;
-	void* m_pvField;
-	UINT m_nField;
-	UINT m_nParam;
-	UINT m_nFieldFound;
-
-#ifdef MFC_DEBUG
-	CDumpContext* m_pdcDump;
-#endif //MFC_DEBUG
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// Standard RecordSet Field Exchange routines
-
-// variable length data
-void AFXAPI DFX_Text(CDaoFieldExchange* pFX, LPCTSTR lpszName,
-	CString& value, int nPreAllocSize = AFX_DAO_TEXT_DEFAULT_SIZE,
-	DWORD dwBindOptions = AFX_DAO_ENABLE_FIELD_CACHE);
-void AFXAPI DFX_Binary(CDaoFieldExchange* pFX, LPCTSTR lpszName,
-	CByteArray& value, int nPreAllocSize = AFX_DAO_BINARY_DEFAULT_SIZE,
-	DWORD dwBindOptions = 0);
-void AFXAPI DFX_LongBinary(CDaoFieldExchange* pFX, LPCTSTR lpszName,
-	CLongBinary& value, DWORD dwPreAllocSize = AFX_DAO_LONGBINARY_DEFAULT_SIZE,
-	DWORD dwBndOptions = 0);
-
-//fixed length data
-void AFXAPI DFX_Bool(CDaoFieldExchange* pFX, LPCTSTR lpszName,
-	BOOL& value, DWORD dwBindOptions = AFX_DAO_ENABLE_FIELD_CACHE);
-void AFXAPI DFX_Byte(CDaoFieldExchange* pFX, LPCTSTR lpszName,
-	BYTE& value, DWORD dwBindOptions = AFX_DAO_ENABLE_FIELD_CACHE);
-void AFXAPI DFX_Short(CDaoFieldExchange* pFX, LPCTSTR lpszName,
-	short& value, DWORD dwBindOptions = AFX_DAO_ENABLE_FIELD_CACHE);
-void AFXAPI DFX_Long(CDaoFieldExchange* pFX, LPCTSTR lpszName,
-	long& value, DWORD dwBindOptions = AFX_DAO_ENABLE_FIELD_CACHE);
-void AFXAPI DFX_Currency(CDaoFieldExchange* pFX, LPCTSTR lpszName,
-	COleCurrency& value, DWORD dwBindOptions = AFX_DAO_ENABLE_FIELD_CACHE);
-void AFXAPI DFX_Single(CDaoFieldExchange* pFX, LPCTSTR lpszName,
-	float& value, DWORD dwBindOptions = AFX_DAO_ENABLE_FIELD_CACHE);
-void AFXAPI DFX_Double(CDaoFieldExchange* pFX, LPCTSTR lpszName,
-	double& value, DWORD dwBindOptions = AFX_DAO_ENABLE_FIELD_CACHE);
-void AFXAPI DFX_DateTime(CDaoFieldExchange* pFX, LPCTSTR lpszName,
-	COleDateTime& value, DWORD dwBindOptions = AFX_DAO_ENABLE_FIELD_CACHE);
-
-//////////////////////////////////////////////////////////////////////////
-// Database Dialog Data Exchange cover routines
-// Cover routines provide database semantics on top of DDX routines
-
-// simple text operations
-void AFXAPI DDX_FieldText(CDataExchange* pDX, int nIDC, BOOL& value,
-	CDaoRecordset* pRecordset);
-void AFXAPI DDX_FieldText(CDataExchange* pDX, int nIDC, BYTE& value,
-	CDaoRecordset* pRecordset);
-void AFXAPI DDX_FieldText(CDataExchange* pDX, int nIDC, short& value,
-	CDaoRecordset* pRecordset);
-void AFXAPI DDX_FieldText(CDataExchange* pDX, int nIDC, long& value,
-	CDaoRecordset* pRecordset);
-void AFXAPI DDX_FieldText(CDataExchange* pDX, int nIDC, COleCurrency& value,
-	CDaoRecordset* pRecordset);
-void AFXAPI DDX_FieldText(CDataExchange* pDX, int nIDC, DWORD& value,
-	CDaoRecordset* pRecordset);
-void AFXAPI DDX_FieldText(CDataExchange* pDX, int nIDC, float& value,
-	CDaoRecordset* pRecordset);
-void AFXAPI DDX_FieldText(CDataExchange* pDX, int nIDC, double& value,
-	CDaoRecordset* pRecordset);
-void AFXAPI DDX_FieldText(CDataExchange* pDX, int nIDC, COleDateTime& value,
-	CDaoRecordset* pRecordset);
-void AFXAPI DDX_FieldText(CDataExchange* pDX, int nIDC, CString& value,
-	CDaoRecordset* pRecordset);
-void AFXAPI DDX_FieldText(CDataExchange* pDX, int nIDC, LPTSTR pstrValue,
-	int nMaxLen, CDaoRecordset* pRecordset);
-
-// special control types
-void AFXAPI DDX_FieldCheck(CDataExchange* pDX, int nIDC, int& value,
-	CDaoRecordset* pRecordset);
-void AFXAPI DDX_FieldRadio(CDataExchange* pDX, int nIDC, int& value,
-	CDaoRecordset* pRecordset);
-void AFXAPI DDX_FieldLBString(CDataExchange* pDX, int nIDC,
-	CString& value, CDaoRecordset* pRecordset);
-void AFXAPI DDX_FieldCBString(CDataExchange* pDX, int nIDC,
-	CString& value, CDaoRecordset* pRecordset);
-void AFXAPI DDX_FieldLBStringExact(CDataExchange* pDX, int nIDC,
-	CString& value, CDaoRecordset* pRecordset);
-void AFXAPI DDX_FieldCBStringExact(CDataExchange* pDX, int nIDC,
-	CString& value, CDaoRecordset* pRecordset);
-void AFXAPI DDX_FieldLBIndex(CDataExchange* pDX, int nIDC, int& index,
-	CDaoRecordset* pRecordset);
-void AFXAPI DDX_FieldCBIndex(CDataExchange* pDX, int nIDC, int& index,
-	CDaoRecordset* pRecordset);
-void AFXAPI DDX_FieldLBStringExact(CDataExchange* pDX, int nIDC, CString& value,
-	CDaoRecordset* pRecordset);
-void AFXAPI DDX_FieldCBStringExact(CDataExchange* pDX, int nIDC, CString& value,
-	CDaoRecordset* pRecordset);
-void AFXAPI DDX_FieldScroll(CDataExchange* pDX, int nIDC, int& value,
-	CDaoRecordset* pRecordset);
-void AFXAPI DDX_FieldSlider(CDataExchange* pDX, int nIDC, int& value,
-	CDaoRecordset* pRecordset);
-
-////////////////////////////////////////////////////////////////////////
-// CDaoWorkspace - a DAO Workspace
-
-class CDaoWorkspace : public CObject
-{
-	DECLARE_DYNAMIC(CDaoWorkspace)
-
-// Constructors
-public:
-	CDaoWorkspace();
-
-	virtual void Create(LPCTSTR lpszName, LPCTSTR lpszUserName,
-		LPCTSTR lpszPassword);
-	virtual void Append();
-
-	virtual void Open(LPCTSTR lpszName = NULL);
-	virtual void Close();
-
-// Attributes
-public:
-	DAOWorkspace* m_pDAOWorkspace;
-
-	static CString PASCAL GetVersion();
-	static CString PASCAL GetIniPath();
-	static void PASCAL SetIniPath(LPCTSTR lpszRegistrySubKey);
-	static void PASCAL SetDefaultUser(LPCTSTR lpszDefaultUser);
-	static void PASCAL SetDefaultPassword(LPCTSTR lpszPassword);
-	static short PASCAL GetLoginTimeout();
-	static void PASCAL SetLoginTimeout(short nSeconds);
-
-	CString GetName();
-	CString GetUserName();
-	void SetIsolateODBCTrans(BOOL bIsolateODBCTrans);
-	BOOL GetIsolateODBCTrans();
-
-	BOOL IsOpen() const;
-
-// Operations
-public:
-	void BeginTrans();
-	void CommitTrans();
-	void Rollback();
-
-	static void PASCAL CompactDatabase(LPCTSTR lpszSrcName,
-		LPCTSTR lpszDestName, LPCTSTR lpszLocale = dbLangGeneral,
-		int nOptions = 0);
-	// Password parameter added late in dev cycle, new interface req'd
-	static void PASCAL CompactDatabase(LPCTSTR lpszSrcName,
-		LPCTSTR lpszDestName, LPCTSTR lpszLocale, int nOptions,
-		LPCTSTR lpszPassword);
-	static void PASCAL RepairDatabase(LPCTSTR lpszName);
-
-	static void PASCAL Idle(int nAction = dbFreeLocks);
-
-	short GetWorkspaceCount();
-	void GetWorkspaceInfo(int nIndex, CDaoWorkspaceInfo& wkspcinfo,
-		DWORD dwInfoOptions = AFX_DAO_PRIMARY_INFO);
-	void GetWorkspaceInfo(LPCTSTR lpszName, CDaoWorkspaceInfo& wkspcinfo,
-		DWORD dwInfoOptions = AFX_DAO_PRIMARY_INFO);
-
-	short GetDatabaseCount();
-	void GetDatabaseInfo(int nIndex, CDaoDatabaseInfo& dbinfo,
-		DWORD dwInfoOptions = AFX_DAO_PRIMARY_INFO);
-	void GetDatabaseInfo(LPCTSTR lpszName, CDaoDatabaseInfo& dbinfo,
-		DWORD dwInfoOptions = AFX_DAO_PRIMARY_INFO);
-
-// Overridables
-public:
-
-// Implementation
-public:
-	virtual ~CDaoWorkspace();
-
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-	DAOWorkspaces* m_pDAOWorkspaces;
-	DAODatabases* m_pDAODatabases;
-	int m_nStatus;
-
-	CMapPtrToPtr m_mapDatabases;        // Map of all Open CDaoDatabases
-	BOOL IsNew() const;
-
-protected:
-	BOOL m_bOpen;
-	BOOL m_bNew;
-
-	static void AFX_CDECL InitializeEngine();
-
-	void InitWorkspacesCollection();
-	void FillWorkspaceInfo(DAOWorkspace* pDAOWorkspace,
-		CDaoWorkspaceInfo& wsinfo, DWORD dwOptions);
-
-	void InitDatabasesCollection();
-	void FillDatabaseInfo(DAODatabase* pDAODatabase,
-		CDaoDatabaseInfo& dbinfo, DWORD dwOptions);
-
-	virtual void ThrowDaoException(int nError = NO_AFX_DAO_ERROR);
-};
-
-////////////////////////////////////////////////////////////////////////
-// CDaoException - DAO error trapping mechanism
-class CDaoException : public CException
-{
-	DECLARE_DYNAMIC(CDaoException)
-
-// Constructors
-public:
-	CDaoException();
-
-// Attributes
-public:
-	CDaoErrorInfo* m_pErrorInfo;
-
-	SCODE m_scode;
-	int m_nAfxDaoError;     // DAO class extended error code
-
-// Operations
-public:
-	short GetErrorCount();
-	void GetErrorInfo(int nIndex);
-
-// Implementation
-public:
-	virtual ~CDaoException();
-
-	DAOError* m_pDAOError;
-	DAOErrors* m_pDAOErrors;
-
-	virtual BOOL GetErrorMessage(LPTSTR lpszError, UINT nMaxError,
-		PUINT pnHelpContext = NULL);
-
-protected:
-	void InitErrorsCollection();
-	void FillErrorInfo();
-};
-
-void AFXAPI AfxThrowDaoException(int nAfxDaoError = NO_AFX_DAO_ERROR,
-	SCODE scode = S_OK);
-
-
-////////////////////////////////////////////////////////////////////////
-// CDaoDatabase - a DAO Database
-
-class CDaoDatabase : public CObject
-{
-	DECLARE_DYNAMIC(CDaoDatabase)
-
-// Constructors
-public:
-	CDaoDatabase(CDaoWorkspace* pWorkspace = NULL);
-
-	virtual void Create(LPCTSTR lpszName,
-		LPCTSTR lpszLocale = dbLangGeneral, int dwOptions = 0);
-
-	virtual void Open(LPCTSTR lpszName, BOOL bExclusive = FALSE,
-		BOOL bReadOnly = FALSE, LPCTSTR lpszConnect = _T(""));
-	virtual void Close();
-
-// Attributes
-public:
-	CDaoWorkspace* m_pWorkspace;
-	DAODatabase* m_pDAODatabase;
-
-	BOOL IsOpen() const;
-
-	BOOL CanUpdate();
-	BOOL CanTransact();
-
-	CString GetName();
-	CString GetConnect();
-
-	CString GetVersion();
-	short GetQueryTimeout();
-	void SetQueryTimeout(short nSeconds);
-	long GetRecordsAffected();
-
-// Operations
-public:
-	void Execute(LPCTSTR lpszSQL, int nOptions = dbFailOnError);
-
-	void DeleteTableDef(LPCTSTR lpszName);
-	void DeleteQueryDef(LPCTSTR lpszName);
-
-	void CreateRelation(LPCTSTR lpszName, LPCTSTR lpszTable,
-		LPCTSTR lpszForeignTable, long lAttributes,
-		LPCTSTR lpszField, LPCTSTR lpszForeignField);
-	void CreateRelation(CDaoRelationInfo& relinfo);
-	void DeleteRelation(LPCTSTR lpszName);
-
-	short GetTableDefCount();
-	void GetTableDefInfo(int nIndex, CDaoTableDefInfo& tabledefinfo,
-		DWORD dwInfoOptions = AFX_DAO_PRIMARY_INFO);
-	void GetTableDefInfo(LPCTSTR lpszName, CDaoTableDefInfo& tabledefinfo,
-		DWORD dwInfoOptions = AFX_DAO_PRIMARY_INFO);
-
-	short GetRelationCount();
-	void GetRelationInfo(int nIndex, CDaoRelationInfo& relinfo,
-		DWORD dwInfoOptions = AFX_DAO_PRIMARY_INFO);
-	void GetRelationInfo(LPCTSTR lpszName, CDaoRelationInfo& relinfo,
-		DWORD dwInfoOptions = AFX_DAO_PRIMARY_INFO);
-
-	short GetQueryDefCount();
-	void GetQueryDefInfo(int nIndex, CDaoQueryDefInfo& querydefinfo,
-		DWORD dwInfoOptions = AFX_DAO_PRIMARY_INFO);
-	void GetQueryDefInfo(LPCTSTR lpszName, CDaoQueryDefInfo& querydefinfo,
-		DWORD dwInfoOptions = AFX_DAO_PRIMARY_INFO);
-
-// Overridables
-public:
-
-// Implementation
-public:
-	virtual ~CDaoDatabase();
-
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-	DAOTableDefs* m_pDAOTableDefs;
-	DAORelations* m_pDAORelations;
-	DAOQueryDefs* m_pDAOQueryDefs;
-	DAORecordsets* m_pDAORecordsets;
-	int m_nStatus;
-
-	CMapPtrToPtr m_mapTableDefs;        // Map of all Open CDaoTableDefs
-	CMapPtrToPtr m_mapQueryDefs;        // Map of all Open CDaoQueryDefs
-	CMapPtrToPtr m_mapRecordsets;       // Map of all Open CDaoRecordsets
-
-protected:
-	BOOL m_bOpen;
-
-	void InitWorkspace();
-	void InitTableDefsCollection();
-	void FillTableDefInfo(DAOTableDef* pDAOTableDef,
-		CDaoTableDefInfo& tabledefinfo, DWORD dwOptions);
-	void InitRelationsCollection();
-	void FillRelationInfo(DAORelation* pDAORelation,
-		CDaoRelationInfo& relinfo, DWORD dwOptions);
-	void InitQueryDefsCollection();
-	void FillQueryDefInfo(DAOQueryDef* pDAOQueryDef,
-		CDaoQueryDefInfo& querydefinfo, DWORD dwOptions);
-
-	virtual void ThrowDaoException(int nError = NO_AFX_DAO_ERROR);
-};
-
-
-////////////////////////////////////////////////////////////////////////
-// CDaoTableDef - a DAO TableDef
-
-class CDaoTableDef : public CObject
-{
-	DECLARE_DYNAMIC(CDaoTableDef)
-
-// Constructors
-public:
-	CDaoTableDef(CDaoDatabase* pDatabase);
-
-	virtual void Create(LPCTSTR lpszName, long lAttributes = 0,
-		LPCTSTR lpszSrcTable = NULL, LPCTSTR lpszConnect = NULL);
-	virtual void Append();
-
-	virtual void Open(LPCTSTR lpszName);
-	virtual void Close();
-
-// Attributes
-public:
-	CDaoDatabase* m_pDatabase;
-	DAOTableDef* m_pDAOTableDef;
-
-	BOOL IsOpen() const;
-	BOOL CanUpdate();
-
-	void SetName(LPCTSTR lpszName);
-	CString GetName();
-	void SetSourceTableName(LPCTSTR lpszSrcTableName);
-	CString GetSourceTableName();
-	void SetConnect(LPCTSTR lpszConnect);
-	CString GetConnect();
-	void SetAttributes(long lAttributes);
-	long GetAttributes();
-	COleDateTime GetDateCreated();
-	COleDateTime GetDateLastUpdated();
-	void SetValidationRule(LPCTSTR lpszValidationRule);
-	CString GetValidationRule();
-	void SetValidationText(LPCTSTR lpszValidationText);
-	CString GetValidationText();
-	long GetRecordCount();
-
-// Overridables
-public:
-
-// Operations
-public:
-	void CreateField(LPCTSTR lpszName, short nType, long lSize,
-		long lAttributes = 0);
-	void CreateField(CDaoFieldInfo& fieldinfo);
-	void DeleteField(LPCTSTR lpszName);
-	void DeleteField(int nIndex);
-
-	void CreateIndex(CDaoIndexInfo& indexinfo);
-	void DeleteIndex(LPCTSTR lpszName);
-	void DeleteIndex(int nIndex);
-
-	short GetFieldCount();
-	void GetFieldInfo(int nIndex, CDaoFieldInfo& fieldinfo,
-		DWORD dwInfoOptions = AFX_DAO_PRIMARY_INFO);
-	void GetFieldInfo(LPCTSTR lpszName, CDaoFieldInfo& fieldinfo,
-		DWORD dwInfoOptions = AFX_DAO_PRIMARY_INFO);
-
-	short GetIndexCount();
-	void GetIndexInfo(int nIndex, CDaoIndexInfo& indexinfo,
-		DWORD dwInfoOptions = AFX_DAO_PRIMARY_INFO);
-	void GetIndexInfo(LPCTSTR lpszName, CDaoIndexInfo& indexinfo,
-		DWORD dwInfoOptions = AFX_DAO_PRIMARY_INFO);
-
-	void RefreshLink();
-
-// Implementation
-public:
-	~CDaoTableDef();
-
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-	DAOFields* m_pDAOFields;
-	DAOIndexes* m_pDAOIndexes;
-
-protected:
-	BOOL m_bOpen;
-	BOOL m_bNew;
-
-	void InitFieldsCollection();
-	void InitIndexesCollection();
-
-	virtual void ThrowDaoException(int nError = NO_AFX_DAO_ERROR);
-};
-
-
-////////////////////////////////////////////////////////////////////////
-// CDaoQueryDef - a DAO QueryDef
-
-class CDaoQueryDef : public CObject
-{
-	DECLARE_DYNAMIC(CDaoQueryDef)
-
-// Constructors
-public:
-	CDaoQueryDef(CDaoDatabase* pDatabase);
-
-	virtual void Create(LPCTSTR lpszName = NULL,
-		LPCTSTR lpszSQL = NULL);
-	virtual void Append();
-
-	virtual void Open(LPCTSTR lpszName = NULL);
-	virtual void Close();
-
-// Attributes
-public:
-	CDaoDatabase* m_pDatabase;
-	DAOQueryDef* m_pDAOQueryDef;
-
-	BOOL CanUpdate();
-
-	CString GetName();
-	void SetName(LPCTSTR lpszName);
-	CString GetSQL();
-	void SetSQL(LPCTSTR lpszSQL);
-	short GetType();
-	COleDateTime GetDateCreated();
-	COleDateTime GetDateLastUpdated();
-	CString GetConnect();
-	void SetConnect(LPCTSTR lpszConnect);
-	short GetODBCTimeout();
-	void SetODBCTimeout(short nODBCTimeout);
-	BOOL GetReturnsRecords();
-	void SetReturnsRecords(BOOL bReturnsRecords);
-	long GetRecordsAffected();
-
-	BOOL IsOpen() const;
-
-// Operations
-public:
-	virtual void Execute(int nOptions = dbFailOnError);
-
-	virtual COleVariant GetParamValue(LPCTSTR lpszName);
-	virtual COleVariant GetParamValue(int nIndex);
-	virtual void SetParamValue(LPCTSTR lpszName,
-		const COleVariant& varValue);
-	virtual void SetParamValue(int nIndex,
-		const COleVariant& varValue);
-	void SetParamValueNull(LPCTSTR lpszName);
-	void SetParamValueNull(int nIndex);
-
-	short GetFieldCount();
-	void GetFieldInfo(int nIndex, CDaoFieldInfo& fieldinfo,
-		DWORD dwInfoOptions = AFX_DAO_PRIMARY_INFO);
-	void GetFieldInfo(LPCTSTR lpszName, CDaoFieldInfo& fieldinfo,
-		DWORD dwInfoOptions = AFX_DAO_PRIMARY_INFO);
-
-	short GetParameterCount();
-	void GetParameterInfo(int nIndex, CDaoParameterInfo& paraminfo,
-		DWORD dwInfoOptions = AFX_DAO_PRIMARY_INFO);
-	void GetParameterInfo(LPCTSTR lpszName,
-		CDaoParameterInfo& paraminfo,
-		DWORD dwInfoOptions = AFX_DAO_PRIMARY_INFO);
-
-// Overridables
-public:
-
-// Implementation
-public:
-	~CDaoQueryDef();
-
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-	DAOFields* m_pDAOFields;
-	DAOParameters* m_pDAOParameters;
-
-protected:
-	BOOL m_bOpen;
-	BOOL m_bNew;
-
-	void InitFieldsCollection();
-	void InitParametersCollection();
-	void FillParameterInfo(DAOParameter* pDAOParameter,
-		CDaoParameterInfo& paraminfo, DWORD dwInfoOptions);
-
-	virtual void ThrowDaoException(int nError = NO_AFX_DAO_ERROR);
-};
-
-
-////////////////////////////////////////////////////////////////////////
-// CDaoRecordset - the result of a query or base table browse
-
-class CDaoRecordset : public CObject
-{
-	DECLARE_DYNAMIC(CDaoRecordset)
-
-// Constructor
-public:
-	CDaoRecordset(CDaoDatabase* pDatabase = NULL);
-
-	virtual void Open(int nOpenType = AFX_DAO_USE_DEFAULT_TYPE,
-		LPCTSTR lpszSQL = NULL, int nOptions = 0);
-	virtual void Open(CDaoQueryDef* pQueryDef,
-		int nOpenType = dbOpenDynaset, int nOptions = 0);
-	virtual void Open(CDaoTableDef* pTableDef,
-		int nOpenType = dbOpenTable, int nOptions = 0);
-	virtual void Close();
-
-// Attributes
-public:
-	CDaoDatabase* m_pDatabase;  // Source database for this result set
-	DAORecordset* m_pDAORecordset;
-
-	CString m_strFilter;    // Filter string used when constructing SQL
-	CString m_strSort;      // Sort string used when constructing SQL
-
-	int m_nFields;
-	int m_nParams;
-
-	BOOL m_bCheckCacheForDirtyFields;   // Switch for dirty field checking.
-
-	BOOL CanUpdate() const;
-	BOOL CanAppend() const;
-	BOOL CanScroll() const;
-	BOOL CanRestart();
-	BOOL CanTransact();
-	BOOL CanBookmark();
-
-	BOOL IsOpen() const;
-	BOOL IsBOF() const;
-	BOOL IsEOF() const;
-	BOOL IsDeleted() const;
-
-	BOOL IsFieldDirty(void* pv);
-	BOOL IsFieldNull(void* pv);
-	BOOL IsFieldNullable(void* pv);
-
-	CString GetName();
-	short GetType();
-	short GetEditMode();
-	CString GetSQL() const;
-
-	COleDateTime GetDateCreated();
-	COleDateTime GetDateLastUpdated();
-	COleVariant GetLastModifiedBookmark();
-	CString GetValidationRule();
-	CString GetValidationText();
-	CString GetCurrentIndex();
-	void SetCurrentIndex(LPCTSTR lpszIndex);
-
-	long GetRecordCount();
-
-// Operations
-public:
-	// Cursor operations
-	void MoveNext();
-	void MovePrev();
-	void MoveFirst();
-	void MoveLast();
-	virtual void Move(long lRows);
-
-	BOOL FindNext(LPCTSTR lpszFilter);
-	BOOL FindPrev(LPCTSTR lpszFilter);
-	BOOL FindFirst(LPCTSTR lpszFilter);
-	BOOL FindLast(LPCTSTR lpszFilter);
-	virtual BOOL Find(long lFindType, LPCTSTR lpszFilter);
-
-	COleVariant GetBookmark();
-	void SetBookmark(COleVariant varBookmark);
-	long GetAbsolutePosition();
-	void SetAbsolutePosition(long lPosition);
-	float GetPercentPosition();
-	void SetPercentPosition(float fPosition);
-
-	// seek allowed on recordset opened as tables (max keys = 13)
-	BOOL Seek(LPCTSTR lpszComparison, COleVariant* pKey1,
-		COleVariant* pKey2 = NULL, COleVariant* pKey3 = NULL);
-	BOOL Seek(LPCTSTR lpszComparison, COleVariant* pKeyArray, WORD nKeys);
-
-	// edit buffer operations
-	virtual void AddNew();
-	virtual void Edit();
-	virtual void Update();
-	virtual void Delete();
-	virtual void CancelUpdate();
-
-	// field operations
-	virtual void GetFieldValue(LPCTSTR lpszName, COleVariant& varValue);
-	virtual void GetFieldValue(int nIndex, COleVariant& varValue);
-	virtual void SetFieldValue(LPCTSTR lpszName,
-		const COleVariant& varValue);
-	virtual void SetFieldValue(int nIndex,
-		const COleVariant& varValue);
-	void SetFieldValue(int nIndex, LPCTSTR lpszValue);
-	void SetFieldValue(LPCTSTR lpszName, LPCTSTR lpszValue);
-	void SetFieldValueNull(LPCTSTR lpszName);
-	void SetFieldValueNull(int nIndex);
-
-	virtual COleVariant GetParamValue(LPCTSTR lpszName);
-	virtual COleVariant GetParamValue(int nIndex);
-	virtual void SetParamValue(LPCTSTR lpszName,
-		const COleVariant& varValue);
-	virtual void SetParamValue(int nIndex,
-		const COleVariant& varValue);
-	void SetParamValueNull(LPCTSTR lpszName);
-	void SetParamValueNull(int nIndex);
-
-	void SetFieldDirty(void* pv, BOOL bDirty = TRUE);
-	void SetFieldNull(void* pv, BOOL bNull = TRUE);
-
-	void SetLockingMode(BOOL bPessimistic);
-	BOOL GetLockingMode();
-
-	// Recordset operations
-	virtual void Requery();
-
-	// Jet's remote data caching operations
-	void SetCacheStart(COleVariant varBookmark);
-	COleVariant GetCacheStart();
-	void SetCacheSize(long lSize);
-	long GetCacheSize();
-	void FillCache(long* pSize = NULL, COleVariant* pBookmark = NULL);
-
-	short GetFieldCount();
-	void GetFieldInfo(int nIndex, CDaoFieldInfo& fieldinfo,
-		DWORD dwInfoOptions = AFX_DAO_PRIMARY_INFO);
-	void GetFieldInfo(LPCTSTR lpszName, CDaoFieldInfo& fieldinfo,
-		DWORD dwInfoOptions = AFX_DAO_PRIMARY_INFO);
-
-	short GetIndexCount();
-	void GetIndexInfo(int nIndex, CDaoIndexInfo& indexinfo,
-		DWORD dwInfoOptions = AFX_DAO_PRIMARY_INFO);
-	void GetIndexInfo(LPCTSTR lpszName, CDaoIndexInfo& indexinfo,
-		DWORD dwInfoOptions = AFX_DAO_PRIMARY_INFO);
-
-// Overridables
-public:
-	virtual CString GetDefaultDBName();
-	virtual CString GetDefaultSQL();
-
-	// for recordset field exchange
-	virtual void DoFieldExchange(CDaoFieldExchange* pFX);
-
-// Implementation
-public:
-	virtual ~CDaoRecordset();
-
-	// Out-of-date functions kept for backward compatability
-	virtual COleVariant GetFieldValue(LPCTSTR lpszName);
-	virtual COleVariant GetFieldValue(int nIndex);
-
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-	CString m_strSQL;
-
-	CDaoQueryDef* m_pQueryDef;  // Source query for this result set
-	CDaoTableDef* m_pTableDef;
-	ICDAORecordset* m_pICDAORecordsetGetRows;
-	DAOFields* m_pDAOFields;
-	DAOIndexes* m_pDAOIndexes;
-
-	void SetCursorAttributes();
-	void GetDataAndFixupNulls();
-	DWORD GetFieldLength(int nFieldIndex);
-
-	BOOL IsFieldStatusDirty(UINT nField);
-	void SetDirtyFieldStatus(UINT nField);
-	void ClearDirtyFieldStatus(UINT nField);
-
-	BOOL IsFieldStatusNull(UINT nField);
-	void SetNullFieldStatus(UINT nField);
-	void ClearNullFieldStatus(UINT nField);
-
-	BOOL IsFieldStatusNullable(UINT nField);
-	void SetNullableFieldStatus(UINT nField);
-
-	BOOL IsFieldStatusNullableKnown(UINT nField);
-	void SetNullableKnownFieldStatus(UINT nField);
-
-	void ClearFieldStatusFlags();
-	BOOL IsMatch();
-
-	DWORD m_cbFixedLengthFields;
-	DAOCOLUMNBINDING* m_prgDaoColBindInfo;
-	DWORD* m_pulColumnLengths;
-	DAOFETCHROWS m_DaoFetchRows;
-	BYTE* m_pbFieldFlags;
-	BYTE* m_pbParamFlags;
-
-	CMapPtrToPtr* m_pMapFieldCache;
-	CMapPtrToPtr* m_pMapFieldIndex;
-
-	static void AFX_CDECL StripBrackets(LPCTSTR lpszSrc, LPTSTR lpszDest);
-
-protected:
-	BOOL m_bOpen;
-	int m_nStatus;
-
-	BOOL m_bAppendable;
-	BOOL m_bScrollable;
-	BOOL m_bDeleted;
-
-	int m_nOpenType;
-	int m_nDefaultType;
-	int m_nOptions;
-
-	CString m_strRequerySQL;
-	CString m_strRequeryFilter;
-	CString m_strRequerySort;
-
-	void BuildSQL();
-	void AllocDatabase();
-
-	// RFX Operation Cover Functions
-	void BuildSelectList();
-	void BuildParameterList();
-	void BindFields();
-	void BindParameters();
-	void Fixup();
-	void AllocCache();
-	void StoreFields();
-	void LoadFields();
-	void FreeCache();
-	void MarkForEdit();
-	void MarkForAddNew();
-	int GetFieldIndex(void* pv);
-	virtual void SetDirtyFields();
-
-	void InitFieldsCollection();
-	void InitIndexesCollection();
-
-	virtual void ThrowDaoException(int nError = NO_AFX_DAO_ERROR);
-
-	friend class CDaoFieldExchange;
-	friend class CDaoRecordView;
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CDaoRecordView - form for viewing data records
-
-#ifdef _AFXDLL
-class CDaoRecordView : public CFormView
-#else
-class AFX_NOVTABLE CDaoRecordView : public CFormView
-#endif
-{
-	DECLARE_DYNAMIC(CDaoRecordView)
-
-// Construction
-protected:  // must derive your own class
-	CDaoRecordView(LPCTSTR lpszTemplateName);
-	CDaoRecordView(UINT nIDTemplate);
-
-// Attributes
-public:
-	virtual CDaoRecordset* OnGetRecordset() = 0;
-
-	BOOL IsOnLastRecord();
-	BOOL IsOnFirstRecord();
-
-// Operations
-public:
-	virtual BOOL OnMove(UINT nIDMoveCommand);
-
-// Implementation
-public:
-	virtual ~CDaoRecordView();
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-	virtual void OnInitialUpdate();
-
-protected:
-	int m_nStatus;
-	COleVariant m_varBookmarkCurrent;
-	COleVariant m_varBookmarkFirst;
-	COleVariant m_varBookmarkLast;
-
-	//{{AFX_MSG(CDaoRecordView)
-	afx_msg void OnUpdateRecordFirst(CCmdUI* pCmdUI);
-	afx_msg void OnUpdateRecordPrev(CCmdUI* pCmdUI);
-	afx_msg void OnUpdateRecordNext(CCmdUI* pCmdUI);
-	afx_msg void OnUpdateRecordLast(CCmdUI* pCmdUI);
-	//}}AFX_MSG
-	afx_msg void OnMove(int cx, int cy);
-
-	DECLARE_MESSAGE_MAP()
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// DAODBEngine helpers - implementation specific and undocumented
-void AFXAPI AfxDaoInit();
-DAODBEngine* AFXAPI AfxDaoGetEngine();
-void AFXAPI AfxDaoTerm();
-
-/////////////////////////////////////////////////////////////////////////////
-// Inline function declarations
-
-#ifdef _AFX_PACKING
-#pragma pack(pop)
-#endif
-
-#ifdef _AFX_ENABLE_INLINES
-#define _AFXDAOCORE_INLINE AFX_INLINE
-#define _AFXDAODFX_INLINE AFX_INLINE
-#define _AFXDAOVIEW_INLINE AFX_INLINE
-#include <afxdao.inl>
-#undef _AFXDAOCORE_INLINE
-#undef _AFXDAODFX_INLINE
-#undef _AFXDAOVIEW_INLINE
-#endif
-
-#undef AFX_DATA
-#define AFX_DATA
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, on)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, off)
-#endif
-
-#endif //__AFXDAO_H__
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 77
libs/mfc/include/afxdao.inl

@@ -1,77 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-// Inlines for AFXDAO.H
-
-/////////////////////////////////////////////////////////////////////////////
-// General database inlines
-
-#ifdef _AFXDAOCORE_INLINE
-
-// CDaoWorkspace inlines
-_AFXDAOCORE_INLINE BOOL CDaoWorkspace::IsOpen() const
-	{ ASSERT_VALID(this); return m_bOpen; }
-_AFXDAOCORE_INLINE BOOL CDaoWorkspace::IsNew() const
-	{ ASSERT_VALID(this); return m_bNew; }
-
-// CDaoDatabase inlines
-_AFXDAOCORE_INLINE BOOL CDaoDatabase::IsOpen() const
-	{ ASSERT_VALID(this); return m_bOpen; }
-
-// CDaoTableDef inlines
-_AFXDAOCORE_INLINE BOOL CDaoTableDef::IsOpen() const
-	{ ASSERT_VALID(this); return m_bOpen; }
-
-// CDaoQueryDef inlines
-_AFXDAOCORE_INLINE BOOL CDaoQueryDef::IsOpen() const
-	{ ASSERT_VALID(this); return m_bOpen; }
-
-// CDaoRecordset inlines
-_AFXDAOCORE_INLINE BOOL CDaoRecordset::IsOpen() const
-	{ ASSERT_VALID(this); return m_bOpen; }
-
-#endif // _AFXDAOCORE_INLINE
-
-
-#ifdef _AFXDAODFX_INLINE
-
-// CDaoFieldExchange
-_AFXDAODFX_INLINE void CDaoFieldExchange::SetFieldType(UINT nFieldType)
-{ ASSERT(nFieldType == outputColumn || nFieldType == param);
-		m_nFieldType = nFieldType; }
-
-#endif // _AFXDAODFX_INLINE
-
-
-#ifdef _AFXDAOVIEW_INLINE
-
-// CDaoRecordView inlines
-_AFXDAOVIEW_INLINE void CDaoRecordView::OnUpdateRecordFirst(CCmdUI* pCmdUI)
-	{ ASSERT_VALID(this);
-		pCmdUI->Enable(m_nStatus & AFX_DAOVIEW_SCROLL_BACKWARD); }
-
-_AFXDAOVIEW_INLINE void CDaoRecordView::OnUpdateRecordNext(CCmdUI* pCmdUI)
-	{ ASSERT_VALID(this);
-		pCmdUI->Enable(m_nStatus & AFX_DAOVIEW_SCROLL_NEXT); }
-
-_AFXDAOVIEW_INLINE void CDaoRecordView::OnUpdateRecordPrev(CCmdUI* pCmdUI)
-	{ ASSERT_VALID(this);
-		pCmdUI->Enable(m_nStatus & AFX_DAOVIEW_SCROLL_BACKWARD); }
-
-_AFXDAOVIEW_INLINE void CDaoRecordView::OnUpdateRecordLast(CCmdUI* pCmdUI)
-	{ ASSERT_VALID(this);
-		pCmdUI->Enable(m_nStatus & AFX_DAOVIEW_SCROLL_LAST); }
-
-_AFXDAOVIEW_INLINE void CDaoRecordView::OnMove(int cx, int cy)
-	{ CFormView::OnMove(cx, cy); }
-
-#endif // _AFXDAOVIEW_INLINE
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 1061
libs/mfc/include/afxdb.h

@@ -1,1061 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXDB_H__
-#define __AFXDB_H__
-
-#ifdef _AFX_NO_DB_SUPPORT
-	#error Database classes not supported in this library variant.
-#endif
-
-#ifndef __AFXEXT_H__
-	#include <afxext.h>
-#endif
-
-#ifndef __AFXDB__H__
-	#include <afxdb_.h> // shared header DAO database classes
-#endif
-
-// include standard SQL/ODBC "C" APIs
-#ifndef __SQL
-	#define SQL_NOUNICODEMAP
-	#include <sql.h>        // core
-#endif
-#ifndef __SQLEXT
-	#include <sqlext.h>     // extensions
-#endif
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, off)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, on)
-#endif
-
-#ifndef _AFX_NOFORCE_LIBS
-
-/////////////////////////////////////////////////////////////////////////////
-// Win32 libraries
-
-#ifdef _AFXDLL
-	#if defined(MFC_DEBUG) && !defined(_AFX_MONOLITHIC)
-		#ifndef _UNICODE
-			#pragma comment(lib, "mfcd42d.lib")
-		#else
-			#pragma comment(lib, "mfcd42ud.lib")
-		#endif
-	#endif
-#endif
-
-#pragma comment(lib, "odbc32.lib")
-#pragma comment(lib, "odbccp32.lib")
-
-#endif //!_AFX_NOFORCE_LIBS
-
-/////////////////////////////////////////////////////////////////////////////
-
-#ifdef _AFX_PACKING
-#pragma pack(push, _AFX_PACKING)
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// AFXDB - MFC SQL/ODBC/Database support
-
-// Classes declared in this file
-
-	//CException
-		class CDBException;    // abnormal return value
-
-	//CFieldExchange
-		class CFieldExchange;       // Recordset Field Exchange
-
-	//CObject
-		class CDatabase;    // Connecting to databases
-		class CRecordset;   // Data result sets
-
-//CObject
-	//CCmdTarget;
-		//CWnd
-			//CView
-				//CScrollView
-					//CFormView
-						class CRecordView;     // view records with a form
-
-// Non CObject classes
-class CDBVariant;
-struct CRecordsetStatus;
-struct CFieldInfo;
-struct CODBCFieldInfo;
-struct CODBCParamInfo;
-
-/////////////////////////////////////////////////////////////////////////////
-
-// ODBC helpers
-// return code left in 'nRetCode'
-
-// This MACRO is now out-of-date (kept for backward compatibility)
-#define AFX_ODBC_CALL(SQLFunc) \
-	do \
-	{ \
-	} while ((nRetCode = (SQLFunc)) == SQL_STILL_EXECUTING)
-
-// Not really required, but kept for compatibilty
-#define AFX_SQL_SYNC(SQLFunc) \
-	do \
-	{ \
-		nRetCode = SQLFunc; \
-	} while (0)
-
-// Now out-of-date (prs not used) but kept for compatibility
-#define AFX_SQL_ASYNC(prs, SQLFunc) AFX_ODBC_CALL(SQLFunc)
-
-// Max display length in chars of timestamp (date & time) value
-#define TIMESTAMP_PRECISION 23
-
-// AFXDLL support
-#undef AFX_DATA
-#define AFX_DATA AFX_DB_DATA
-
-//  Miscellaneous sizing info
-#define MAX_CURRENCY     30     // Max size of Currency($) string
-#define MAX_TNAME_LEN    64     // Max size of table names
-#define MAX_FNAME_LEN    256    // Max size of field names
-#define MAX_DBNAME_LEN   32     // Max size of a database name
-#define MAX_DNAME_LEN    256        // Max size of Recordset names
-#define MAX_CONNECT_LEN  512        // Max size of Connect string
-#define MAX_CURSOR_NAME  18     // Max size of a cursor name
-#define DEFAULT_FIELD_TYPE SQL_TYPE_NULL // pick "C" data type to match SQL data type
-
-// Timeout and net wait defaults
-#define DEFAULT_LOGIN_TIMEOUT 15    // seconds to before fail on connect
-#define DEFAULT_QUERY_TIMEOUT 15    // seconds to before fail waiting for results
-
-// Field Flags, used to indicate status of fields
-#define AFX_SQL_FIELD_FLAG_DIRTY    0x1
-#define AFX_SQL_FIELD_FLAG_NULL     0x2
-
-// Update options flags
-#define AFX_SQL_SETPOSUPDATES       0x0001
-#define AFX_SQL_POSITIONEDSQL       0x0002
-#define AFX_SQL_GDBOUND             0x0004
-
-/////////////////////////////////////////////////////////////////////////////
-// CDBException - something gone wrong
-
-// Dbkit extended error codes
-#define AFX_SQL_ERROR                           1000
-#define AFX_SQL_ERROR_CONNECT_FAIL              AFX_SQL_ERROR+1
-#define AFX_SQL_ERROR_RECORDSET_FORWARD_ONLY    AFX_SQL_ERROR+2
-#define AFX_SQL_ERROR_EMPTY_COLUMN_LIST         AFX_SQL_ERROR+3
-#define AFX_SQL_ERROR_FIELD_SCHEMA_MISMATCH     AFX_SQL_ERROR+4
-#define AFX_SQL_ERROR_ILLEGAL_MODE              AFX_SQL_ERROR+5
-#define AFX_SQL_ERROR_MULTIPLE_ROWS_AFFECTED    AFX_SQL_ERROR+6
-#define AFX_SQL_ERROR_NO_CURRENT_RECORD         AFX_SQL_ERROR+7
-#define AFX_SQL_ERROR_NO_ROWS_AFFECTED          AFX_SQL_ERROR+8
-#define AFX_SQL_ERROR_RECORDSET_READONLY        AFX_SQL_ERROR+9
-#define AFX_SQL_ERROR_SQL_NO_TOTAL              AFX_SQL_ERROR+10
-#define AFX_SQL_ERROR_ODBC_LOAD_FAILED          AFX_SQL_ERROR+11
-#define AFX_SQL_ERROR_DYNASET_NOT_SUPPORTED     AFX_SQL_ERROR+12
-#define AFX_SQL_ERROR_SNAPSHOT_NOT_SUPPORTED    AFX_SQL_ERROR+13
-#define AFX_SQL_ERROR_API_CONFORMANCE           AFX_SQL_ERROR+14
-#define AFX_SQL_ERROR_SQL_CONFORMANCE           AFX_SQL_ERROR+15
-#define AFX_SQL_ERROR_NO_DATA_FOUND             AFX_SQL_ERROR+16
-#define AFX_SQL_ERROR_ROW_UPDATE_NOT_SUPPORTED  AFX_SQL_ERROR+17
-#define AFX_SQL_ERROR_ODBC_V2_REQUIRED          AFX_SQL_ERROR+18
-#define AFX_SQL_ERROR_NO_POSITIONED_UPDATES     AFX_SQL_ERROR+19
-#define AFX_SQL_ERROR_LOCK_MODE_NOT_SUPPORTED   AFX_SQL_ERROR+20
-#define AFX_SQL_ERROR_DATA_TRUNCATED            AFX_SQL_ERROR+21
-#define AFX_SQL_ERROR_ROW_FETCH                 AFX_SQL_ERROR+22
-#define AFX_SQL_ERROR_INCORRECT_ODBC            AFX_SQL_ERROR+23
-#define AFX_SQL_ERROR_UPDATE_DELETE_FAILED      AFX_SQL_ERROR+24
-#define AFX_SQL_ERROR_DYNAMIC_CURSOR_NOT_SUPPORTED  AFX_SQL_ERROR+25
-#define AFX_SQL_ERROR_FIELD_NOT_FOUND           AFX_SQL_ERROR+26
-#define AFX_SQL_ERROR_BOOKMARKS_NOT_SUPPORTED   AFX_SQL_ERROR+27
-#define AFX_SQL_ERROR_BOOKMARKS_NOT_ENABLED     AFX_SQL_ERROR+28
-#define AFX_SQL_ERROR_MAX                       AFX_SQL_ERROR+29
-
-class CDBException : public CException
-{
-	DECLARE_DYNAMIC(CDBException)
-
-// Attributes
-public:
-	RETCODE m_nRetCode;
-	CString m_strError;
-	CString m_strStateNativeOrigin;
-
-// Implementation (use AfxThrowDBException to create)
-public:
-	CDBException(RETCODE nRetCode = SQL_SUCCESS);
-
-	virtual void BuildErrorString(CDatabase* pdb, HSTMT hstmt,
-		BOOL bTrace = TRUE);
-	void Empty();
-	virtual ~CDBException();
-
-	virtual BOOL GetErrorMessage(LPTSTR lpszError, UINT nMaxError,
-		PUINT pnHelpContext = NULL);
-
-#ifdef MFC_DEBUG
-	void TraceErrorMessage(LPCTSTR szTrace) const;
-#endif // DEBUG
-
-};
-
-void AFXAPI AfxThrowDBException(RETCODE nRetCode, CDatabase* pdb, HSTMT hstmt);
-
-//////////////////////////////////////////////////////////////////////////////
-// CDatabase - a SQL Database
-
-class CDatabase : public CObject
-{
-	DECLARE_DYNAMIC(CDatabase)
-
-// Constructors
-public:
-	CDatabase();
-
-	enum DbOpenOptions
-	{
-		openExclusive =         0x0001, // Not implemented
-		openReadOnly =          0x0002, // Open database read only
-		useCursorLib =          0x0004, // Use ODBC cursor lib
-		noOdbcDialog =          0x0008, // Don't display ODBC Connect dialog
-		forceOdbcDialog =       0x0010, // Always display ODBC connect dialog
-	};
-
-	virtual BOOL Open(LPCTSTR lpszDSN, BOOL bExclusive = FALSE,
-		BOOL bReadonly = FALSE, LPCTSTR lpszConnect = _T("ODBC;"),
-		BOOL bUseCursorLib = TRUE);
-	virtual BOOL OpenEx(LPCTSTR lpszConnectString, DWORD dwOptions = 0);
-	virtual void Close();
-
-// Attributes
-public:
-	HDBC m_hdbc;
-
-	BOOL IsOpen() const;        // Database successfully opened?
-	BOOL CanUpdate() const;
-	BOOL CanTransact() const;   // Are Transactions supported?
-
-	CString GetDatabaseName() const;
-	const CString& GetConnect() const;
-
-	DWORD GetBookmarkPersistence() const;
-	int GetCursorCommitBehavior() const;
-	int GetCursorRollbackBehavior() const;
-
-// Operations
-public:
-	void SetLoginTimeout(DWORD dwSeconds);
-	void SetQueryTimeout(DWORD dwSeconds);
-
-	// transaction control
-	BOOL BeginTrans();
-	BOOL CommitTrans();
-	BOOL Rollback();
-
-	void ExecuteSQL(LPCTSTR lpszSQL);
-
-	// Cancel asynchronous operation
-	void Cancel();
-
-// Overridables
-public:
-	// set special options
-	virtual void OnSetOptions(HSTMT hstmt);
-
-// Implementation
-public:
-	virtual ~CDatabase();
-
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-
-	BOOL m_bTransactionPending;
-#endif //MFC_DEBUG
-
-	// general error check
-	virtual BOOL Check(RETCODE nRetCode) const;
-	BOOL PASCAL CheckHstmt(RETCODE, HSTMT hstmt) const;
-
-	// Note: CDatabase::BindParameters is now documented and is no longer
-	//  officially 'implementation.'  Feel free to use it.  It stays here
-	//  because moving it would break binary compatibility.
-	virtual void BindParameters(HSTMT hstmt);
-
-	void ReplaceBrackets(LPTSTR lpchSQL);
-	BOOL m_bStripTrailingSpaces;
-	BOOL m_bIncRecordCountOnAdd;
-	BOOL m_bAddForUpdate;
-	char m_chIDQuoteChar;
-	char m_reserved1[3];        // pad to even 4 bytes
-
-	void SetSynchronousMode(BOOL bSynchronous); // Obsolete, doe nothing
-
-protected:
-	CString m_strConnect;
-
-	CPtrList m_listRecordsets;  // maintain list to ensure CRecordsets all closed
-
-	int nRefCount;
-	BOOL m_bUpdatable;
-
-	BOOL m_bTransactions;
-	SWORD m_nTransactionCapable;
-	SWORD m_nCursorCommitBehavior;
-	SWORD m_nCursorRollbackBehavior;
-	DWORD m_dwUpdateOptions;
-	DWORD m_dwBookmarkAttributes;   // cache driver bookmark persistence
-
-	DWORD m_dwLoginTimeout;
-	HSTMT m_hstmt;
-
-	DWORD m_dwQueryTimeout;
-
-	virtual void ThrowDBException(RETCODE nRetCode);
-	void AllocConnect(DWORD dwOptions);
-	BOOL Connect(DWORD dwOptions);
-	void VerifyConnect();
-	void GetConnectInfo();
-	void Free();
-
-	// friend classes that call protected CDatabase overridables
-	friend class CRecordset;
-	friend class CFieldExchange;
-	friend class CDBException;
-};
-
-//////////////////////////////////////////////////////////////////////////////
-// CFieldExchange - for field exchange
-class CFieldExchange
-{
-// Attributes
-public:
-	enum RFX_Operation
-	{
-		BindParam,          // register users parameters with ODBC SQLBindParameter
-		RebindParam,        //  migrate param values to proxy array before Requery
-		BindFieldToColumn,  // register users fields with ODBC SQLBindCol
-		BindFieldForUpdate, // temporarily bind columns before update (via SQLSetPos)
-		UnbindFieldForUpdate,   // unbind columns after update (via SQLSetPos)
-		Fixup,              // Set string lengths, clear status bits
-		MarkForAddNew,      // Prepare fields and flags for addnew operation
-		MarkForUpdate,      // Prepare fields and flags for update operation
-		Name,               // append dirty field name
-		NameValue,          // append dirty name=value
-		Value,              // append dirty value or parameter marker
-		SetFieldNull,       // Set status bit for null value
-		StoreField,         // archive values of current record
-		LoadField,          // reload archived values into current record
-		AllocCache,         // allocate cache used for dirty field check
-		AllocMultiRowBuffer,    // allocate buffer holding multi rows of data
-		DeleteMultiRowBuffer,   // delete buffer holding multi rows of data
-#ifdef MFC_DEBUG
-		DumpField,          // dump bound field name and value
-#endif
-	};
-	UINT m_nOperation;  // Type of exchange operation
-	CRecordset* m_prs;  // recordset handle
-
-// Operations
-	enum FieldType
-	{
-		noFieldType     = -1,
-		outputColumn    = 0,
-		param           = SQL_PARAM_INPUT,
-		inputParam      = param,
-		outputParam     = SQL_PARAM_OUTPUT,
-		inoutParam      = SQL_PARAM_INPUT_OUTPUT,
-	};
-
-// Operations (for implementors of RFX procs)
-	BOOL IsFieldType(UINT* pnField);
-
-	// Indicate purpose of subsequent RFX calls
-	void SetFieldType(UINT nFieldType);
-
-// Implementation
-	CFieldExchange(UINT nOperation, CRecordset* prs, void* pvField = NULL);
-
-	void Default(LPCTSTR szName,
-		void* pv, LONG* plLength, int nCType, UINT cbValue, UINT cbPrecision);
-
-	// long binary helpers
-	long GetLongBinarySize(int nField);
-	void GetLongBinaryData(int nField, CLongBinary& lb, long* plSize);
-	BYTE* ReallocLongBinary(CLongBinary& lb, long lSizeRequired,
-		long lReallocSize);
-
-	// Current type of field
-	UINT m_nFieldType;
-
-	UINT m_nFieldFound;
-
-	CString* m_pstr;    // Field name or destination for building various SQL clauses
-	BOOL m_bField;      // Value to set for SetField operation
-	void* m_pvField;    // For indicating an operation on a specific field
-	LPCTSTR m_lpszSeparator; // append after field names
-	UINT m_nFields;     // count of fields for various operations
-	UINT m_nParams;     // count of fields for various operations
-	UINT m_nParamFields;    // count of fields for various operations
-	HSTMT m_hstmt;      // For SQLBindParameter on update statement
-	long m_lDefaultLBFetchSize;     // For fetching CLongBinary data of unknown len
-	long m_lDefaultLBReallocSize;   // For fetching CLongBinary data of unknown len
-
-#ifdef MFC_DEBUG
-	CDumpContext* m_pdcDump;
-#endif //MFC_DEBUG
-
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// Global helper
-
-HENV AFXAPI AfxGetHENV();
-
-/////////////////////////////////////////////////////////////////////////////
-// Recordset Field Exchange helpers
-
-void AFXAPI AfxStoreField(CRecordset& rs, UINT nField, void* pvField);
-void AFXAPI AfxLoadField(CRecordset& rs, UINT nField,
-	void* pvField, long* plLength);
-BOOL AFXAPI AfxCompareValueByRef(void* pvData, void* pvCache, int nDataType);
-void AFXAPI AfxCopyValueByRef(void* pvCache, void* pvData,
-	long* plLength, int nDataType);
-
-/////////////////////////////////////////////////////////////////////////////
-// Standard Recordset Field Exchange routines
-
-// text data
-void AFXAPI RFX_Text(CFieldExchange* pFX, LPCTSTR szName, CString& value,
-	// Default max length for char and varchar, default datasource type
-	int nMaxLength = 255, int nColumnType = SQL_VARCHAR, short nScale = 0);
-
-void AFXAPI RFX_Text(CFieldExchange* pFX, LPCTSTR szName, LPTSTR value,
-	int nMaxLength, int nColumnType = SQL_VARCHAR, short nScale = 0);
-
-// boolean data
-void AFXAPI RFX_Bool(CFieldExchange* pFX, LPCTSTR szName, BOOL& value);
-
-// integer data
-void AFXAPI RFX_Long(CFieldExchange* pFX, LPCTSTR szName, long& value);
-void AFXAPI RFX_Int(CFieldExchange* pFX, LPCTSTR szName, int& value);
-void AFXAPI RFX_Single(CFieldExchange* pFX, LPCTSTR szName, float& value);
-void AFXAPI RFX_Double(CFieldExchange* pFX, LPCTSTR szName, double& value);
-
-// date and time
-void AFXAPI RFX_Date(CFieldExchange* pFX, LPCTSTR szName, CTime& value);
-void AFXAPI RFX_Date(CFieldExchange* pFX, LPCTSTR szName, TIMESTAMP_STRUCT& value);
-void AFXAPI RFX_Date(CFieldExchange* pFX, LPCTSTR szName, COleDateTime& value);
-
-// Binary data
-void AFXAPI RFX_Binary(CFieldExchange* pFX, LPCTSTR szName, CByteArray& value,
-	// Default max length is for binary and varbinary
-	int nMaxLength = 255);
-void AFXAPI RFX_Byte(CFieldExchange* pFX, LPCTSTR szName, BYTE& value);
-void AFXAPI RFX_LongBinary(CFieldExchange* pFX, LPCTSTR szName, CLongBinary& value);
-
-/////////////////////////////////////////////////////////////////////////////
-// Bulk Recordset Field Exchange helpers
-void AFXAPI AfxRFXBulkDefault(CFieldExchange* pFX, LPCTSTR szName,
-	void* pv, long* rgLengths, int nCType, UINT cbValue);
-
-/////////////////////////////////////////////////////////////////////////////
-// Bulk Recordset Field Exchange routines
-
-void AFXAPI RFX_Text_Bulk(CFieldExchange* pFX, LPCTSTR szName,
-	LPSTR* prgStrVals, long** prgLengths, int nMaxLength);
-
-void AFXAPI RFX_Bool_Bulk(CFieldExchange* pFX, LPCTSTR szName,
-	BOOL** prgBoolVals, long** prgLengths);
-void AFXAPI RFX_Int_Bulk(CFieldExchange* pFX, LPCTSTR szName,
-	int** prgIntVals, long** prgLengths);
-void AFXAPI RFX_Long_Bulk(CFieldExchange* pFX, LPCTSTR szName,
-	long** prgLongVals, long** prgLengths);
-
-void AFXAPI RFX_Single_Bulk(CFieldExchange* pFX, LPCTSTR szName,
-	float** prgFltVals, long** prgLengths);
-void AFXAPI RFX_Double_Bulk(CFieldExchange* pFX, LPCTSTR szName,
-	double** prgDblVals, long** prgLengths);
-
-void AFXAPI RFX_Date_Bulk(CFieldExchange* pFX, LPCTSTR szName,
-	TIMESTAMP_STRUCT** prgTSVals, long** prgLengths);
-
-void AFXAPI RFX_Byte_Bulk(CFieldExchange* pFX, LPCTSTR szName,
-	BYTE** prgByteVals, long** prgLengths);
-void AFXAPI RFX_Binary_Bulk(CFieldExchange* pFX, LPCTSTR szName,
-	BYTE** prgByteVals, long** prgLengths, int nMaxLength);
-
-/////////////////////////////////////////////////////////////////////////////
-// Database Dialog Data Exchange cover routines
-// Cover routines provide database semantics on top of DDX routines
-
-// simple text operations
-void AFXAPI DDX_FieldText(CDataExchange* pDX, int nIDC, BYTE& value,
-	CRecordset* pRecordset);
-void AFXAPI DDX_FieldText(CDataExchange* pDX, int nIDC, int& value,
-	CRecordset* pRecordset);
-void AFXAPI DDX_FieldText(CDataExchange* pDX, int nIDC, UINT& value,
-	CRecordset* pRecordset);
-void AFXAPI DDX_FieldText(CDataExchange* pDX, int nIDC, long& value,
-	CRecordset* pRecordset);
-void AFXAPI DDX_FieldText(CDataExchange* pDX, int nIDC, DWORD& value,
-	CRecordset* pRecordset);
-void AFXAPI DDX_FieldText(CDataExchange* pDX, int nIDC, CString& value,
-	CRecordset* pRecordset);
-void AFXAPI DDX_FieldText(CDataExchange* pDX, int nIDC, LPTSTR pstrValue,
-	int nMaxLen, CRecordset* pRecordset);
-void AFXAPI DDX_FieldText(CDataExchange* pDX, int nIDC, double& value,
-	CRecordset* pRecordset);
-void AFXAPI DDX_FieldText(CDataExchange* pDX, int nIDC, float& value,
-	CRecordset* pRecordset);
-void AFXAPI DDX_FieldText(CDataExchange* pDX, int nIDC, CTime& value,
-	CRecordset* pRecordset);
-
-// special control types
-void AFXAPI DDX_FieldCheck(CDataExchange* pDX, int nIDC, int& value,
-	CRecordset* pRecordset);
-void AFXAPI DDX_FieldRadio(CDataExchange* pDX, int nIDC, int& value,
-	CRecordset* pRecordset);
-void AFXAPI DDX_FieldLBString(CDataExchange* pDX, int nIDC,
-	CString& value,
-	CRecordset* pRecordset);
-void AFXAPI DDX_FieldCBString(CDataExchange* pDX, int nIDC,
-	CString& value,
-	CRecordset* pRecordset);
-void AFXAPI DDX_FieldLBIndex(CDataExchange* pDX, int nIDC, int& index,
-	CRecordset* pRecordset);
-void AFXAPI DDX_FieldCBIndex(CDataExchange* pDX, int nIDC, int& index,
-	CRecordset* pRecordset);
-void AFXAPI DDX_FieldLBStringExact(CDataExchange* pDX, int nIDC,
-	CString& value,
-	CRecordset* pRecordset);
-void AFXAPI DDX_FieldCBStringExact(CDataExchange* pDX, int nIDC,
-	CString& value,
-	CRecordset* pRecordset);
-void AFXAPI DDX_FieldScroll(CDataExchange* pDX, int nIDC, int& value,
-	CRecordset* pRecordset);
-
-//////////////////////////////////////////////////////////////////////////////
-// CRecordset - the result of a SQL Statement
-
-#define AFX_DB_USE_DEFAULT_TYPE     (0xFFFFFFFF)
-
-// Most Move constants out of date
-// #define AFX_MOVE_FIRST      0x80000000L
-// #define AFX_MOVE_PREVIOUS   (-1L)
-#define AFX_MOVE_REFRESH    0L
-// #define AFX_MOVE_NEXT       (+1L)
-// #define AFX_MOVE_LAST       0x7fffffffL
-
-#define AFX_RECORDSET_STATUS_OPEN    (+1L)
-#define AFX_RECORDSET_STATUS_CLOSED  0L
-#define AFX_RECORDSET_STATUS_UNKNOWN (-1L)
-
-class CRecordset : public CObject
-{
-	DECLARE_DYNAMIC(CRecordset)
-
-// Constructor
-public:
-	CRecordset(CDatabase* pDatabase = NULL);
-
-public:
-	virtual ~CRecordset();
-
-	enum OpenType
-	{
-		dynaset,        // uses SQLExtendedFetch, keyset driven cursor
-		snapshot,       // uses SQLExtendedFetch, static cursor
-		forwardOnly,    // uses SQLFetch
-		dynamic         // uses SQLExtendedFetch, dynamic cursor
-	};
-
-	enum OpenOptions
-	{
-		none =                      0x0,
-		readOnly =                  0x0004,
-		appendOnly =                0x0008,
-		skipDeletedRecords =        0x0010, // turn on skipping of deleted records, Will slow Move(n).
-		noDirtyFieldCheck =         0x0020, // disable automatic dirty field checking
-		useBookmarks =              0x0100, // turn on bookmark support
-		useMultiRowFetch =          0x0200, // turn on multi-row fetch model
-		userAllocMultiRowBuffers =  0x0400, // if multi-row fetch on, user will alloc memory for buffers
-		useExtendedFetch =          0x0800, // use SQLExtendedFetch with forwardOnly type recordsets
-		executeDirect =             0x2000, // Directly execute SQL rather than prepared execute
-		optimizeBulkAdd =           0x4000, // Use prepared HSTMT for multiple AddNews, dirty fields must not change.
-		firstBulkAdd =              0x8000, // INTERNAL to MFC, don't specify on Open.
-	};
-	virtual BOOL Open(UINT nOpenType = AFX_DB_USE_DEFAULT_TYPE,
-		LPCTSTR lpszSQL = NULL, DWORD dwOptions = none);
-	virtual void Close();
-
-// Attributes
-public:
-	HSTMT m_hstmt;          // Source statement for this resultset
-	CDatabase* m_pDatabase;       // Source database for this resultset
-
-	CString m_strFilter;        // Where clause
-	CString m_strSort;      // Order By Clause
-
-	BOOL CanAppend() const;     // Can AddNew be called?
-	BOOL CanRestart() const;    // Can Requery be called to restart a query?
-	BOOL CanScroll() const;     // Can MovePrev and MoveFirst be called?
-	BOOL CanTransact() const;   // Are Transactions supported?
-	BOOL CanUpdate() const;     // Can Edit/AddNew/Delete be called?
-	BOOL CanBookmark() const;       // Can Get/SetBookmark be called?
-
-	const CString& GetSQL() const;      // SQL executed for this recordset
-	const CString& GetTableName() const;        // Table name
-
-	BOOL IsOpen() const;        // Recordset successfully opened?
-	BOOL IsBOF() const;     // Beginning Of File
-	BOOL IsEOF() const;     // End Of File
-	BOOL IsDeleted() const;     // On a deleted record
-
-	BOOL IsFieldDirty(void *pv);    // has field been updated?
-	BOOL IsFieldNull(void *pv); // is field NULL valued?
-	BOOL IsFieldNullable(void *pv); // can field be set to a NULL value
-
-	long GetRecordCount() const;        // Records seen so far or -1 if unknown
-	void GetStatus(CRecordsetStatus& rStatus) const;
-
-// Operations
-public:
-	// cursor operations
-	void MoveNext();
-	void MovePrev();
-	void MoveFirst();
-	void MoveLast();
-	virtual void Move(long nRows, WORD wFetchType = SQL_FETCH_RELATIVE);
-
-	void SetAbsolutePosition(long nRows);
-
-	void GetBookmark(CDBVariant& varBookmark);
-	void SetBookmark(const CDBVariant& varBookmark);
-
-	virtual void SetRowsetSize(DWORD dwNewRowsetSize);
-	DWORD GetRowsetSize() const;
-	DWORD GetRowsFetched() const;
-	virtual void CheckRowsetError(RETCODE nRetCode);
-	void RefreshRowset(WORD wRow, WORD wLockType = SQL_LOCK_NO_CHANGE);
-	void SetRowsetCursorPosition(WORD wRow, WORD wLockType = SQL_LOCK_NO_CHANGE);
-	WORD GetRowStatus(WORD wRow) const;
-
-	// edit buffer operations
-	virtual void AddNew();      // add new record at the end
-	virtual void Edit();        // start editing
-	virtual BOOL Update();      // update it
-	virtual void Delete();      // delete the current record
-	void CancelUpdate();        // cancel pending Edit/AddNew
-
-	BOOL FlushResultSet() const;
-
-	// field operations
-	short GetODBCFieldCount() const;
-	void GetODBCFieldInfo(short nIndex, CODBCFieldInfo& fieldinfo);
-	void GetODBCFieldInfo(LPCTSTR lpszName, CODBCFieldInfo& fieldinfo);
-	void GetFieldValue(LPCTSTR lpszName, CDBVariant& varValue,
-		short nFieldType = DEFAULT_FIELD_TYPE);
-	void GetFieldValue(short nIndex, CDBVariant& varValue,
-		short nFieldType = DEFAULT_FIELD_TYPE);
-	void GetFieldValue(LPCTSTR lpszName, CString& strValue);
-	void GetFieldValue(short nIndex, CString& strValue);
-
-	void SetFieldDirty(void *pv, BOOL bDirty = TRUE);
-	void SetFieldNull(void *pv, BOOL bNull = TRUE);
-	void SetParamNull(int nIndex, BOOL bNull = TRUE);
-
-	// locking control during Edit
-	enum LockMode
-	{
-		optimistic,
-		pessimistic,
-	};
-	void SetLockingMode(UINT nMode);
-
-	// Recordset operations
-	virtual BOOL Requery();         // Re-execute query based on new params
-
-	// Cancel asynchronous operation
-	void Cancel();
-
-// Overridables
-public:
-	// Get default connect string
-	virtual CString GetDefaultConnect();
-
-	// Get SQL to execute
-	virtual CString GetDefaultSQL();
-
-	// set special options
-	virtual void OnSetOptions(HSTMT hstmt);
-
-	// for recordset field exchange
-	virtual void DoFieldExchange(CFieldExchange* pFX);
-	virtual void DoBulkFieldExchange(CFieldExchange* pFX);
-
-// Implementation
-public:
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif //MFC_DEBUG
-
-	virtual BOOL Check(RETCODE nRetCode) const; // general error check
-
-	void InitRecord();
-	void ResetCursor();
-	void CheckRowsetCurrencyStatus(UWORD wFetchType, long nRows);
-	RETCODE FetchData(UWORD wFetchType, SDWORD nRow,
-		DWORD* pdwRowsFetched);
-	void SkipDeletedRecords(UWORD wFetchType, long nRows,
-		DWORD* pdwRowsFetched, RETCODE* pnRetCode);
-	virtual void SetRowsetCurrencyStatus(RETCODE nRetCode,
-		UWORD wFetchType, long nRows, DWORD dwRowsFetched);
-
-	virtual void PreBindFields();   // called before data fields are bound
-	UINT m_nFields;         // number of RFX fields
-	UINT m_nParams;         // number of RFX params
-	BOOL m_bCheckCacheForDirtyFields;   // switch for dirty field checking
-	BOOL m_bRebindParams;     // date or UNICODE text parameter existence flag
-	BOOL m_bLongBinaryColumns;  // long binary column existence flag
-	BOOL m_bUseUpdateSQL;   // uses SQL-based updates
-	DWORD m_dwOptions;          // archive dwOptions on Open
-	SWORD m_nResultCols;    // number of columns in result set
-	BOOL m_bUseODBCCursorLib;   // uses ODBC cursor lib if m_pDatabase not Open
-	CODBCFieldInfo* m_rgODBCFieldInfos; // Array of field info structs with ODBC meta-data
-	CFieldInfo* m_rgFieldInfos;         // Array of field info structs with MFC specific field data
-	CMapPtrToPtr m_mapFieldIndex;       // Map of member address to field index
-	CMapPtrToPtr m_mapParamIndex;       // Map of member address to field index
-
-	BOOL IsSQLUpdatable(LPCTSTR lpszSQL);
-	BOOL IsSelectQueryUpdatable(LPCTSTR lpszSQL);
-	static BOOL PASCAL IsJoin(LPCTSTR lpszJoinClause);
-	static LPCTSTR PASCAL FindSQLToken(LPCTSTR lpszSQL, LPCTSTR lpszSQLToken);
-
-	// RFX Operations on fields of CRecordset
-	UINT BindParams(HSTMT hstmt);
-	void RebindParams(HSTMT hstmt);
-	UINT BindFieldsToColumns();
-	void BindFieldsForUpdate();
-	void UnbindFieldsForUpdate();
-	void Fixups();
-	UINT AppendNames(CString* pstr, LPCTSTR szSeparator);
-	UINT AppendValues(HSTMT hstmt, CString* pstr, LPCTSTR szSeparator);
-	UINT AppendNamesValues(HSTMT hstmt, CString* pstr, LPCTSTR szSeparator);
-	void StoreFields();
-	void LoadFields();
-	void MarkForAddNew();
-	void MarkForUpdate();
-	void AllocDataCache();
-	void FreeDataCache();
-#ifdef MFC_DEBUG
-	void DumpFields(CDumpContext& dc) const;
-#endif //MFC_DEBUG
-
-	// RFX operation helper functions
-	virtual void ThrowDBException(RETCODE nRetCode, HSTMT hstmt = SQL_NULL_HSTMT);
-
-	int GetBoundFieldIndex(void* pv);
-	int GetBoundParamIndex(void* pv);
-	short GetFieldIndexByName(LPCTSTR lpszFieldName);
-
-	void AllocStatusArrays();
-	long* GetFieldLengthBuffer(DWORD nField, int nFieldType);   // for fields & params
-
-	BYTE GetFieldStatus(DWORD nField);
-	void SetFieldStatus(DWORD nField, BYTE bFlags);
-	void ClearFieldStatus();
-
-	BOOL IsFieldStatusDirty(DWORD nField) const;
-	void SetDirtyFieldStatus(DWORD nField);
-	void ClearDirtyFieldStatus(DWORD nField);
-
-	BOOL IsFieldStatusNull(DWORD nField) const;
-	void SetNullFieldStatus(DWORD nField);
-	void ClearNullFieldStatus(DWORD nField);
-
-	BOOL IsParamStatusNull(DWORD nField) const;
-	void SetNullParamStatus(DWORD nField);
-	void ClearNullParamStatus(DWORD nField);
-
-	BOOL IsFieldNullable(DWORD nField) const;
-
-	void** m_pvFieldProxy;
-	void** m_pvParamProxy;
-	UINT m_nProxyFields;
-	UINT m_nProxyParams;
-
-	// GetFieldValue helpers
-	static short PASCAL GetDefaultFieldType(short nSQLType);
-	static void* PASCAL GetDataBuffer(CDBVariant& varValue, short nFieldType,
-		int* pnLen, short nSQLType, UDWORD nPrecision);
-	static int PASCAL GetTextLen(short nSQLType, UDWORD nPrecision);
-	static long PASCAL GetData(CDatabase* pdb, HSTMT hstmt, short nFieldIndex,
-		short nFieldType, LPVOID pvData, int nLen, short nSQLType);
-	static void PASCAL GetLongBinaryDataAndCleanup(CDatabase* pdb, HSTMT hstmt,
-		short nFieldIndex, long nActualSize, LPVOID* ppvData, int nLen,
-		CDBVariant& varValue, short nSQLType);
-	static void PASCAL GetLongCharDataAndCleanup(CDatabase* pdb, HSTMT hstmt,
-		short nFieldIndex, long nActualSize, LPVOID* ppvData, int nLen,
-		CString& strValue, short nSQLType);
-
-protected:
-	UINT m_nOpenType;
-	UINT m_nDefaultType;
-	enum EditMode
-	{
-		noMode,
-		edit,
-		addnew
-	};
-	long m_lOpen;
-	UINT m_nEditMode;
-	BOOL m_bEOFSeen;
-	long m_lRecordCount;
-	long m_lCurrentRecord;
-	CString m_strCursorName;
-	// Perform operation based on m_nEditMode
-	BOOL UpdateInsertDelete();
-	BOOL m_nLockMode;       // Control concurrency for Edit()
-	UDWORD m_dwDriverConcurrency;   // driver supported concurrency types
-	UDWORD m_dwConcurrency; // requested concurrency type
-	UWORD* m_rgRowStatus;     // row status used by SQLExtendedFetch and SQLSetPos
-	DWORD m_dwRowsFetched;  // number of rows fetched by SQLExtendedFetch
-	HSTMT m_hstmtUpdate;
-	BOOL m_bRecordsetDb;
-	BOOL m_bBOF;
-	BOOL m_bEOF;
-	BOOL m_bUpdatable;      // Is recordset updatable?
-	BOOL m_bAppendable;
-	CString m_strSQL;       // SQL statement for recordset
-	CString m_strUpdateSQL; // SQL statement for updates
-	CString m_strTableName;     // source table of recordset
-	BOOL m_bScrollable; // supports MovePrev
-	BOOL m_bDeleted;
-	int m_nFieldsBound;
-	BYTE* m_pbFieldFlags;
-	BYTE* m_pbParamFlags;
-	LONG* m_plParamLength;
-	DWORD m_dwInitialGetDataLen;    // Initial GetFieldValue alloc size for long data
-	DWORD m_dwRowsetSize;
-	DWORD m_dwAllocatedRowsetSize;
-
-protected:
-	CString m_strRequerySQL;    // archive SQL string for use in Requery()
-	CString m_strRequeryFilter; // archive filter string for use in Requery()
-	CString m_strRequerySort;   // archive sort string for use in Requery()
-
-	void SetState(int nOpenType, LPCTSTR lpszSQL, DWORD dwOptions);
-	BOOL AllocHstmt();
-	void BuildSQL(LPCTSTR lpszSQL);
-	void PrepareAndExecute();
-
-	void BuildSelectSQL();
-	void AppendFilterAndSortSQL();
-	BOOL IsRecordsetUpdatable();
-
-	void VerifyDriverBehavior();
-	DWORD VerifyCursorSupport();
-	void EnableBookmarks();
-	void SetUpdateMethod();
-	void SetConcurrencyAndCursorType(HSTMT hstmt, DWORD dwScrollOptions);
-	void AllocAndCacheFieldInfo();
-	void AllocRowset();
-	void FreeRowset();
-
-	void ExecuteSetPosUpdate();
-	void PrepareUpdateHstmt();
-	void BuildUpdateSQL();
-	void ExecuteUpdateSQL();
-	void SendLongBinaryData(HSTMT hstmt);
-	virtual long GetLBFetchSize(long lOldSize);     // CLongBinary fetch chunking
-	virtual long GetLBReallocSize(long lOldSize);   // CLongBinary realloc chunking
-
-	friend class CFieldExchange;
-	friend class CRecordView;
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// Info helper definitions
-#define AFX_CURRENT_RECORD_UNDEFINED (-2)
-#define AFX_CURRENT_RECORD_BOF (-1)
-
-// For returning status for a recordset
-struct CRecordsetStatus
-{
-	long m_lCurrentRecord;  // -2=Unknown,-1=BOF,0=1st record. . .
-	BOOL m_bRecordCountFinal;// Have we counted all records?
-};
-
-// Must maintian data binding info
-struct CFieldInfo
-{
-	// MFC specific info
-	void* m_pvDataCache;
-	long m_nLength;
-	int m_nDataType;
-	BYTE m_bStatus;
-#ifdef MFC_DEBUG
-	void* m_pvBindAddress;
-#endif
-};
-
-struct CODBCFieldInfo
-{
-	// meta data from ODBC
-	CString m_strName;
-	SWORD m_nSQLType;
-	UDWORD m_nPrecision;
-	SWORD m_nScale;
-	SWORD m_nNullability;
-};
-
-struct CODBCParamInfo
-{
-	// meta data from ODBC
-	SWORD m_nSQLType;
-	UDWORD m_nPrecision;
-	SWORD m_nScale;
-	SWORD m_nNullability;
-};
-
-
-/////////////////////////////////////////////////////////////////////////////
-// CDBVariant
-
-#define DBVT_NULL       0
-#define DBVT_BOOL       1
-#define DBVT_UCHAR      2
-#define DBVT_SHORT      3
-#define DBVT_LONG       4
-#define DBVT_SINGLE     5
-#define DBVT_DOUBLE     6
-#define DBVT_DATE       7
-#define DBVT_STRING     8
-#define DBVT_BINARY     9
-
-class CDBVariant
-{
-// Constructor
-public:
-	CDBVariant();
-
-// Attributes
-public:
-	DWORD m_dwType;
-
-	union
-	{
-	  BOOL              m_boolVal;
-	  unsigned char     m_chVal;
-	  short             m_iVal;
-	  long              m_lVal;
-	  float             m_fltVal;
-	  double            m_dblVal;
-	  TIMESTAMP_STRUCT* m_pdate;
-	  CString*          m_pstring;
-	  CLongBinary*      m_pbinary;
-	};
-
-// Operations
-	void Clear();
-
-// Implementation
-public:
-	virtual ~CDBVariant();
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CRecordView - form for viewing data records
-
-#ifdef _AFXDLL
-class CRecordView : public CFormView
-#else
-class AFX_NOVTABLE CRecordView : public CFormView
-#endif
-{
-	DECLARE_DYNAMIC(CRecordView)
-
-// Construction
-protected:  // must derive your own class
-	CRecordView(LPCTSTR lpszTemplateName);
-	CRecordView(UINT nIDTemplate);
-
-// Attributes
-public:
-	virtual CRecordset* OnGetRecordset() = 0;
-
-	BOOL IsOnLastRecord();
-	BOOL IsOnFirstRecord();
-
-// Operations
-public:
-	virtual BOOL OnMove(UINT nIDMoveCommand);
-
-// Implementation
-public:
-	virtual ~CRecordView();
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-	virtual void OnInitialUpdate();
-
-protected:
-	BOOL m_bOnFirstRecord;
-	BOOL m_bOnLastRecord;
-
-	//{{AFX_MSG(CRecordView)
-	afx_msg void OnUpdateRecordFirst(CCmdUI* pCmdUI);
-	afx_msg void OnUpdateRecordPrev(CCmdUI* pCmdUI);
-	afx_msg void OnUpdateRecordNext(CCmdUI* pCmdUI);
-	afx_msg void OnUpdateRecordLast(CCmdUI* pCmdUI);
-	//}}AFX_MSG
-	afx_msg void OnMove(int cx, int cy);
-
-private: BOOL _CallOnMove(UINT _x) {return OnMove(_x); } // __BORLANDC__ MS-BUG
-
-	DECLARE_MESSAGE_MAP()
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// Inline function declarations
-
-#ifdef _AFX_PACKING
-#pragma pack(pop)
-#endif
-
-#ifdef _AFX_ENABLE_INLINES
-#define _AFXDBCORE_INLINE AFX_INLINE
-#define _AFXDBRFX_INLINE AFX_INLINE
-#define _AFXDBVIEW_INLINE AFX_INLINE
-#include <afxdb.inl>
-#undef _AFXDBVIEW_INLINE
-#undef _AFXDBCORE_INLINE
-#undef _AFXDBRFX_INLINE
-#endif
-
-#undef AFX_DATA
-#define AFX_DATA
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, on)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, off)
-#endif
-
-#endif //__AFXDB_H__
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 113
libs/mfc/include/afxdb.inl

@@ -1,113 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-// Inlines for AFXDB.H
-
-/////////////////////////////////////////////////////////////////////////////
-// General database inlines
-
-#ifdef _AFXDBCORE_INLINE
-
-// CDatabase inlines
-_AFXDBCORE_INLINE BOOL CDatabase::IsOpen() const
-	{ ASSERT_VALID(this); return m_hdbc != SQL_NULL_HDBC; }
-_AFXDBCORE_INLINE BOOL CDatabase::CanUpdate() const
-	{ ASSERT(IsOpen()); return m_bUpdatable; }
-_AFXDBCORE_INLINE BOOL CDatabase::CanTransact() const
-	{ ASSERT(IsOpen()); return m_bTransactions; }
-_AFXDBCORE_INLINE void CDatabase::SetLoginTimeout(DWORD dwSeconds)
-	{ ASSERT_VALID(this); m_dwLoginTimeout = dwSeconds; }
-_AFXDBCORE_INLINE void CDatabase::SetQueryTimeout(DWORD dwSeconds)
-	{ ASSERT_VALID(this); m_dwQueryTimeout = dwSeconds; }
-_AFXDBCORE_INLINE const CString& CDatabase::GetConnect() const
-	{ ASSERT_VALID(this); return m_strConnect; }
-_AFXDBCORE_INLINE DWORD CDatabase::GetBookmarkPersistence() const
-	{ ASSERT_VALID(this); return m_dwBookmarkAttributes; }
-_AFXDBCORE_INLINE int CDatabase::GetCursorCommitBehavior() const
-	{ ASSERT_VALID(this); return m_nCursorCommitBehavior; }
-_AFXDBCORE_INLINE int CDatabase::GetCursorRollbackBehavior() const
-	{ ASSERT_VALID(this); return m_nCursorRollbackBehavior; }
-_AFXDBCORE_INLINE void CDatabase::ThrowDBException(RETCODE nRetCode)
-	{ ASSERT_VALID(this); AfxThrowDBException(nRetCode, this, m_hstmt); }
-_AFXDBCORE_INLINE void CDatabase::SetSynchronousMode(BOOL /* bSynchronous */ )
-	{ ASSERT_VALID(this); TRACE0("Error: SetSynchronousMode is obsolete and has not effect.\n"); }
-
-// CRecordset inlines
-_AFXDBCORE_INLINE const CString& CRecordset::GetSQL() const
-	{ ASSERT(IsOpen()); return m_strSQL; }
-_AFXDBCORE_INLINE const CString& CRecordset::GetTableName() const
-	{ ASSERT(IsOpen()); return m_strTableName; }
-_AFXDBCORE_INLINE BOOL CRecordset::IsBOF() const
-	{ ASSERT(IsOpen()); return m_bBOF; }
-_AFXDBCORE_INLINE BOOL CRecordset::IsEOF() const
-	{ ASSERT(IsOpen()); return m_bEOF; }
-_AFXDBCORE_INLINE BOOL CRecordset::IsDeleted() const
-	{ ASSERT(IsOpen()); return m_bDeleted; }
-_AFXDBCORE_INLINE BOOL CRecordset::CanUpdate() const
-	{ ASSERT(IsOpen()); return m_bUpdatable; }
-_AFXDBCORE_INLINE BOOL CRecordset::CanScroll() const
-	{ ASSERT(IsOpen()); return m_bScrollable; }
-_AFXDBCORE_INLINE BOOL CRecordset::CanAppend() const
-	{ ASSERT(IsOpen()); return m_bAppendable; }
-_AFXDBCORE_INLINE BOOL CRecordset::CanRestart() const
-	{ ASSERT(IsOpen()); return !(m_dwOptions & executeDirect); }
-_AFXDBCORE_INLINE BOOL CRecordset::CanTransact() const
-	{ ASSERT(m_pDatabase->IsOpen());
-		return m_pDatabase->m_bTransactions; }
-_AFXDBCORE_INLINE short CRecordset::GetODBCFieldCount() const
-	{ ASSERT(IsOpen()); return m_nResultCols; }
-_AFXDBCORE_INLINE DWORD CRecordset::GetRowsetSize() const
-	{ ASSERT(IsOpen()); return m_dwRowsetSize; }
-_AFXDBCORE_INLINE DWORD CRecordset::GetRowsFetched() const
-	{ ASSERT(IsOpen()); return m_dwRowsFetched; }
-_AFXDBCORE_INLINE WORD CRecordset::GetRowStatus(WORD wRow) const
-	{ ASSERT(IsOpen()); ASSERT(wRow > 0); return m_rgRowStatus[wRow-1]; }
-_AFXDBCORE_INLINE long CRecordset::GetRecordCount() const
-	{ ASSERT(IsOpen()); return m_lRecordCount; }
-_AFXDBCORE_INLINE void CRecordset::GetStatus(CRecordsetStatus& rStatus) const
-	{ ASSERT(IsOpen());
-		rStatus.m_lCurrentRecord = m_lCurrentRecord;
-		rStatus.m_bRecordCountFinal = m_bEOFSeen; }
-_AFXDBCORE_INLINE void CRecordset::ThrowDBException(RETCODE nRetCode, HSTMT hstmt)
-	{ ASSERT_VALID(this); AfxThrowDBException(nRetCode, m_pDatabase,
-		(hstmt == SQL_NULL_HSTMT)? m_hstmt : hstmt); }
-_AFXDBCORE_INLINE void CRecordset::MoveNext()
-	{ ASSERT(IsOpen()); Move(1, SQL_FETCH_NEXT); }
-_AFXDBCORE_INLINE void CRecordset::MovePrev()
-	{ ASSERT(IsOpen()); Move(-1, SQL_FETCH_PRIOR); }
-_AFXDBCORE_INLINE void CRecordset::MoveFirst()
-	{ ASSERT(IsOpen()); Move(1, SQL_FETCH_FIRST); }
-_AFXDBCORE_INLINE void CRecordset::MoveLast()
-	{ ASSERT(IsOpen()); Move(-1, SQL_FETCH_LAST); }
-_AFXDBCORE_INLINE void CRecordset::SetAbsolutePosition(long nRows)
-	{ ASSERT(IsOpen()); Move(nRows, SQL_FETCH_ABSOLUTE); }
-
-#endif //_AFXDBCORE_INLINE
-
-#ifdef _AFXDBRFX_INLINE
-
-_AFXDBRFX_INLINE void CFieldExchange::SetFieldType(UINT nFieldType)
-	{ ASSERT(nFieldType == outputColumn ||
-		nFieldType == inputParam ||
-		nFieldType == outputParam ||
-		nFieldType == inoutParam);
-		m_nFieldType = nFieldType; }
-
-#endif //_AFXDBRFX_INLINE
-
-#ifdef _AFXDBVIEW_INLINE
-
-// CRecordView inlines
-_AFXDBVIEW_INLINE void CRecordView::OnMove(int cx, int cy)
-	{ CFormView::OnMove(cx, cy); }
-
-#endif
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 105
libs/mfc/include/afxdb.rc

@@ -1,105 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXDB_RC__
-#define __AFXDB_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< Cannot change standard MFC resources! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// Database Resources
-
-// Database strings
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_SQL_CONNECT_FAIL
-		"Attempt to connect to datasource failed"
-	AFX_IDP_SQL_RECORDSET_FORWARD_ONLY
-		"Recordset supports forward movement only."
-	AFX_IDP_SQL_EMPTY_COLUMN_LIST
-		"Attempt to open a table failed - there were no columns to retrieve were specified."
-	AFX_IDP_SQL_FIELD_SCHEMA_MISMATCH
-		"Unexpected column data types were returned from query."
-	AFX_IDP_SQL_ILLEGAL_MODE "Attempt to Update or Delete failed."
-	AFX_IDP_SQL_MULTIPLE_ROWS_AFFECTED "Multiple rows were updated."
-	AFX_IDP_SQL_NO_CURRENT_RECORD "Operation failed, no current record."
-	AFX_IDP_SQL_NO_ROWS_AFFECTED
-		"No rows were affected by the update or delete operation."
-	AFX_IDP_SQL_RECORDSET_READONLY "Recordset is read-only"
-	AFX_IDP_SQL_SQL_NO_TOTAL
-		"ODBC driver doesn't support MFC LongBinary data model."
-	AFX_IDP_SQL_ODBC_LOAD_FAILED
-		"Attempt to load required component ODBC32.DLL failed."
-	AFX_IDP_SQL_DYNASET_NOT_SUPPORTED
-		"ODBC driver does not support dynasets."
-	AFX_IDP_SQL_SNAPSHOT_NOT_SUPPORTED
-		"ODBC static cursors required for snapshot support."
-	AFX_IDP_SQL_API_CONFORMANCE
-		"ODBC driver incompatible with MFC database classes (API_CONFORMANCE >= SQL_OAC_LEVEL1 required)."
-	AFX_IDP_SQL_SQL_CONFORMANCE
-		"ODBC driver incompatible with MFC database classes (SQL_CONFORMANCE >= SQL_OSC_MINIMUM required)."
-	AFX_IDP_SQL_NO_DATA_FOUND
-		"Attempt to scroll past end or before beginning of data."
-	AFX_IDP_SQL_ROW_UPDATE_NOT_SUPPORTED
-		"Dynasets not supported by ODBC driver."
-	AFX_IDP_SQL_ODBC_V2_REQUIRED
-		"ODBC Level 2 compliant driver required."
-	AFX_IDP_SQL_NO_POSITIONED_UPDATES
-		"Positioned updates not supported by ODBC driver."
-	AFX_IDP_SQL_LOCK_MODE_NOT_SUPPORTED
-		"Requested lock mode is not supported."
-	AFX_IDP_SQL_DATA_TRUNCATED
-		"Data truncated."
-	AFX_IDP_SQL_ROW_FETCH
-		"Error retrieving record."
-	AFX_IDP_SQL_INCORRECT_ODBC
-		"A required ODBC entry point was not found.  Make sure ODBC is installed correctly."
-	AFX_IDP_SQL_UPDATE_DELETE_FAILED
-		"Update or Delete failed."
-	AFX_IDP_SQL_DYNAMIC_CURSOR_NOT_SUPPORTED
-		"Dynamic cursors not supported by ODBC driver."
-	AFX_IDP_SQL_FIELD_NOT_FOUND
-		"Invalid field name or field index."
-	AFX_IDP_SQL_BOOKMARKS_NOT_SUPPORTED
-		"Bookmarks not supported for ODBC driver."
-	AFX_IDP_SQL_BOOKMARKS_NOT_ENABLED
-		"Bookmarks not enabled on recordset."
-	AFX_IDP_DAO_ENGINE_INITIALIZATION
-		"Unable to initialize DAO/Jet db engine."
-	AFX_IDP_DAO_DFX_BIND
-		"Bad DFX value parameter."
-	AFX_IDP_DAO_OBJECT_NOT_OPEN
-		"DAO TableDef or QueryDef not Open."
-	AFX_IDP_DAO_ROWTOOSHORT
-		"GetRows failed. Not enough memory allocated for row."
-	AFX_IDP_DAO_BADBINDINFO
-		"GetRows binding error. Probably caused by datatype mismatch."
-	AFX_IDP_DAO_COLUMNUNAVAILABLE
-		"GetRows failed. The requested column is not a member of this recordset."
-
-	AFX_IDS_DELETED "<Deleted>"
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXDB_RC__

+ 0 - 74
libs/mfc/include/afxdb_.h

@@ -1,74 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-// Do not include this file directly (included by AFXDB.H & AFXDAO.H)
-
-#ifndef __AFXDB__H__
-#define __AFXDB__H__
-
-//////////////////////////////////////////////////////////////////////////////
-// Recordset Field exchange for ODBC & DAO classes (RFX_ and DFX_)
-
-#define AFX_RFX_SHORT_PSEUDO_NULL (0x7EE4)
-#define AFX_RFX_INT_PSEUDO_NULL (0x7EE4)
-#define AFX_RFX_LONG_PSEUDO_NULL (0x4a4d4120L)
-#define AFX_RFX_BYTE_PSEUDO_NULL 255
-#define AFX_RFX_SINGLE_PSEUDO_NULL (-9.123e19f)
-#define AFX_RFX_DOUBLE_PSEUDO_NULL (-9.123e19)
-#define AFX_RFX_BOOL_PSEUDO_NULL 2
-#define AFX_RFX_DATE_PSEUDO_NULL CTime(0)
-#define AFX_RFX_TIMESTAMP_PSEUDO_NULL 99
-
-#define AFX_RFX_NO_TYPE     0
-#define AFX_RFX_BOOL        1
-#define AFX_RFX_BYTE        2
-#define AFX_RFX_INT         3
-#define AFX_RFX_LONG        4
-#define AFX_RFX_SINGLE      6
-#define AFX_RFX_DOUBLE      7
-#define AFX_RFX_DATE        8
-#define AFX_RFX_BINARY      9
-#define AFX_RFX_TEXT        10
-#define AFX_RFX_LONGBINARY  11
-#define AFX_RFX_SHORT       12
-#define AFX_RFX_CURRENCY    13
-#define AFX_RFX_OLEDATETIME 14
-#define AFX_RFX_TIMESTAMP   15
-#define AFX_RFX_OLEDATE     16
-#define AFX_RFX_LPTSTR      17
-
-//////////////////////////////////////////////////////////////////////////////
-// CLongBinary - a Long (generally > 32k in length) Binary object
-
-class CLongBinary : public CObject
-{
-	DECLARE_DYNAMIC(CLongBinary)
-
-// Constructors
-public:
-	CLongBinary();
-
-// Attributes
-	HGLOBAL m_hData;
-	DWORD m_dwDataLength;
-
-// Implementation
-public:
-	virtual ~CLongBinary();
-
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif //MFC_DEBUG
-};
-
-//////////////////////////////////////////////////////////////////////////////
-
-#endif // __AFXDB__H__

+ 0 - 79
libs/mfc/include/afxdd_.h

@@ -1,79 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-// Do not include this file directly (included by AFXWIN.H)
-
-/////////////////////////////////////////////////////////////////////////////
-// Standard Dialog Data Exchange routines
-
-class COleCurrency;    // forward reference (see afxdisp.h)
-class COleDateTime;    // forward reference (see afxdisp.h)
-
-// simple text operations
-void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, BYTE& value);
-void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, short& value);
-void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, int& value);
-void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, UINT& value);
-void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, long& value);
-void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, DWORD& value);
-void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, CString& value);
-void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, LPTSTR value, int nMaxLen);
-void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, float& value);
-void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, double& value);
-void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, COleCurrency& value);
-void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, COleDateTime& value);
-
-// special control types
-void AFXAPI DDX_Check(CDataExchange* pDX, int nIDC, int& value);
-void AFXAPI DDX_Radio(CDataExchange* pDX, int nIDC, int& value);
-void AFXAPI DDX_LBString(CDataExchange* pDX, int nIDC, CString& value);
-void AFXAPI DDX_CBString(CDataExchange* pDX, int nIDC, CString& value);
-void AFXAPI DDX_LBIndex(CDataExchange* pDX, int nIDC, int& index);
-void AFXAPI DDX_CBIndex(CDataExchange* pDX, int nIDC, int& index);
-void AFXAPI DDX_LBStringExact(CDataExchange* pDX, int nIDC, CString& value);
-void AFXAPI DDX_CBStringExact(CDataExchange* pDX, int nIDC, CString& value);
-void AFXAPI DDX_Scroll(CDataExchange* pDX, int nIDC, int& value);
-void AFXAPI DDX_Slider(CDataExchange* pDX, int nIDC, int& value);
-
-void AFXAPI DDX_MonthCalCtrl(CDataExchange* pDX, int nIDC, CTime& value);
-void AFXAPI DDX_MonthCalCtrl(CDataExchange* pDX, int nIDC, COleDateTime& value);
-void AFXAPI DDX_DateTimeCtrl(CDataExchange* pDX, int nIDC, CTime& value);
-void AFXAPI DDX_DateTimeCtrl(CDataExchange* pDX, int nIDC, COleDateTime& value);
-
-// for getting access to the actual controls
-void AFXAPI DDX_Control(CDataExchange* pDX, int nIDC, CWnd& rControl);
-
-/////////////////////////////////////////////////////////////////////////////
-// Standard Dialog Data Validation routines
-
-// range - value must be >= minVal and <= maxVal
-// NOTE: you will require casts for 'minVal' and 'maxVal' to use the
-//   UINT, DWORD or float types
-void AFXAPI DDV_MinMaxByte(CDataExchange* pDX, BYTE value, BYTE minVal, BYTE maxVal);
-void AFXAPI DDV_MinMaxShort(CDataExchange* pDX, short value, short minVal, short maxVal);
-void AFXAPI DDV_MinMaxInt(CDataExchange* pDX, int value, int minVal, int maxVal);
-void AFXAPI DDV_MinMaxLong(CDataExchange* pDX, long value, long minVal, long maxVal);
-void AFXAPI DDV_MinMaxUInt(CDataExchange* pDX, UINT value, UINT minVal, UINT maxVal);
-void AFXAPI DDV_MinMaxDWord(CDataExchange* pDX, DWORD value, DWORD minVal, DWORD maxVal);
-void AFXAPI DDV_MinMaxFloat(CDataExchange* pDX, float const& value, float minVal, float maxVal);
-void AFXAPI DDV_MinMaxDouble(CDataExchange* pDX, double const& value, double minVal, double maxVal);
-
-// special control types
-void AFXAPI DDV_MinMaxSlider(CDataExchange* pDX, DWORD value, DWORD minVal, DWORD maxVal);
-void AFXAPI DDV_MinMaxDateTime(CDataExchange* pDX, CTime& refValue, const CTime* refMinRange, const CTime* refMaxRange);
-void AFXAPI DDV_MinMaxDateTime(CDataExchange* pDX, COleDateTime& refValue, const COleDateTime* refMinRange, const COleDateTime* refMaxRange);
-void AFXAPI DDV_MinMaxMonth(CDataExchange* pDX, CTime& refValue, const CTime* pMinRange, const CTime* pMaxRange);
-void AFXAPI DDV_MinMaxMonth(CDataExchange* pDX, COleDateTime& refValue, const COleDateTime* refMinRange, const COleDateTime* refMaxRange);
-
-
-// number of characters
-void AFXAPI DDV_MaxChars(CDataExchange* pDX, CString const& value, int nChars);
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 1429
libs/mfc/include/afxdisp.h

@@ -1,1429 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXDISP_H__
-#define __AFXDISP_H__
-
-#ifdef _AFX_NO_OLE_SUPPORT
-	#error OLE classes not supported in this library variant.
-#endif
-
-#ifndef __AFXWIN_H__
-	#include <afxwin.h>
-#endif
-
-// include necessary OLE headers
-#ifndef _OBJBASE_H_
-	#include <objbase.h>
-#endif
-#ifndef _OLEAUTO_H_
-	#include <oleauto.h>
-#endif
-#ifndef _OLECTL_H_
-	#include <olectl.h>
-#endif
-#ifndef __ocidl_h__
-	#include <ocidl.h>
-#endif
-
-// Shell interface support
-#ifndef _SHLOBJ_H_
-	#include <shlobj.h>
-#endif
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, off)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, on)
-#endif
-
-#ifndef _AFX_NOFORCE_LIBS
-
-/////////////////////////////////////////////////////////////////////////////
-// Win32 libraries
-
-#ifdef _AFXDLL
-	#if defined(MFC_DEBUG) && !defined(_AFX_MONOLITHIC)
-		#ifndef _UNICODE
-			#pragma comment(lib, "mfco42d.lib")
-		#else
-			#pragma comment(lib, "mfco42ud.lib")
-		#endif
-	#endif
-#endif
-
-#pragma comment(lib, "oledlg.lib")
-#pragma comment(lib, "ole32.lib")
-#pragma comment(lib, "olepro32.lib")
-#pragma comment(lib, "oleaut32.lib")
-#pragma comment(lib, "uuid.lib")
-#pragma comment(lib, "urlmon.lib")
-
-#endif //!_AFX_NOFORCE_LIBS
-
-/////////////////////////////////////////////////////////////////////////////
-
-#ifdef _AFX_PACKING
-#pragma pack(push, _AFX_PACKING)
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// AFXDISP - MFC IDispatch & ClassFactory support
-
-// Classes declared in this file
-
-//CException
-	class COleException;            // caught by client or server
-	class COleDispatchException;    // special exception for IDispatch calls
-
-//CCmdTarget
-	class COleObjectFactory;        // glue for IClassFactory -> runtime class
-		class COleTemplateServer;   // server documents using CDocTemplate
-
-class COleDispatchDriver;           // helper class to call IDispatch
-
-class COleVariant;          // OLE VARIANT wrapper
-class COleCurrency;         // Based on OLE CY
-class COleDateTime;         // Based on OLE DATE
-class COleDateTimeSpan;     // Based on a double
-class COleSafeArray;        // Based on OLE VARIANT
-/////////////////////////////////////////////////////////////////////////////
-
-// AFXDLL support
-#undef AFX_DATA
-#define AFX_DATA AFX_OLE_DATA
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE COM (Component Object Model) implementation infrastructure
-//      - data driven QueryInterface
-//      - standard implementation of aggregate AddRef and Release
-// (see CCmdTarget in AFXWIN.H for more information)
-
-#define METHOD_PROLOGUE(theClass, localClass) \
-	theClass* pThis = \
-		((theClass*)((BYTE*)this - offsetof(theClass, m_x##localClass))); \
-	AFX_MANAGE_STATE(pThis->m_pModuleState) \
-	pThis; // avoid warning from compiler \
-
-#define METHOD_PROLOGUE_(theClass, localClass) \
-	theClass* pThis = \
-		((theClass*)((BYTE*)this - offsetof(theClass, m_x##localClass))); \
-	pThis; // avoid warning from compiler \
-
-#ifndef _AFX_NO_NESTED_DERIVATION
-#define METHOD_PROLOGUE_EX(theClass, localClass) \
-	theClass* pThis = ((theClass*)((BYTE*)this - m_nOffset)); \
-	AFX_MANAGE_STATE(pThis->m_pModuleState) \
-	pThis; // avoid warning from compiler \
-
-#define METHOD_PROLOGUE_EX_(theClass, localClass) \
-	theClass* pThis = ((theClass*)((BYTE*)this - m_nOffset)); \
-	pThis; // avoid warning from compiler \
-
-#else
-#define METHOD_PROLOGUE_EX(theClass, localClass) \
-	METHOD_PROLOGUE(theClass, localClass) \
-
-#define METHOD_PROLOGUE_EX_(theClass, localClass) \
-	METHOD_PROLOGUE_(theClass, localClass) \
-
-#endif
-
-// Provided only for compatibility with CDK 1.x
-#define METHOD_MANAGE_STATE(theClass, localClass) \
-	METHOD_PROLOGUE_EX(theClass, localClass) \
-
-#define BEGIN_INTERFACE_PART(localClass, baseClass) \
-	class X##localClass : public baseClass \
-	{ \
-	public: \
-		STDMETHOD_(ULONG, AddRef)(); \
-		STDMETHOD_(ULONG, Release)(); \
-		STDMETHOD(QueryInterface)(REFIID iid, LPVOID* ppvObj); \
-
-#ifndef _AFX_NO_NESTED_DERIVATION
-#define BEGIN_INTERFACE_PART_DERIVE(localClass, baseClass) \
-	class X##localClass : public baseClass \
-	{ \
-	public: \
-
-#else
-#define BEGIN_INTERFACE_PART_DERIVE(localClass, baseClass) \
-	BEGIN_INTERFACE_PART(localClass, baseClass) \
-
-#endif
-
-#ifndef _AFX_NO_NESTED_DERIVATION
-#define INIT_INTERFACE_PART(theClass, localClass) \
-		size_t m_nOffset; \
-		INIT_INTERFACE_PART_DERIVE(theClass, localClass) \
-
-#define INIT_INTERFACE_PART_DERIVE(theClass, localClass) \
-		X##localClass() \
-			{ m_nOffset = offsetof(theClass, m_x##localClass); } \
-
-#else
-#define INIT_INTERFACE_PART(theClass, localClass)
-#define INIT_INTERFACE_PART_DERIVE(theClass, localClass)
-
-#endif
-
-// Note: Inserts the rest of OLE functionality between these two macros,
-//  depending upon the interface that is being implemented.  It is not
-//  necessary to include AddRef, Release, and QueryInterface since those
-//  member functions are declared by the macro.
-
-#define END_INTERFACE_PART(localClass) \
-	} m_x##localClass; \
-	friend class X##localClass; \
-
-struct CInterfacePlaceHolder
-{
-	DWORD m_vtbl;   // filled in with USE_INTERFACE_PART
-	CInterfacePlaceHolder() { m_vtbl = 0; }
-};
-
-#define END_INTERFACE_PART_OPTIONAL(localClass) \
-	}; \
-	CInterfacePlaceHolder m_x##localClass; \
-	friend class X##localClass; \
-
-#ifdef _AFXDLL
-#define END_INTERFACE_PART_STATIC END_INTERFACE_PART
-#else
-#define END_INTERFACE_PART_STATIC END_INTERFACE_PART
-#endif
-
-#define USE_INTERFACE_PART(localClass) \
-	m_x##localClass.m_vtbl = *(DWORD*)&X##localClass(); \
-
-#ifdef _AFXDLL
-#define BEGIN_INTERFACE_MAP(theClass, theBase) \
-	const AFX_INTERFACEMAP* PASCAL theClass::_GetBaseInterfaceMap() \
-		{ return &theBase::interfaceMap; } \
-	const AFX_INTERFACEMAP* theClass::GetInterfaceMap() const \
-		{ return &theClass::interfaceMap; } \
-	AFX_COMDAT const AFX_DATADEF AFX_INTERFACEMAP theClass::interfaceMap = \
-		{ &theClass::_GetBaseInterfaceMap, &theClass::_interfaceEntries[0], }; \
-	AFX_COMDAT const AFX_DATADEF AFX_INTERFACEMAP_ENTRY theClass::_interfaceEntries[] = \
-	{ \
-
-#else
-#define BEGIN_INTERFACE_MAP(theClass, theBase) \
-	const AFX_INTERFACEMAP* theClass::GetInterfaceMap() const \
-		{ return &theClass::interfaceMap; } \
-	AFX_COMDAT const AFX_DATADEF AFX_INTERFACEMAP theClass::interfaceMap = \
-		{ &theBase::interfaceMap, &theClass::_interfaceEntries[0], }; \
-	AFX_COMDAT const AFX_DATADEF AFX_INTERFACEMAP_ENTRY theClass::_interfaceEntries[] = \
-	{ \
-
-#endif
-
-#define INTERFACE_PART(theClass, iid, localClass) \
-		{ &iid, offsetof(theClass, m_x##localClass) }, \
-
-#define INTERFACE_AGGREGATE(theClass, theAggr) \
-		{ NULL, offsetof(theClass, theAggr) }, \
-
-#define END_INTERFACE_MAP() \
-		{ NULL, (size_t)-1 } \
-	}; \
-
-/////////////////////////////////////////////////////////////////////////////
-// COleException - unexpected or rare OLE error returned
-
-class COleException : public CException
-{
-	DECLARE_DYNAMIC(COleException)
-
-public:
-	SCODE m_sc;
-	static SCODE PASCAL Process(const CException* pAnyException);
-
-// Implementation (use AfxThrowOleException to create)
-public:
-	COleException();
-	virtual ~COleException();
-
-	virtual BOOL GetErrorMessage(LPTSTR lpszError, UINT nMaxError,
-		PUINT pnHelpContext = NULL);
-};
-
-void AFXAPI AfxThrowOleException(SCODE sc);
-void AFXAPI AfxCheckError(SCODE sc);
-
-/////////////////////////////////////////////////////////////////////////////
-// IDispatch specific exception
-
-class COleDispatchException : public CException
-{
-	DECLARE_DYNAMIC(COleDispatchException)
-
-public:
-// Attributes
-	WORD m_wCode;   // error code (specific to IDispatch implementation)
-	CString m_strDescription;   // human readable description of the error
-	DWORD m_dwHelpContext;      // help context for error
-
-	// usually empty in application which creates it (eg. servers)
-	CString m_strHelpFile;      // help file to use with m_dwHelpContext
-	CString m_strSource;        // source of the error (name of server)
-
-// Implementation
-public:
-	COleDispatchException(LPCTSTR lpszDescription, UINT nHelpID, WORD wCode);
-	virtual ~COleDispatchException();
-	static void PASCAL Process(
-		EXCEPINFO* pInfo, const CException* pAnyException);
-
-	virtual BOOL GetErrorMessage(LPTSTR lpszError, UINT nMaxError,
-		PUINT pnHelpContext = NULL);
-
-	SCODE m_scError;            // SCODE describing the error
-};
-
-void AFXAPI AfxThrowOleDispatchException(WORD wCode, LPCTSTR lpszDescription,
-	UINT nHelpID = 0);
-void AFXAPI AfxThrowOleDispatchException(WORD wCode, UINT nDescriptionID,
-	UINT nHelpID = (UINT)-1);
-
-/////////////////////////////////////////////////////////////////////////////
-// Macros for CCmdTarget IDispatchable classes
-
-#ifdef _AFXDLL
-#define BEGIN_DISPATCH_MAP(theClass, baseClass) \
-	const AFX_DISPMAP* PASCAL theClass::_GetBaseDispatchMap() \
-		{ return &baseClass::dispatchMap; } \
-	const AFX_DISPMAP* theClass::GetDispatchMap() const \
-		{ return &theClass::dispatchMap; } \
-	AFX_COMDAT const AFX_DISPMAP theClass::dispatchMap = \
-		{ &theClass::_GetBaseDispatchMap, &theClass::_dispatchEntries[0], \
-			&theClass::_dispatchEntryCount, &theClass::_dwStockPropMask }; \
-	AFX_COMDAT UINT theClass::_dispatchEntryCount = (UINT)-1; \
-	AFX_COMDAT DWORD theClass::_dwStockPropMask = (DWORD)-1; \
-	AFX_COMDAT const AFX_DISPMAP_ENTRY theClass::_dispatchEntries[] = \
-	{ \
-
-#else
-#define BEGIN_DISPATCH_MAP(theClass, baseClass) \
-	const AFX_DISPMAP* theClass::GetDispatchMap() const \
-		{ return &theClass::dispatchMap; } \
-	AFX_COMDAT const AFX_DISPMAP theClass::dispatchMap = \
-		{ &baseClass::dispatchMap, &theClass::_dispatchEntries[0], \
-			&theClass::_dispatchEntryCount, &theClass::_dwStockPropMask }; \
-	AFX_COMDAT UINT theClass::_dispatchEntryCount = (UINT)-1; \
-	AFX_COMDAT DWORD theClass::_dwStockPropMask = (DWORD)-1; \
-	AFX_COMDAT const AFX_DISPMAP_ENTRY theClass::_dispatchEntries[] = \
-	{ \
-
-#endif
-
-#define END_DISPATCH_MAP() \
-	{ VTS_NONE, DISPID_UNKNOWN, VTS_NONE, VT_VOID, \
-		(AFX_PMSG)NULL, (AFX_PMSG)NULL, (size_t)-1, afxDispCustom } }; \
-
-// parameter types: by value VTs
-#define VTS_I2              "\x02"      // a 'short'
-#define VTS_I4              "\x03"      // a 'long'
-#define VTS_R4              "\x04"      // a 'float'
-#define VTS_R8              "\x05"      // a 'double'
-#define VTS_CY              "\x06"      // a 'CY' or 'CY*'
-#define VTS_DATE            "\x07"      // a 'DATE'
-#define VTS_WBSTR           "\x08"      // an 'LPCOLESTR'
-#define VTS_DISPATCH        "\x09"      // an 'IDispatch*'
-#define VTS_SCODE           "\x0A"      // an 'SCODE'
-#define VTS_BOOL            "\x0B"      // a 'BOOL'
-#define VTS_VARIANT         "\x0C"      // a 'const VARIANT&' or 'VARIANT*'
-#define VTS_UNKNOWN         "\x0D"      // an 'IUnknown*'
-#if defined(_UNICODE) || defined(OLE2ANSI)
-	#define VTS_BSTR            VTS_WBSTR// an 'LPCOLESTR'
-	#define VT_BSTRT            VT_BSTR
-#else
-	#define VTS_BSTR            "\x0E"  // an 'LPCSTR'
-	#define VT_BSTRA            14
-	#define VT_BSTRT            VT_BSTRA
-#endif
-#define VTS_UI1             "\x0F"      // a 'BYTE'
-
-// parameter types: by reference VTs
-#define VTS_PI2             "\x42"      // a 'short*'
-#define VTS_PI4             "\x43"      // a 'long*'
-#define VTS_PR4             "\x44"      // a 'float*'
-#define VTS_PR8             "\x45"      // a 'double*'
-#define VTS_PCY             "\x46"      // a 'CY*'
-#define VTS_PDATE           "\x47"      // a 'DATE*'
-#define VTS_PBSTR           "\x48"      // a 'BSTR*'
-#define VTS_PDISPATCH       "\x49"      // an 'IDispatch**'
-#define VTS_PSCODE          "\x4A"      // an 'SCODE*'
-#define VTS_PBOOL           "\x4B"      // a 'VARIANT_BOOL*'
-#define VTS_PVARIANT        "\x4C"      // a 'VARIANT*'
-#define VTS_PUNKNOWN        "\x4D"      // an 'IUnknown**'
-#define VTS_PUI1            "\x4F"      // a 'BYTE*'
-
-// special VT_ and VTS_ values
-#define VTS_NONE            NULL        // used for members with 0 params
-#define VT_MFCVALUE         0xFFF       // special value for DISPID_VALUE
-#define VT_MFCBYREF         0x40        // indicates VT_BYREF type
-#define VT_MFCMARKER        0xFF        // delimits named parameters (INTERNAL USE)
-
-// variant handling (use V_BSTRT when you have ANSI BSTRs, as in DAO)
-#ifndef _UNICODE
-	#define V_BSTRT(b)  (LPSTR)V_BSTR(b)
-#else
-	#define V_BSTRT(b)  V_BSTR(b)
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE control parameter types
-
-#define VTS_COLOR           VTS_I4      // OLE_COLOR
-#define VTS_XPOS_PIXELS     VTS_I4      // OLE_XPOS_PIXELS
-#define VTS_YPOS_PIXELS     VTS_I4      // OLE_YPOS_PIXELS
-#define VTS_XSIZE_PIXELS    VTS_I4      // OLE_XSIZE_PIXELS
-#define VTS_YSIZE_PIXELS    VTS_I4      // OLE_YSIZE_PIXELS
-#define VTS_XPOS_HIMETRIC   VTS_I4      // OLE_XPOS_HIMETRIC
-#define VTS_YPOS_HIMETRIC   VTS_I4      // OLE_YPOS_HIMETRIC
-#define VTS_XSIZE_HIMETRIC  VTS_I4      // OLE_XSIZE_HIMETRIC
-#define VTS_YSIZE_HIMETRIC  VTS_I4      // OLE_YSIZE_HIMETRIC
-#define VTS_TRISTATE        VTS_I2      // OLE_TRISTATE
-#define VTS_OPTEXCLUSIVE    VTS_BOOL    // OLE_OPTEXCLUSIVE
-
-#define VTS_PCOLOR          VTS_PI4     // OLE_COLOR*
-#define VTS_PXPOS_PIXELS    VTS_PI4     // OLE_XPOS_PIXELS*
-#define VTS_PYPOS_PIXELS    VTS_PI4     // OLE_YPOS_PIXELS*
-#define VTS_PXSIZE_PIXELS   VTS_PI4     // OLE_XSIZE_PIXELS*
-#define VTS_PYSIZE_PIXELS   VTS_PI4     // OLE_YSIZE_PIXELS*
-#define VTS_PXPOS_HIMETRIC  VTS_PI4     // OLE_XPOS_HIMETRIC*
-#define VTS_PYPOS_HIMETRIC  VTS_PI4     // OLE_YPOS_HIMETRIC*
-#define VTS_PXSIZE_HIMETRIC VTS_PI4     // OLE_XSIZE_HIMETRIC*
-#define VTS_PYSIZE_HIMETRIC VTS_PI4     // OLE_YSIZE_HIMETRIC*
-#define VTS_PTRISTATE       VTS_PI2     // OLE_TRISTATE*
-#define VTS_POPTEXCLUSIVE   VTS_PBOOL   // OLE_OPTEXCLUSIVE*
-
-#define VTS_FONT            VTS_DISPATCH    // IFontDispatch*
-#define VTS_PICTURE         VTS_DISPATCH    // IPictureDispatch*
-
-#define VTS_HANDLE          VTS_I4      // OLE_HANDLE
-#define VTS_PHANDLE         VTS_PI4     // OLE_HANDLE*
-
-// these DISP_ macros cause the framework to generate the DISPID
-#define DISP_FUNCTION(theClass, szExternalName, pfnMember, vtRetVal, vtsParams) \
-	{ _T(szExternalName), DISPID_UNKNOWN, vtsParams, vtRetVal, \
-		(AFX_PMSG)(void (theClass::*)(void))&pfnMember, (AFX_PMSG)0, 0, \
-		afxDispCustom }, \
-
-#define DISP_PROPERTY(theClass, szExternalName, memberName, vtPropType) \
-	{ _T(szExternalName), DISPID_UNKNOWN, NULL, vtPropType, (AFX_PMSG)0, (AFX_PMSG)0, \
-		offsetof(theClass, memberName), afxDispCustom }, \
-
-#define DISP_PROPERTY_NOTIFY(theClass, szExternalName, memberName, pfnAfterSet, vtPropType) \
-	{ _T(szExternalName), DISPID_UNKNOWN, NULL, vtPropType, (AFX_PMSG)0, \
-		(AFX_PMSG)(void (theClass::*)(void))&pfnAfterSet, \
-		offsetof(theClass, memberName), afxDispCustom }, \
-
-#define DISP_PROPERTY_EX(theClass, szExternalName, pfnGet, pfnSet, vtPropType) \
-	{ _T(szExternalName), DISPID_UNKNOWN, NULL, vtPropType, \
-		(AFX_PMSG)(void (theClass::*)(void))&pfnGet, \
-		(AFX_PMSG)(void (theClass::*)(void))&pfnSet, 0, afxDispCustom }, \
-
-#define DISP_PROPERTY_PARAM(theClass, szExternalName, pfnGet, pfnSet, vtPropType, vtsParams) \
-	{ _T(szExternalName), DISPID_UNKNOWN, vtsParams, vtPropType, \
-		(AFX_PMSG)(void (theClass::*)(void))&pfnGet, \
-		(AFX_PMSG)(void (theClass::*)(void))&pfnSet, 0, afxDispCustom }, \
-
-// these DISP_ macros allow the app to determine the DISPID
-#define DISP_FUNCTION_ID(theClass, szExternalName, dispid, pfnMember, vtRetVal, vtsParams) \
-	{ _T(szExternalName), dispid, vtsParams, vtRetVal, \
-		(AFX_PMSG)(void (theClass::*)(void))&pfnMember, (AFX_PMSG)0, 0, \
-		afxDispCustom }, \
-
-#define DISP_PROPERTY_ID(theClass, szExternalName, dispid, memberName, vtPropType) \
-	{ _T(szExternalName), dispid, NULL, vtPropType, (AFX_PMSG)0, (AFX_PMSG)0, \
-		offsetof(theClass, memberName), afxDispCustom }, \
-
-#define DISP_PROPERTY_NOTIFY_ID(theClass, szExternalName, dispid, memberName, pfnAfterSet, vtPropType) \
-	{ _T(szExternalName), dispid, NULL, vtPropType, (AFX_PMSG)0, \
-		(AFX_PMSG)(void (theClass::*)(void))&pfnAfterSet, \
-		offsetof(theClass, memberName), afxDispCustom }, \
-
-#define DISP_PROPERTY_EX_ID(theClass, szExternalName, dispid, pfnGet, pfnSet, vtPropType) \
-	{ _T(szExternalName), dispid, NULL, vtPropType, \
-		(AFX_PMSG)(void (theClass::*)(void))&pfnGet, \
-		(AFX_PMSG)(void (theClass::*)(void))&pfnSet, 0, afxDispCustom }, \
-
-#define DISP_PROPERTY_PARAM_ID(theClass, szExternalName, dispid, pfnGet, pfnSet, vtPropType, vtsParams) \
-	{ _T(szExternalName), dispid, vtsParams, vtPropType, \
-		(AFX_PMSG)(void (theClass::*)(void))&pfnGet, \
-		(AFX_PMSG)(void (theClass::*)(void))&pfnSet, 0, afxDispCustom }, \
-
-// the DISP_DEFVALUE is a special case macro that creates an alias for DISPID_VALUE
-#define DISP_DEFVALUE(theClass, szExternalName) \
-	{ _T(szExternalName), DISPID_UNKNOWN, NULL, VT_MFCVALUE, \
-		(AFX_PMSG)0, (AFX_PMSG)0, 0, afxDispCustom }, \
-
-#define DISP_DEFVALUE_ID(theClass, dispid) \
-	{ NULL, dispid, NULL, VT_MFCVALUE, (AFX_PMSG)0, (AFX_PMSG)0, 0, \
-		afxDispCustom }, \
-
-/////////////////////////////////////////////////////////////////////////////
-// Macros for creating "creatable" automation classes.
-
-#define DECLARE_OLECREATE(class_name) \
-public: \
-	static AFX_DATA COleObjectFactory factory; \
-	static AFX_DATA const GUID guid; \
-
-#define IMPLEMENT_OLECREATE(class_name, external_name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
-	AFX_DATADEF COleObjectFactory class_name::factory(class_name::guid, \
-		RUNTIME_CLASS(class_name), FALSE, _T(external_name)); \
-	AFX_COMDAT const AFX_DATADEF GUID class_name::guid = \
-		{ l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }; \
-
-/////////////////////////////////////////////////////////////////////////////
-// Helper class for driving IDispatch
-
-class COleDispatchDriver
-{
-// Constructors
-public:
-	COleDispatchDriver();
-	COleDispatchDriver(LPDISPATCH lpDispatch, BOOL bAutoRelease = TRUE);
-	COleDispatchDriver(const COleDispatchDriver& dispatchSrc);
-
-// Attributes
-	LPDISPATCH m_lpDispatch;
-	BOOL m_bAutoRelease;
-
-// Operations
-	BOOL CreateDispatch(REFCLSID clsid, COleException* pError = NULL);
-	BOOL CreateDispatch(LPCTSTR lpszProgID, COleException* pError = NULL);
-
-	void AttachDispatch(LPDISPATCH lpDispatch, BOOL bAutoRelease = TRUE);
-	LPDISPATCH DetachDispatch();
-		// detach and get ownership of m_lpDispatch
-	void ReleaseDispatch();
-
-	// helpers for IDispatch::Invoke
-	void AFX_CDECL InvokeHelper(DISPID dwDispID, WORD wFlags,
-		VARTYPE vtRet, void* pvRet, const BYTE* pbParamInfo, ...);
-	void AFX_CDECL SetProperty(DISPID dwDispID, VARTYPE vtProp, ...);
-	void GetProperty(DISPID dwDispID, VARTYPE vtProp, void* pvProp) const;
-
-	// special operators
-	operator LPDISPATCH();
-	const COleDispatchDriver& operator=(const COleDispatchDriver& dispatchSrc);
-
-// Implementation
-public:
-	~COleDispatchDriver();
-	void InvokeHelperV(DISPID dwDispID, WORD wFlags, VARTYPE vtRet,
-		void* pvRet, const BYTE* pbParamInfo, va_list argList);
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// Class Factory implementation (binds OLE class factory -> runtime class)
-//  (all specific class factories derive from this class factory)
-
-class COleObjectFactory : public CCmdTarget
-{
-	DECLARE_DYNAMIC(COleObjectFactory)
-
-// Construction
-public:
-	COleObjectFactory(REFCLSID clsid, CRuntimeClass* pRuntimeClass,
-		BOOL bMultiInstance, LPCTSTR lpszProgID);
-
-// Attributes
-	virtual BOOL IsRegistered() const;
-	REFCLSID GetClassID() const;
-
-// Operations
-	virtual BOOL Register();
-	BOOL Unregister();
-	void Revoke();
-	void UpdateRegistry(LPCTSTR lpszProgID = NULL);
-		// default uses m_lpszProgID if not NULL
-	BOOL IsLicenseValid();
-
-	static BOOL PASCAL UnregisterAll();
-	static BOOL PASCAL RegisterAll();
-	static void PASCAL RevokeAll();
-	static BOOL PASCAL UpdateRegistryAll(BOOL bRegister = TRUE);
-
-// Overridables
-protected:
-	virtual CCmdTarget* OnCreateObject();
-	virtual BOOL UpdateRegistry(BOOL bRegister);
-	virtual BOOL VerifyUserLicense();
-	virtual BOOL GetLicenseKey(DWORD dwReserved, BSTR* pbstrKey);
-	virtual BOOL VerifyLicenseKey(BSTR bstrKey);
-
-// Implementation
-public:
-	virtual ~COleObjectFactory();
-#ifdef MFC_DEBUG
-	void AssertValid() const;
-	void Dump(CDumpContext& dc) const;
-#endif
-
-public:
-	COleObjectFactory* m_pNextFactory;  // list of factories maintained
-
-protected:
-	DWORD m_dwRegister;             // registry identifier
-	CLSID m_clsid;                  // registered class ID
-	CRuntimeClass* m_pRuntimeClass; // runtime class of CCmdTarget derivative
-	BOOL m_bMultiInstance;          // multiple instance?
-	LPCTSTR m_lpszProgID;           // human readable class ID
-	BYTE m_bLicenseChecked;
-	BYTE m_bLicenseValid;
-	BYTE m_bRegistered;             // is currently registered w/ system
-	BYTE m_bOAT;                          // used by COleTemplateServer to
-											  // remember application type for unregistry
-
-// Interface Maps
-public:
-	BEGIN_INTERFACE_PART(ClassFactory, IClassFactory2)
-		INIT_INTERFACE_PART(COleObjectFactory, ClassFactory)
-		STDMETHOD(CreateInstance)(LPUNKNOWN, REFIID, LPVOID*);
-		STDMETHOD(LockServer)(BOOL);
-		STDMETHOD(GetLicInfo)(LPLICINFO);
-		STDMETHOD(RequestLicKey)(DWORD, BSTR*);
-		STDMETHOD(CreateInstanceLic)(LPUNKNOWN, LPUNKNOWN, REFIID, BSTR,
-			LPVOID*);
-	END_INTERFACE_PART(ClassFactory)
-
-	DECLARE_INTERFACE_MAP()
-
-	friend SCODE AFXAPI AfxDllGetClassObject(REFCLSID, REFIID, LPVOID*);
-	friend SCODE STDAPICALLTYPE DllGetClassObject(REFCLSID, REFIID, LPVOID*);
-};
-
-// Define COleObjectFactoryEx for compatibility with old CDK
-#define COleObjectFactoryEx COleObjectFactory
-
-//////////////////////////////////////////////////////////////////////////////
-// COleTemplateServer - COleObjectFactory using CDocTemplates
-
-// This enumeration is used in AfxOleRegisterServerClass to pick the
-//  correct registration entries given the application type.
-enum OLE_APPTYPE
-{
-	OAT_UNKNOWN = -1,                // no type decided yet
-	OAT_INPLACE_SERVER = 0,     // server has full server user-interface
-	OAT_SERVER = 1,             // server supports only embedding
-	OAT_CONTAINER = 2,          // container supports links to embeddings
-	OAT_DISPATCH_OBJECT = 3,    // IDispatch capable object
-	OAT_DOC_OBJECT_SERVER = 4,  // sever supports DocObject embedding
-	OAT_DOC_OBJECT_CONTAINER =5,// container supports DocObject clients
-};
-
-class COleTemplateServer : public COleObjectFactory
-{
-// Constructors
-public:
-	COleTemplateServer();
-
-// Operations
-	void ConnectTemplate(REFCLSID clsid, CDocTemplate* pDocTemplate,
-		BOOL bMultiInstance);
-		// set doc template after creating it in InitInstance
-	void UpdateRegistry(OLE_APPTYPE nAppType = OAT_INPLACE_SERVER,
-		LPCTSTR* rglpszRegister = NULL, LPCTSTR* rglpszOverwrite = NULL);
-		// may want to UpdateRegistry if not run with /Embedded
-	BOOL Register();
-	BOOL Unregister();
-
-// Implementation
-protected:
-	virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra,
-			AFX_CMDHANDLERINFO* pHandlerInfo);
-	virtual CCmdTarget* OnCreateObject();
-	CDocTemplate* m_pDocTemplate;
-
-private:
-	void UpdateRegistry(LPCTSTR lpszProgID);
-		// hide base class version of UpdateRegistry
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// System registry helpers
-
-// Helper to register server in case of no .REG file loaded
-BOOL AFXAPI AfxOleRegisterServerClass(
-	REFCLSID clsid, LPCTSTR lpszClassName,
-	LPCTSTR lpszShortTypeName, LPCTSTR lpszLongTypeName,
-	OLE_APPTYPE nAppType = OAT_SERVER,
-	LPCTSTR* rglpszRegister = NULL, LPCTSTR* rglpszOverwrite = NULL,
-	int nIconIndex = 0, LPCTSTR lpszLocalFilterName = NULL);
-BOOL AFXAPI AfxOleRegisterServerClass(
-	REFCLSID clsid, LPCTSTR lpszClassName,
-	LPCTSTR lpszShortTypeName, LPCTSTR lpszLongTypeName,
-	OLE_APPTYPE nAppType,
-	LPCTSTR* rglpszRegister, LPCTSTR* rglpszOverwrite,
-	int nIconIndex, LPCTSTR lpszLocalFilterName, LPCTSTR lpszLocalFilterExt);
-
-BOOL AFXAPI AfxOleUnregisterServerClass(
-	REFCLSID clsid, LPCTSTR lpszClassName, LPCTSTR lpszShortTypeName,
-	LPCTSTR lpszLongTypeName, OLE_APPTYPE nAppType = OAT_SERVER,
-	LPCTSTR* rglpszRegister = NULL, LPCTSTR* rglpszOverwrite = NULL);
-
-// AfxOleRegisterHelper is a worker function used by
-//  AfxOleRegisterServerClass (available for advanced registry work)
-BOOL AFXAPI AfxOleRegisterHelper(LPCTSTR const* rglpszRegister,
-	LPCTSTR const* rglpszSymbols, int nSymbols, BOOL bReplace,
-	HKEY hKeyRoot = ((HKEY)0x80000000)); // HKEY_CLASSES_ROOT
-
-BOOL AFXAPI AfxOleUnregisterHelper(LPCTSTR const* rglpszRegister,
-	LPCTSTR const* rglpszSymbols, int nSymbols,
-	HKEY hKeyRoot = ((HKEY)0x80000000)); // HKEY_CLASSES_ROOT
-
-/////////////////////////////////////////////////////////////////////////////
-// Connection maps
-
-#define BEGIN_CONNECTION_PART(theClass, localClass) \
-	class X##localClass : public CConnectionPoint \
-	{ \
-	public: \
-		X##localClass() \
-			{ m_nOffset = offsetof(theClass, m_x##localClass); }
-
-#define CONNECTION_IID(iid) \
-		REFIID GetIID() { return iid; }
-
-#define END_CONNECTION_PART(localClass) \
-	} m_x##localClass; \
-	friend class X##localClass;
-
-#ifdef _AFXDLL
-#define BEGIN_CONNECTION_MAP(theClass, theBase) \
-	const AFX_CONNECTIONMAP* PASCAL theClass::_GetBaseConnectionMap() \
-		{ return &theBase::connectionMap; } \
-	const AFX_CONNECTIONMAP* theClass::GetConnectionMap() const \
-		{ return &theClass::connectionMap; } \
-	AFX_COMDAT const AFX_DATADEF AFX_CONNECTIONMAP theClass::connectionMap = \
-		{ &theClass::_GetBaseConnectionMap, &theClass::_connectionEntries[0], }; \
-	AFX_COMDAT const AFX_DATADEF AFX_CONNECTIONMAP_ENTRY theClass::_connectionEntries[] = \
-	{ \
-
-#else
-#define BEGIN_CONNECTION_MAP(theClass, theBase) \
-	const AFX_CONNECTIONMAP* theClass::GetConnectionMap() const \
-		{ return &theClass::connectionMap; } \
-	AFX_COMDAT const AFX_DATADEF AFX_CONNECTIONMAP theClass::connectionMap = \
-		{ &(theBase::connectionMap), &theClass::_connectionEntries[0], }; \
-	AFX_COMDAT const AFX_DATADEF AFX_CONNECTIONMAP_ENTRY theClass::_connectionEntries[] = \
-	{ \
-
-#endif
-
-#define CONNECTION_PART(theClass, iid, localClass) \
-		{ &iid, offsetof(theClass, m_x##localClass) }, \
-
-#define END_CONNECTION_MAP() \
-		{ NULL, (size_t)-1 } \
-	}; \
-
-/////////////////////////////////////////////////////////////////////////////
-// CConnectionPoint
-
-#ifdef _AFXDLL
-class CConnectionPoint : public CCmdTarget
-#else
-class AFX_NOVTABLE CConnectionPoint : public CCmdTarget
-#endif
-{
-// Constructors
-public:
-	CConnectionPoint();
-
-// Operations
-	POSITION GetStartPosition() const;
-	LPUNKNOWN GetNextConnection(POSITION& pos) const;
-	const CPtrArray* GetConnections();  // obsolete
-
-// Overridables
-	virtual LPCONNECTIONPOINTCONTAINER GetContainer();
-	virtual REFIID GetIID() = 0;
-	virtual void OnAdvise(BOOL bAdvise);
-	virtual int GetMaxConnections();
-	virtual LPUNKNOWN QuerySinkInterface(LPUNKNOWN pUnkSink);
-
-// Implementation
-	~CConnectionPoint();
-	void CreateConnectionArray();
-	int GetConnectionCount();
-
-protected:
-	size_t m_nOffset;
-	LPUNKNOWN m_pUnkFirstConnection;
-	CPtrArray* m_pConnections;
-
-// Interface Maps
-public:
-	BEGIN_INTERFACE_PART(ConnPt, IConnectionPoint)
-		INIT_INTERFACE_PART(CConnectionPoint, ConnPt)
-		STDMETHOD(GetConnectionInterface)(IID* pIID);
-		STDMETHOD(GetConnectionPointContainer)(
-			IConnectionPointContainer** ppCPC);
-		STDMETHOD(Advise)(LPUNKNOWN pUnkSink, DWORD* pdwCookie);
-		STDMETHOD(Unadvise)(DWORD dwCookie);
-		STDMETHOD(EnumConnections)(LPENUMCONNECTIONS* ppEnum);
-	END_INTERFACE_PART(ConnPt)
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// EventSink Maps
-
-#ifndef _AFX_NO_OCC_SUPPORT
-
-#ifdef _AFXDLL
-#define BEGIN_EVENTSINK_MAP(theClass, baseClass) \
-	const AFX_EVENTSINKMAP* PASCAL theClass::_GetBaseEventSinkMap() \
-		{ return &baseClass::eventsinkMap; } \
-	const AFX_EVENTSINKMAP* theClass::GetEventSinkMap() const \
-		{ return &theClass::eventsinkMap; } \
-	const AFX_EVENTSINKMAP theClass::eventsinkMap = \
-		{ &theClass::_GetBaseEventSinkMap, &theClass::_eventsinkEntries[0], \
-			&theClass::_eventsinkEntryCount }; \
-	UINT theClass::_eventsinkEntryCount = (UINT)-1; \
-	const AFX_EVENTSINKMAP_ENTRY theClass::_eventsinkEntries[] = \
-	{ \
-
-#else
-#define BEGIN_EVENTSINK_MAP(theClass, baseClass) \
-	const AFX_EVENTSINKMAP* theClass::GetEventSinkMap() const \
-		{ return &theClass::eventsinkMap; } \
-	const AFX_EVENTSINKMAP theClass::eventsinkMap = \
-		{ &baseClass::eventsinkMap, &theClass::_eventsinkEntries[0], \
-			&theClass::_eventsinkEntryCount }; \
-	UINT theClass::_eventsinkEntryCount = (UINT)-1; \
-	const AFX_EVENTSINKMAP_ENTRY theClass::_eventsinkEntries[] = \
-	{ \
-
-#endif
-
-#define END_EVENTSINK_MAP() \
-	{ VTS_NONE, DISPID_UNKNOWN, VTS_NONE, VT_VOID, \
-		(AFX_PMSG)NULL, (AFX_PMSG)NULL, (size_t)-1, afxDispCustom, \
-		(UINT)-1, 0 } }; \
-
-#define ON_EVENT(theClass, id, dispid, pfnHandler, vtsParams) \
-	{ _T(""), dispid, vtsParams, VT_BOOL, \
-		(AFX_PMSG)(void (theClass::*)(void))&pfnHandler, (AFX_PMSG)0, 0, \
-		afxDispCustom, id, (UINT)-1 }, \
-
-#define ON_EVENT_RANGE(theClass, idFirst, idLast, dispid, pfnHandler, vtsParams) \
-	{ _T(""), dispid, vtsParams, VT_BOOL, \
-		(AFX_PMSG)(void (theClass::*)(void))&pfnHandler, (AFX_PMSG)0, 0, \
-		afxDispCustom, idFirst, idLast }, \
-
-#define ON_PROPNOTIFY(theClass, id, dispid, pfnRequest, pfnChanged) \
-	{ _T(""), dispid, VTS_NONE, VT_VOID, \
-		(AFX_PMSG)(BOOL (CCmdTarget::*)(BOOL*))&pfnRequest, \
-		(AFX_PMSG)(BOOL (CCmdTarget::*)(void))&pfnChanged, \
-		1, afxDispCustom, id, (UINT)-1 }, \
-
-#define ON_PROPNOTIFY_RANGE(theClass, idFirst, idLast, dispid, pfnRequest, pfnChanged) \
-	{ _T(""), dispid, VTS_NONE, VT_VOID, \
-		(AFX_PMSG)(BOOL (CCmdTarget::*)(UINT, BOOL*))&pfnRequest, \
-		(AFX_PMSG)(BOOL (CCmdTarget::*)(UINT))&pfnChanged, \
-		1, afxDispCustom, idFirst, idLast }, \
-
-#define ON_DSCNOTIFY(theClass, id, pfnNotify) \
-	{ _T(""), DISPID_UNKNOWN, VTS_NONE, VT_VOID, \
-		(AFX_PMSG)(BOOL (CCmdTarget::*)(DSCSTATE, DSCREASON, BOOL*))&pfnNotify, (AFX_PMSG)0, \
-		1, afxDispCustom, id, (UINT)-1 }, \
-
-#define ON_DSCNOTIFY_RANGE(theClass, idFirst, idLast, pfnNotify) \
-	{ _T(""), DISPID_UNKNOWN, VTS_NONE, VT_VOID, \
-		(AFX_PMSG)(BOOL (CCmdTarget::*)(UINT, DSCSTATE, DSCREASON, BOOL*))&pfnNotify, (AFX_PMSG)0, \
-		1, afxDispCustom, idFirst, idLast }, \
-
-#define ON_EVENT_REFLECT(theClass, dispid, pfnHandler, vtsParams) \
-	{ _T(""), dispid, vtsParams, VT_BOOL, \
-		(AFX_PMSG)(void (theClass::*)(void))&pfnHandler, (AFX_PMSG)0, 0, \
-		afxDispCustom, (UINT)-1, (UINT)-1 }, \
-
-#define ON_PROPNOTIFY_REFLECT(theClass, dispid, pfnRequest, pfnChanged) \
-	{ _T(""), dispid, VTS_NONE, VT_VOID, \
-		(AFX_PMSG)(BOOL (CCmdTarget::*)(BOOL*))&pfnRequest, \
-		(AFX_PMSG)(BOOL (CCmdTarget::*)(void))&pfnChanged, \
-		1, afxDispCustom, (UINT)-1, (UINT)-1 }, \
-
-#endif // !_AFX_NO_OCC_SUPPORT
-
-/////////////////////////////////////////////////////////////////////////////
-// Macros for type library information
-
-CTypeLibCache* AFXAPI AfxGetTypeLibCache(const GUID* pTypeLibID);
-
-#define DECLARE_OLETYPELIB(class_name) \
-	protected: \
-		virtual UINT GetTypeInfoCount(); \
-		virtual HRESULT GetTypeLib(LCID, LPTYPELIB*); \
-		virtual CTypeLibCache* GetTypeLibCache(); \
-
-#define IMPLEMENT_OLETYPELIB(class_name, tlid, wVerMajor, wVerMinor) \
-	UINT class_name::GetTypeInfoCount() \
-		{ return 1; } \
-	HRESULT class_name::GetTypeLib(LCID lcid, LPTYPELIB* ppTypeLib) \
-		{ return ::LoadRegTypeLib(tlid, wVerMajor, wVerMinor, lcid, ppTypeLib); } \
-	CTypeLibCache* class_name::GetTypeLibCache() \
-		{ AFX_MANAGE_STATE(m_pModuleState); return AfxGetTypeLibCache(&tlid); } \
-
-/////////////////////////////////////////////////////////////////////////////
-// Init & Term helpers
-
-BOOL AFXAPI AfxOleInit();
-void AFXAPI AfxOleTerm(BOOL bJustRevoke = FALSE);
-void AFXAPI AfxOleTermOrFreeLib(BOOL bTerm = TRUE, BOOL bJustRevoke = FALSE);
-
-/////////////////////////////////////////////////////////////////////////////
-// Memory management helpers (for OLE task allocator memory)
-
-#define AfxAllocTaskMem(nSize) CoTaskMemAlloc(nSize)
-#define AfxFreeTaskMem(p) CoTaskMemFree(p)
-
-LPWSTR AFXAPI AfxAllocTaskWideString(LPCWSTR lpszString);
-LPWSTR AFXAPI AfxAllocTaskWideString(LPCSTR lpszString);
-LPSTR AFXAPI AfxAllocTaskAnsiString(LPCWSTR lpszString);
-LPSTR AFXAPI AfxAllocTaskAnsiString(LPCSTR lpszString);
-
-#ifdef _UNICODE
-	#define AfxAllocTaskString(x) AfxAllocTaskWideString(x)
-#else
-	#define AfxAllocTaskString(x) AfxAllocTaskAnsiString(x)
-#endif
-
-#ifdef OLE2ANSI
-	#define AfxAllocTaskOleString(x) AfxAllocTaskAnsiString(x)
-#else
-	#define AfxAllocTaskOleString(x) AfxAllocTaskWideString(x)
-#endif
-
-HRESULT AFXAPI AfxGetClassIDFromString(LPCTSTR lpsz, LPCLSID lpClsID);
-
-/////////////////////////////////////////////////////////////////////////////
-// Special in-proc server APIs
-
-SCODE AFXAPI AfxDllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID* ppv);
-SCODE AFXAPI AfxDllCanUnloadNow(void);
-
-/////////////////////////////////////////////////////////////////////////////
-// COleVariant class helpers
-
-#define AFX_OLE_TRUE (-1)
-#define AFX_OLE_FALSE 0
-
-class CLongBinary;  // forward reference (see afxdb_.h)
-
-/////////////////////////////////////////////////////////////////////////////
-// COleVariant class - wraps VARIANT types
-
-typedef const VARIANT* LPCVARIANT;
-
-class COleVariant : public tagVARIANT
-{
-// Constructors
-public:
-	COleVariant();
-
-	COleVariant(const VARIANT& varSrc);
-	COleVariant(LPCVARIANT pSrc);
-	COleVariant(const COleVariant& varSrc);
-
-	COleVariant(LPCTSTR lpszSrc);
-	COleVariant(LPCTSTR lpszSrc, VARTYPE vtSrc); // used to set to ANSI string
-	COleVariant(CString& strSrc);
-
-	COleVariant(BYTE nSrc);
-	COleVariant(short nSrc, VARTYPE vtSrc = VT_I2);
-	COleVariant(long lSrc, VARTYPE vtSrc = VT_I4);
-	COleVariant(const COleCurrency& curSrc);
-
-	COleVariant(float fltSrc);
-	COleVariant(double dblSrc);
-	COleVariant(const COleDateTime& timeSrc);
-
-	COleVariant(const CByteArray& arrSrc);
-	COleVariant(const CLongBinary& lbSrc);
-
-	COleVariant(LPCITEMIDLIST pidl);
-
-// Operations
-public:
-	void Clear();
-	void ChangeType(VARTYPE vartype, LPVARIANT pSrc = NULL);
-	void Attach(VARIANT& varSrc);
-	VARIANT Detach();
-
-	BOOL operator==(const VARIANT& varSrc) const;
-	BOOL operator==(LPCVARIANT pSrc) const;
-
-	const COleVariant& operator=(const VARIANT& varSrc);
-	const COleVariant& operator=(LPCVARIANT pSrc);
-	const COleVariant& operator=(const COleVariant& varSrc);
-
-	const COleVariant& operator=(const LPCTSTR lpszSrc);
-	const COleVariant& operator=(const CString& strSrc);
-
-	const COleVariant& operator=(BYTE nSrc);
-	const COleVariant& operator=(short nSrc);
-	const COleVariant& operator=(long lSrc);
-	const COleVariant& operator=(const COleCurrency& curSrc);
-
-	const COleVariant& operator=(float fltSrc);
-	const COleVariant& operator=(double dblSrc);
-	const COleVariant& operator=(const COleDateTime& dateSrc);
-
-	const COleVariant& operator=(const CByteArray& arrSrc);
-	const COleVariant& operator=(const CLongBinary& lbSrc);
-
-	void SetString(LPCTSTR lpszSrc, VARTYPE vtSrc); // used to set ANSI string
-
-	operator LPVARIANT();
-	operator LPCVARIANT() const;
-
-// Implementation
-public:
-	~COleVariant();
-	void _ClearCompat();
-};
-
-// COleVariant diagnostics and serialization
-#ifdef MFC_DEBUG
-CDumpContext& AFXAPI operator<<(CDumpContext& dc, COleVariant varSrc);
-#endif
-CArchive& AFXAPI operator<<(CArchive& ar, COleVariant varSrc);
-CArchive& AFXAPI operator>>(CArchive& ar, COleVariant& varSrc);
-
-// Helper for initializing VARIANT structures
-void AFXAPI AfxVariantInit(LPVARIANT pVar);
-
-/////////////////////////////////////////////////////////////////////////////
-// COleCurrency class
-
-class COleCurrency
-{
-// Constructors
-public:
-	COleCurrency();
-
-	COleCurrency(CURRENCY cySrc);
-	COleCurrency(const COleCurrency& curSrc);
-	COleCurrency(const VARIANT& varSrc);
-	COleCurrency(long nUnits, long nFractionalUnits);
-
-// Attributes
-public:
-	enum CurrencyStatus
-	{
-		valid = 0,
-		invalid = 1,    // Invalid currency (overflow, div 0, etc.)
-		null = 2,       // Literally has no value
-	};
-
-	CURRENCY m_cur;
-	CurrencyStatus m_status;
-
-	void SetStatus(CurrencyStatus status);
-	CurrencyStatus GetStatus() const;
-
-// Operations
-public:
-	const COleCurrency& operator=(CURRENCY cySrc);
-	const COleCurrency& operator=(const COleCurrency& curSrc);
-	const COleCurrency& operator=(const VARIANT& varSrc);
-
-	BOOL operator==(const COleCurrency& cur) const;
-	BOOL operator!=(const COleCurrency& cur) const;
-	BOOL operator<(const COleCurrency& cur) const;
-	BOOL operator>(const COleCurrency& cur) const;
-	BOOL operator<=(const COleCurrency& cur) const;
-	BOOL operator>=(const COleCurrency& cur) const;
-
-	// Currency math
-	COleCurrency operator+(const COleCurrency& cur) const;
-	COleCurrency operator-(const COleCurrency& cur) const;
-	const COleCurrency& operator+=(const COleCurrency& cur);
-	const COleCurrency& operator-=(const COleCurrency& cur);
-	COleCurrency operator-() const;
-
-	COleCurrency operator*(long nOperand) const;
-	COleCurrency operator/(long nOperand) const;
-	const COleCurrency& operator*=(long nOperand);
-	const COleCurrency& operator/=(long nOperand);
-
-	operator CURRENCY() const;
-
-	// Currency definition
-	void SetCurrency(long nUnits, long nFractionalUnits);
-	BOOL ParseCurrency(LPCTSTR lpszCurrency, DWORD dwFlags = 0,
-		LCID = LANG_USER_DEFAULT);
-
-	// formatting
-	CString Format(DWORD dwFlags = 0, LCID lcid = LANG_USER_DEFAULT) const;
-};
-
-// COleCurrency diagnostics and serialization
-#ifdef MFC_DEBUG
-CDumpContext& AFXAPI operator<<(CDumpContext& dc, COleCurrency curSrc);
-#endif
-CArchive& AFXAPI operator<<(CArchive& ar, COleCurrency curSrc);
-CArchive& AFXAPI operator>>(CArchive& ar, COleCurrency& curSrc);
-
-/////////////////////////////////////////////////////////////////////////////
-// COleDateTime class helpers
-
-#define AFX_OLE_DATETIME_ERROR (-1)
-#define AFX_OLE_DATETIME_HALFSECOND (1.0 / (2.0 * (60.0 * 60.0 * 24.0)))
-
-/////////////////////////////////////////////////////////////////////////////
-// COleDateTime class
-
-class COleDateTime
-{
-// Constructors
-public:
-	static COleDateTime PASCAL GetCurrentTime();
-
-	COleDateTime();
-
-	COleDateTime(const COleDateTime& dateSrc);
-	COleDateTime(const VARIANT& varSrc);
-	COleDateTime(DATE dtSrc);
-
-	COleDateTime(time_t timeSrc);
-	COleDateTime(const SYSTEMTIME& systimeSrc);
-	COleDateTime(const FILETIME& filetimeSrc);
-
-	COleDateTime(int nYear, int nMonth, int nDay,
-		int nHour, int nMin, int nSec);
-	COleDateTime(WORD wDosDate, WORD wDosTime);
-
-// Attributes
-public:
-	enum DateTimeStatus
-	{
-		valid = 0,
-		invalid = 1,    // Invalid date (out of range, etc.)
-		null = 2,       // Literally has no value
-	};
-
-	DATE m_dt;
-	DateTimeStatus m_status;
-
-	void SetStatus(DateTimeStatus status);
-	DateTimeStatus GetStatus() const;
-
-	BOOL GetAsSystemTime(SYSTEMTIME& sysTime) const;
-
-	int GetYear() const;
-	int GetMonth() const;       // month of year (1 = Jan)
-	int GetDay() const;         // day of month (0-31)
-	int GetHour() const;        // hour in day (0-23)
-	int GetMinute() const;      // minute in hour (0-59)
-	int GetSecond() const;      // second in minute (0-59)
-	int GetDayOfWeek() const;   // 1=Sun, 2=Mon, ..., 7=Sat
-	int GetDayOfYear() const;   // days since start of year, Jan 1 = 1
-
-// Operations
-public:
-	const COleDateTime& operator=(const COleDateTime& dateSrc);
-	const COleDateTime& operator=(const VARIANT& varSrc);
-	const COleDateTime& operator=(DATE dtSrc);
-
-	const COleDateTime& operator=(const time_t& timeSrc);
-	const COleDateTime& operator=(const SYSTEMTIME& systimeSrc);
-	const COleDateTime& operator=(const FILETIME& filetimeSrc);
-
-	BOOL operator==(const COleDateTime& date) const;
-	BOOL operator!=(const COleDateTime& date) const;
-	BOOL operator<(const COleDateTime& date) const;
-	BOOL operator>(const COleDateTime& date) const;
-	BOOL operator<=(const COleDateTime& date) const;
-	BOOL operator>=(const COleDateTime& date) const;
-
-	// DateTime math
-	COleDateTime operator+(const COleDateTimeSpan& dateSpan) const;
-	COleDateTime operator-(const COleDateTimeSpan& dateSpan) const;
-	const COleDateTime& operator+=(const COleDateTimeSpan dateSpan);
-	const COleDateTime& operator-=(const COleDateTimeSpan dateSpan);
-
-	// DateTimeSpan math
-	COleDateTimeSpan operator-(const COleDateTime& date) const;
-
-	operator DATE() const;
-
-	int SetDateTime(int nYear, int nMonth, int nDay,
-		int nHour, int nMin, int nSec);
-	int SetDate(int nYear, int nMonth, int nDay);
-	int SetTime(int nHour, int nMin, int nSec);
-	BOOL ParseDateTime(LPCTSTR lpszDate, DWORD dwFlags = 0,
-		LCID lcid = LANG_USER_DEFAULT);
-
-	// formatting
-	CString Format(DWORD dwFlags = 0, LCID lcid = LANG_USER_DEFAULT) const;
-	CString Format(LPCTSTR lpszFormat) const;
-	CString Format(UINT nFormatID) const;
-
-// Implementation
-protected:
-	void CheckRange();
-	friend COleDateTimeSpan;
-};
-
-// COleDateTime diagnostics and serialization
-#ifdef MFC_DEBUG
-CDumpContext& AFXAPI operator<<(CDumpContext& dc, COleDateTime dateSrc);
-#endif
-CArchive& AFXAPI operator<<(CArchive& ar, COleDateTime dateSrc);
-CArchive& AFXAPI operator>>(CArchive& ar, COleDateTime& dateSrc);
-
-/////////////////////////////////////////////////////////////////////////////
-// COleDateTimeSpan class
-class COleDateTimeSpan
-{
-// Constructors
-public:
-	COleDateTimeSpan();
-
-	COleDateTimeSpan(double dblSpanSrc);
-	COleDateTimeSpan(const COleDateTimeSpan& dateSpanSrc);
-	COleDateTimeSpan(long lDays, int nHours, int nMins, int nSecs);
-
-// Attributes
-public:
-	enum DateTimeSpanStatus
-	{
-		valid = 0,
-		invalid = 1,    // Invalid span (out of range, etc.)
-		null = 2,       // Literally has no value
-	};
-
-	double m_span;
-	DateTimeSpanStatus m_status;
-
-	void SetStatus(DateTimeSpanStatus status);
-	DateTimeSpanStatus GetStatus() const;
-
-	double GetTotalDays() const;    // span in days (about -3.65e6 to 3.65e6)
-	double GetTotalHours() const;   // span in hours (about -8.77e7 to 8.77e6)
-	double GetTotalMinutes() const; // span in minutes (about -5.26e9 to 5.26e9)
-	double GetTotalSeconds() const; // span in seconds (about -3.16e11 to 3.16e11)
-
-	long GetDays() const;       // component days in span
-	long GetHours() const;      // component hours in span (-23 to 23)
-	long GetMinutes() const;    // component minutes in span (-59 to 59)
-	long GetSeconds() const;    // component seconds in span (-59 to 59)
-
-// Operations
-public:
-	const COleDateTimeSpan& operator=(double dblSpanSrc);
-	const COleDateTimeSpan& operator=(const COleDateTimeSpan& dateSpanSrc);
-
-	BOOL operator==(const COleDateTimeSpan& dateSpan) const;
-	BOOL operator!=(const COleDateTimeSpan& dateSpan) const;
-	BOOL operator<(const COleDateTimeSpan& dateSpan) const;
-	BOOL operator>(const COleDateTimeSpan& dateSpan) const;
-	BOOL operator<=(const COleDateTimeSpan& dateSpan) const;
-	BOOL operator>=(const COleDateTimeSpan& dateSpan) const;
-
-	// DateTimeSpan math
-	COleDateTimeSpan operator+(const COleDateTimeSpan& dateSpan) const;
-	COleDateTimeSpan operator-(const COleDateTimeSpan& dateSpan) const;
-	const COleDateTimeSpan& operator+=(const COleDateTimeSpan dateSpan);
-	const COleDateTimeSpan& operator-=(const COleDateTimeSpan dateSpan);
-	COleDateTimeSpan operator-() const;
-
-	operator double() const;
-
-	void SetDateTimeSpan(long lDays, int nHours, int nMins, int nSecs);
-
-	// formatting
-	CString Format(LPCTSTR pFormat) const;
-	CString Format(UINT nID) const;
-
-// Implementation
-public:
-	void CheckRange();
-	friend COleDateTime;
-};
-
-// COleDateTimeSpan diagnostics and serialization
-#ifdef MFC_DEBUG
-CDumpContext& AFXAPI operator<<(CDumpContext& dc,COleDateTimeSpan dateSpanSrc);
-#endif
-CArchive& AFXAPI operator<<(CArchive& ar, COleDateTimeSpan dateSpanSrc);
-CArchive& AFXAPI operator>>(CArchive& ar, COleDateTimeSpan& dateSpanSrc);
-
-/////////////////////////////////////////////////////////////////////////////
-// Helper for initializing COleSafeArray
-void AFXAPI AfxSafeArrayInit(COleSafeArray* psa);
-
-/////////////////////////////////////////////////////////////////////////////
-// CSafeArray class
-
-typedef const SAFEARRAY* LPCSAFEARRAY;
-
-class COleSafeArray : public tagVARIANT
-{
-//Constructors
-public:
-	COleSafeArray();
-	COleSafeArray(const SAFEARRAY& saSrc, VARTYPE vtSrc);
-	COleSafeArray(LPCSAFEARRAY pSrc, VARTYPE vtSrc);
-	COleSafeArray(const COleSafeArray& saSrc);
-	COleSafeArray(const VARIANT& varSrc);
-	COleSafeArray(LPCVARIANT pSrc);
-	COleSafeArray(const COleVariant& varSrc);
-
-// Operations
-public:
-	void Clear();
-	void Attach(VARIANT& varSrc);
-	VARIANT Detach();
-
-	COleSafeArray& operator=(const COleSafeArray& saSrc);
-	COleSafeArray& operator=(const VARIANT& varSrc);
-	COleSafeArray& operator=(LPCVARIANT pSrc);
-	COleSafeArray& operator=(const COleVariant& varSrc);
-
-	BOOL operator==(const SAFEARRAY& saSrc) const;
-	BOOL operator==(LPCSAFEARRAY pSrc) const;
-	BOOL operator==(const COleSafeArray& saSrc) const;
-	BOOL operator==(const VARIANT& varSrc) const;
-	BOOL operator==(LPCVARIANT pSrc) const;
-	BOOL operator==(const COleVariant& varSrc) const;
-
-	operator LPVARIANT();
-	operator LPCVARIANT() const;
-
-	// One dim array helpers
-	void CreateOneDim(VARTYPE vtSrc, DWORD dwElements,
-		const void* pvSrcData = NULL, long nLBound = 0);
-	DWORD GetOneDimSize();
-	void ResizeOneDim(DWORD dwElements);
-
-	// Multi dim array helpers
-	void Create(VARTYPE vtSrc, DWORD dwDims, DWORD* rgElements);
-
-	// SafeArray wrapper classes
-	void Create(VARTYPE vtSrc, DWORD dwDims, SAFEARRAYBOUND* rgsabounds);
-	void AccessData(void** ppvData);
-	void UnaccessData();
-	void AllocData();
-	void AllocDescriptor(DWORD dwDims);
-	void Copy(LPSAFEARRAY* ppsa);
-	void GetLBound(DWORD dwDim, long* pLBound);
-	void GetUBound(DWORD dwDim, long* pUBound);
-	void GetElement(long* rgIndices, void* pvData);
-	void PtrOfIndex(long* rgIndices, void** ppvData);
-	void PutElement(long* rgIndices, void* pvData);
-	void Redim(SAFEARRAYBOUND* psaboundNew);
-	void Lock();
-	void Unlock();
-	DWORD GetDim();
-	DWORD GetElemSize();
-	void Destroy();
-	void DestroyData();
-	void DestroyDescriptor();
-
-//Implementation
-public:
-	~COleSafeArray();
-
-	// Cache info to make element access (operator []) faster
-	DWORD m_dwElementSize;
-	DWORD m_dwDims;
-};
-
-// COleSafeArray diagnostics and serialization
-#ifdef MFC_DEBUG
-CDumpContext& AFXAPI operator<<(CDumpContext& dc, COleSafeArray& saSrc);
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// DDX_ functions for OLE controls on dialogs
-
-#ifndef _AFX_NO_OCC_SUPPORT
-
-void AFXAPI DDX_OCText(CDataExchange* pDX, int nIDC, DISPID dispid,
-	CString& value);
-void AFXAPI DDX_OCTextRO(CDataExchange* pDX, int nIDC, DISPID dispid,
-	CString& value);
-void AFXAPI DDX_OCBool(CDataExchange* pDX, int nIDC, DISPID dispid,
-	BOOL& value);
-void AFXAPI DDX_OCBoolRO(CDataExchange* pDX, int nIDC, DISPID dispid,
-	BOOL& value);
-void AFXAPI DDX_OCInt(CDataExchange* pDX, int nIDC, DISPID dispid,
-	int &value);
-void AFXAPI DDX_OCIntRO(CDataExchange* pDX, int nIDC, DISPID dispid,
-	int &value);
-void AFXAPI DDX_OCInt(CDataExchange* pDX, int nIDC, DISPID dispid,
-	long &value);
-void AFXAPI DDX_OCIntRO(CDataExchange* pDX, int nIDC, DISPID dispid,
-	long &value);
-void AFXAPI DDX_OCShort(CDataExchange* pDX, int nIDC, DISPID dispid,
-	short& value);
-void AFXAPI DDX_OCShortRO(CDataExchange* pDX, int nIDC, DISPID dispid,
-	short& value);
-void AFXAPI DDX_OCColor(CDataExchange* pDX, int nIDC, DISPID dispid,
-	OLE_COLOR& value);
-void AFXAPI DDX_OCColorRO(CDataExchange* pDX, int nIDC, DISPID dispid,
-	OLE_COLOR& value);
-void AFXAPI DDX_OCFloat(CDataExchange* pDX, int nIDC, DISPID dispid,
-	float& value);
-void AFXAPI DDX_OCFloatRO(CDataExchange* pDX, int nIDC, DISPID dispid,
-	float& value);
-void AFXAPI DDX_OCFloat(CDataExchange* pDX, int nIDC, DISPID dispid,
-	double& value);
-void AFXAPI DDX_OCFloatRO(CDataExchange* pDX, int nIDC, DISPID dispid,
-	double& value);
-
-#endif // !_AFX_NO_OCC_SUPPORT
-
-/////////////////////////////////////////////////////////////////////////////
-// Function to enable containment of OLE controls
-
-#ifndef _AFX_NO_OCC_SUPPORT
-void AFX_CDECL AfxEnableControlContainer(COccManager* pOccManager=NULL);
-#else
-#define AfxEnableControlContainer()
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// Inline function declarations
-
-#ifdef _AFX_PACKING
-#pragma pack(pop)
-#endif
-
-#ifdef _AFX_ENABLE_INLINES
-#define _AFXDISP_INLINE AFX_INLINE
-#include <afxole.inl>
-#undef _AFXDISP_INLINE
-#endif
-
-#undef AFX_DATA
-#define AFX_DATA
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, on)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, off)
-#endif
-
-#endif //__AFXDISP_H__
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 785
libs/mfc/include/afxdlgs.h

@@ -1,785 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXDLGS_H__
-#define __AFXDLGS_H__
-
-#ifndef __AFXWIN_H__
-	#include <afxwin.h>
-#endif
-
-#ifndef _INC_COMMDLG
-	#include <commdlg.h>    // common dialog APIs
-#endif
-
-// Avoid mapping GetFileTitle to GetFileTitle[A/W]
-#ifdef GetFileTitle
-#undef GetFileTitle
-AFX_INLINE short APIENTRY GetFileTitle(LPCTSTR lpszFile, LPTSTR lpszTitle, WORD cbBuf)
-#ifdef UNICODE
-	{ return ::GetFileTitleW(lpszFile, lpszTitle, cbBuf); }
-#else
-	{ return ::GetFileTitleA(lpszFile, lpszTitle, cbBuf); }
-#endif
-#endif
-
-#ifndef _AFX_NO_RICHEDIT_SUPPORT
-	#ifndef _RICHEDIT_
-		#include <richedit.h>
-	#endif
-#endif
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, off)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, on)
-#endif
-
-#ifndef _AFX_NOFORCE_LIBS
-
-/////////////////////////////////////////////////////////////////////////////
-// Win32 libraries
-
-#endif //!_AFX_NOFORCE_LIBS
-
-/////////////////////////////////////////////////////////////////////////////
-
-#ifdef _AFX_PACKING
-#pragma pack(push, _AFX_PACKING)
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// AFXDLGS - MFC Standard dialogs
-
-// Classes declared in this file
-
-	// CDialog
-		class CCommonDialog;  // implementation base class
-
-			// modeless dialogs
-			class CFindReplaceDialog; // Find/FindReplace dialog
-
-			// modal dialogs
-			class CFileDialog;    // FileOpen/FileSaveAs dialogs
-			class CColorDialog;   // Color picker dialog
-			class CFontDialog;    // Font chooser dialog
-			class CPrintDialog;   // Print/PrintSetup dialogs
-			class CPageSetupDialog; // Page Setup dialog
-
-	// CWnd
-	class CPropertySheet;     // implements tabbed dialogs
-		class CPropertySheetEx;
-
-	// CDialog
-		class CPropertyPage;  // Used with CPropertySheet for tabbed dialogs
-			class CPropertyPageEx;
-
-/////////////////////////////////////////////////////////////////////////////
-
-#undef AFX_DATA
-#define AFX_DATA AFX_CORE_DATA
-
-/////////////////////////////////////////////////////////////////////////////
-// CCommonDialog - base class for all common dialogs
-
-#ifdef _AFXDLL
-class CCommonDialog : public CDialog
-#else
-class AFX_NOVTABLE CCommonDialog : public CDialog
-#endif
-{
-public:
-	CCommonDialog(CWnd* pParentWnd);
-
-// Implementation
-protected:
-	virtual void OnOK();
-	virtual void OnCancel();
-
-	//{{AFX_MSG(CCommonDialog)
-	afx_msg BOOL OnHelpInfo(HELPINFO*);
-	//}}AFX_MSG
-	DECLARE_MESSAGE_MAP()
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CFileDialog - used for FileOpen... or FileSaveAs...
-
-class CFileDialog : public CCommonDialog
-{
-	DECLARE_DYNAMIC(CFileDialog)
-
-public:
-// Attributes
-	OPENFILENAME m_ofn; // open file parameter block
-
-// Constructors
-	CFileDialog(BOOL bOpenFileDialog, // TRUE for FileOpen, FALSE for FileSaveAs
-		LPCTSTR lpszDefExt = NULL,
-		LPCTSTR lpszFileName = NULL,
-		DWORD dwFlags = OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT,
-		LPCTSTR lpszFilter = NULL,
-		CWnd* pParentWnd = NULL);
-
-// Operations
-	virtual int DoModal();
-
-	// Helpers for parsing file name after successful return
-	// or during Overridable callbacks if OFN_EXPLORER is set
-	CString GetPathName() const;  // return full path and filename
-	CString GetFileName() const;  // return only filename
-	CString GetFileExt() const;   // return only ext
-	CString GetFileTitle() const; // return file title
-	BOOL GetReadOnlyPref() const; // return TRUE if readonly checked
-
-	// Enumerating multiple file selections
-	POSITION GetStartPosition() const;
-	CString GetNextPathName(POSITION& pos) const;
-
-	// Helpers for custom templates
-	void SetTemplate(UINT nWin3ID, UINT nWin4ID);
-	void SetTemplate(LPCTSTR lpWin3ID, LPCTSTR lpWin4ID);
-
-	// Other operations available while the dialog is visible
-	CString GetFolderPath() const; // return full path
-	void SetControlText(int nID, LPCSTR lpsz);
-	void HideControl(int nID);
-	void SetDefExt(LPCSTR lpsz);
-
-// Overridable callbacks
-protected:
-	friend UINT CALLBACK _AfxCommDlgProc(HWND, UINT, WPARAM, LPARAM);
-	virtual UINT OnShareViolation(LPCTSTR lpszPathName);
-	virtual BOOL OnFileNameOK();
-	virtual void OnLBSelChangedNotify(UINT nIDBox, UINT iCurSel, UINT nCode);
-
-	// only called back if OFN_EXPLORER is set
-	virtual void OnInitDone();
-	virtual void OnFileNameChange();
-	virtual void OnFolderChange();
-	virtual void OnTypeChange();
-
-// Implementation
-#ifdef MFC_DEBUG
-public:
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-protected:
-	BOOL m_bOpenFileDialog;       // TRUE for file open, FALSE for file save
-	CString m_strFilter;          // filter string
-						// separate fields with '|', terminate with '||\0'
-	TCHAR m_szFileTitle[64];       // contains file title after return
-	TCHAR m_szFileName[_MAX_PATH]; // contains full path name after return
-
-	OPENFILENAME*  m_pofnTemp;
-
-	virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CFontDialog - used to select a font
-
-class CFontDialog : public CCommonDialog
-{
-	DECLARE_DYNAMIC(CFontDialog)
-
-public:
-// Attributes
-	// font choosing parameter block
-	CHOOSEFONT m_cf;
-
-// Constructors
-	CFontDialog(LPLOGFONT lplfInitial = NULL,
-		DWORD dwFlags = CF_EFFECTS | CF_SCREENFONTS,
-		CDC* pdcPrinter = NULL,
-		CWnd* pParentWnd = NULL);
-#ifndef _AFX_NO_RICHEDIT_SUPPORT
-	CFontDialog(const CHARFORMAT& charformat,
-		DWORD dwFlags = CF_SCREENFONTS,
-		CDC* pdcPrinter = NULL,
-		CWnd* pParentWnd = NULL);
-#endif
-// Operations
-	virtual int DoModal();
-
-	// Get the selected font (works during DoModal displayed or after)
-	void GetCurrentFont(LPLOGFONT lplf);
-
-	// Helpers for parsing information after successful return
-	CString GetFaceName() const;  // return the face name of the font
-	CString GetStyleName() const; // return the style name of the font
-	int GetSize() const;          // return the pt size of the font
-	COLORREF GetColor() const;    // return the color of the font
-	int GetWeight() const;        // return the chosen font weight
-	BOOL IsStrikeOut() const;     // return TRUE if strikeout
-	BOOL IsUnderline() const;     // return TRUE if underline
-	BOOL IsBold() const;          // return TRUE if bold font
-	BOOL IsItalic() const;        // return TRUE if italic font
-#ifndef _AFX_NO_RICHEDIT_SUPPORT
-	void GetCharFormat(CHARFORMAT& cf) const;
-#endif
-
-// Implementation
-	LOGFONT m_lf; // default LOGFONT to store the info
-#ifndef _AFX_NO_RICHEDIT_SUPPORT
-	DWORD FillInLogFont(const CHARFORMAT& cf);
-#endif
-
-#ifdef MFC_DEBUG
-public:
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-protected:
-	TCHAR m_szStyleName[64]; // contains style name after return
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CColorDialog - used to select a color
-
-class CColorDialog : public CCommonDialog
-{
-	DECLARE_DYNAMIC(CColorDialog)
-
-public:
-// Attributes
-	// color chooser parameter block
-	CHOOSECOLOR m_cc;
-
-// Constructors
-	CColorDialog(COLORREF clrInit = 0, DWORD dwFlags = 0,
-			CWnd* pParentWnd = NULL);
-
-// Operations
-	virtual int DoModal();
-
-	// Set the current color while dialog is displayed
-	void SetCurrentColor(COLORREF clr);
-
-	// Helpers for parsing information after successful return
-	COLORREF GetColor() const;
-	static COLORREF* PASCAL GetSavedCustomColors();
-
-// Overridable callbacks
-protected:
-	friend UINT CALLBACK _AfxCommDlgProc(HWND, UINT, WPARAM, LPARAM);
-	virtual BOOL OnColorOK();       // validate color
-
-// Implementation
-
-#ifdef MFC_DEBUG
-public:
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-#ifndef _AFX_NO_GRAYDLG_SUPPORT
-protected:
-	//{{AFX_MSG(CColorDialog)
-	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
-	//}}AFX_MSG
-	DECLARE_MESSAGE_MAP()
-#endif //!_AFX_NO_GRAYDLG_SUPPORT
-};
-
-// for backward compatibility clrSavedCustom is defined as GetSavedCustomColors
-#define clrSavedCustom GetSavedCustomColors()
-
-/////////////////////////////////////////////////////////////////////////////
-// Page Setup dialog
-
-class CPageSetupDialog : public CCommonDialog
-{
-	DECLARE_DYNAMIC(CPageSetupDialog)
-
-public:
-// Attributes
-	PAGESETUPDLG m_psd;
-
-// Constructors
-	CPageSetupDialog(DWORD dwFlags = PSD_MARGINS | PSD_INWININIINTLMEASURE,
-		CWnd* pParentWnd = NULL);
-
-// Attributes
-	LPDEVMODE GetDevMode() const;   // return DEVMODE
-	CString GetDriverName() const;  // return driver name
-	CString GetDeviceName() const;  // return device name
-	CString GetPortName() const;    // return output port name
-	HDC CreatePrinterDC();
-	CSize GetPaperSize() const;
-	void GetMargins(LPRECT lpRectMargins, LPRECT lpRectMinMargins) const;
-
-// Operations
-	virtual int DoModal();
-
-// Overridables
-	virtual UINT PreDrawPage(WORD wPaper, WORD wFlags, LPPAGESETUPDLG pPSD);
-	virtual UINT OnDrawPage(CDC* pDC, UINT nMessage, LPRECT lpRect);
-
-// Implementation
-protected:
-	static UINT CALLBACK PaintHookProc(HWND hWnd, UINT message, WPARAM wParam,
-		LPARAM lParam);
-
-#ifdef MFC_DEBUG
-public:
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CPrintDialog - used for Print... and PrintSetup...
-
-class CPrintDialog : public CCommonDialog
-{
-	DECLARE_DYNAMIC(CPrintDialog)
-
-public:
-// Attributes
-	// print dialog parameter block (note this is a reference)
-	PRINTDLG& m_pd;
-
-// Constructors
-	CPrintDialog(BOOL bPrintSetupOnly,
-		// TRUE for Print Setup, FALSE for Print Dialog
-		DWORD dwFlags = PD_ALLPAGES | PD_USEDEVMODECOPIES | PD_NOPAGENUMS
-			| PD_HIDEPRINTTOFILE | PD_NOSELECTION,
-		CWnd* pParentWnd = NULL);
-
-// Operations
-	virtual int DoModal();
-
-	// GetDefaults will not display a dialog but will get
-	// device defaults
-	BOOL GetDefaults();
-
-	// Helpers for parsing information after successful return
-	int GetCopies() const;          // num. copies requested
-	BOOL PrintCollate() const;      // TRUE if collate checked
-	BOOL PrintSelection() const;    // TRUE if printing selection
-	BOOL PrintAll() const;          // TRUE if printing all pages
-	BOOL PrintRange() const;        // TRUE if printing page range
-	int GetFromPage() const;        // starting page if valid
-	int GetToPage() const;          // starting page if valid
-	LPDEVMODE GetDevMode() const;   // return DEVMODE
-	CString GetDriverName() const;  // return driver name
-	CString GetDeviceName() const;  // return device name
-	CString GetPortName() const;    // return output port name
-	HDC GetPrinterDC() const;       // return HDC (caller must delete)
-
-	// This helper creates a DC based on the DEVNAMES and DEVMODE structures.
-	// This DC is returned, but also stored in m_pd.hDC as though it had been
-	// returned by CommDlg.  It is assumed that any previously obtained DC
-	// has been/will be deleted by the user.  This may be
-	// used without ever invoking the print/print setup dialogs.
-
-	HDC CreatePrinterDC();
-
-// Implementation
-
-#ifdef MFC_DEBUG
-public:
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-private:
-	PRINTDLG m_pdActual; // the Print/Print Setup need to share this
-protected:
-	// The following handle the case of print setup... from the print dialog
-	CPrintDialog(PRINTDLG& pdInit);
-	virtual CPrintDialog* AttachOnSetup();
-
-	//{{AFX_MSG(CPrintDialog)
-	afx_msg void OnPrintSetup();
-	//}}AFX_MSG
-	DECLARE_MESSAGE_MAP()
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// Find/FindReplace modeless dialogs
-
-class CFindReplaceDialog : public CCommonDialog
-{
-	DECLARE_DYNAMIC(CFindReplaceDialog)
-
-public:
-// Attributes
-	FINDREPLACE m_fr;
-
-// Constructors
-	CFindReplaceDialog();
-	// Note: you must allocate these on the heap.
-	//  If you do not, you must derive and override PostNcDestroy()
-
-	BOOL Create(BOOL bFindDialogOnly, // TRUE for Find, FALSE for FindReplace
-			LPCTSTR lpszFindWhat,
-			LPCTSTR lpszReplaceWith = NULL,
-			DWORD dwFlags = FR_DOWN,
-			CWnd* pParentWnd = NULL);
-
-	// find/replace parameter block
-	static CFindReplaceDialog* PASCAL GetNotifier(LPARAM lParam);
-
-// Operations
-	// Helpers for parsing information after successful return
-	CString GetReplaceString() const;// get replacement string
-	CString GetFindString() const;   // get find string
-	BOOL SearchDown() const;         // TRUE if search down, FALSE is up
-	BOOL FindNext() const;           // TRUE if command is find next
-	BOOL MatchCase() const;          // TRUE if matching case
-	BOOL MatchWholeWord() const;     // TRUE if matching whole words only
-	BOOL ReplaceCurrent() const;     // TRUE if replacing current string
-	BOOL ReplaceAll() const;         // TRUE if replacing all occurrences
-	BOOL IsTerminating() const;      // TRUE if terminating dialog
-
-// Implementation
-protected:
-	virtual void PostNcDestroy();
-
-#ifdef MFC_DEBUG
-public:
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-protected:
-	TCHAR m_szFindWhat[128];
-	TCHAR m_szReplaceWith[128];
-};
-
-////////////////////////////////////////////////////////////////////////////
-// CPropertyPage -- one page of a tabbed dialog
-
-// MFC needs to use the original Win95 version of the PROPSHEETPAGE structure.
-
-typedef struct _AFX_OLDPROPSHEETPAGE {
-		DWORD           dwSize;
-		DWORD           dwFlags;
-		HINSTANCE       hInstance;
-		union {
-			LPCTSTR          pszTemplate;
-#ifdef _WIN32
-			LPCDLGTEMPLATE  pResource;
-#else
-			const VOID FAR *pResource;
-#endif
-		} DUMMYUNIONNAME;
-		union {
-			HICON       hIcon;
-			LPCSTR      pszIcon;
-		} DUMMYUNIONNAME2;
-		LPCTSTR          pszTitle;
-		DLGPROC         pfnDlgProc;
-		LPARAM          lParam;
-		LPFNPSPCALLBACK pfnCallback;
-		UINT FAR * pcRefParent;
-} AFX_OLDPROPSHEETPAGE;
-
-// same goes for PROPSHEETHEADER
-
-typedef struct _AFX_OLDPROPSHEETHEADER {
-		DWORD           dwSize;
-		DWORD           dwFlags;
-		HWND            hwndParent;
-		HINSTANCE       hInstance;
-		union {
-			HICON       hIcon;
-			LPCTSTR     pszIcon;
-		}DUMMYUNIONNAME;
-		LPCTSTR         pszCaption;
-
-		UINT            nPages;
-		union {
-			UINT        nStartPage;
-			LPCTSTR     pStartPage;
-		}DUMMYUNIONNAME2;
-		union {
-			LPCPROPSHEETPAGE ppsp;
-			HPROPSHEETPAGE FAR *phpage;
-		}DUMMYUNIONNAME3;
-		PFNPROPSHEETCALLBACK pfnCallback;
-} AFX_OLDPROPSHEETHEADER;
-
-class CPropertyPage : public CDialog
-{
-	DECLARE_DYNAMIC(CPropertyPage)
-
-// Construction
-public:
-	CPropertyPage();
-	CPropertyPage(UINT nIDTemplate, UINT nIDCaption = 0);
-	CPropertyPage(LPCTSTR lpszTemplateName, UINT nIDCaption = 0);
-	void Construct(UINT nIDTemplate, UINT nIDCaption = 0);
-	void Construct(LPCTSTR lpszTemplateName, UINT nIDCaption = 0);
-
-// Attributes
-	AFX_OLDPROPSHEETPAGE   m_psp;
-
-// Operations
-	void CancelToClose();
-	void SetModified(BOOL bChanged = TRUE);
-	LRESULT QuerySiblings(WPARAM wParam, LPARAM lParam);
-
-// Overridables
-public:
-	virtual BOOL OnApply();
-	virtual void OnReset();
-	virtual void OnOK();
-	virtual void OnCancel();
-	virtual BOOL OnSetActive();
-	virtual BOOL OnKillActive();
-	virtual BOOL OnQueryCancel();
-
-	virtual LRESULT OnWizardBack();
-	virtual LRESULT OnWizardNext();
-	virtual BOOL OnWizardFinish();
-
-// Implementation
-public:
-	virtual ~CPropertyPage();
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-	void EndDialog(int nEndID); // called for error scenarios
-
-protected:
-	// private implementation data
-	CString m_strCaption;
-	BOOL m_bFirstSetActive;
-
-	// implementation helpers
-	void CommonConstruct(LPCTSTR lpszTemplateName, UINT nIDCaption);
-	virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
-	virtual BOOL PreTranslateMessage(MSG*);
-	LRESULT MapWizardResult(LRESULT lToMap);
-	BOOL IsButtonEnabled(int iButton);
-
-	void PreProcessPageTemplate(PROPSHEETPAGE& psp, BOOL bWizard);
-#ifndef _AFX_NO_OCC_SUPPORT
-	void Cleanup();
-	const DLGTEMPLATE* InitDialogInfo(const DLGTEMPLATE* pTemplate);
-#endif
-
-	// Generated message map functions
-	//{{AFX_MSG(CPropertyPage)
-	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
-	//}}AFX_MSG
-	DECLARE_MESSAGE_MAP()
-
-	friend class CPropertySheet;
-	friend class CPropertySheetEx;
-};
-
-class CPropertyPageEx : public CPropertyPage
-{
-	DECLARE_DYNAMIC(CPropertyPageEx)
-
-// Construction
-public:
-	CPropertyPageEx();
-	CPropertyPageEx(UINT nIDTemplate, UINT nIDCaption = 0,
-		UINT nIDHeaderTitle = 0, UINT nIDHeaderSubTitle = 0);
-	CPropertyPageEx(LPCTSTR lpszTemplateName, UINT nIDCaption = 0,
-		UINT nIDHeaderTitle = 0, UINT nIDHeaderSubTitle = 0);
-	void Construct(UINT nIDTemplate, UINT nIDCaption = 0,
-		UINT nIDHeaderTitle = 0, UINT nIDHeaderSubTitle = 0);
-	void Construct(LPCTSTR lpszTemplateName, UINT nIDCaption = 0,
-		UINT nIDHeaderTitle = 0, UINT nIDHeaderSubTitle = 0);
-
-// Implementation
-public:
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-protected:
-	// private implementation data
-	CString m_strHeaderTitle;    // this is displayed in the header
-	CString m_strHeaderSubTitle; //
-
-	// implementation helpers
-	void CommonConstruct(LPCTSTR lpszTemplateName, UINT nIDCaption,
-		UINT nIDHeaderTitle, UINT nIDHeaderSubTitle);
-
-	friend class CPropertySheet;
-	friend class CPropertySheetEx;
-};
-
-////////////////////////////////////////////////////////////////////////////
-// CPropertySheet -- a tabbed "dialog" (really a popup-window)
-
-class CTabCtrl; // forward reference (see afxcmn.h)
-
-class CPropertySheet : public CWnd
-{
-	DECLARE_DYNAMIC(CPropertySheet)
-
-// Construction
-public:
-	CPropertySheet();
-	CPropertySheet(UINT nIDCaption, CWnd* pParentWnd = NULL,
-		UINT iSelectPage = 0);
-	CPropertySheet(LPCTSTR pszCaption, CWnd* pParentWnd = NULL,
-		UINT iSelectPage = 0);
-	void Construct(UINT nIDCaption, CWnd* pParentWnd = NULL,
-		UINT iSelectPage = 0);
-	void Construct(LPCTSTR pszCaption, CWnd* pParentWnd = NULL,
-		UINT iSelectPage = 0);
-
-	// for modeless creation
-	BOOL Create(CWnd* pParentWnd = NULL, DWORD dwStyle = (DWORD)-1,
-		DWORD dwExStyle = 0);
-	// the default style, expressed by passing -1 as dwStyle, is actually:
-	// WS_SYSMENU | WS_POPUP | WS_CAPTION | DS_MODALFRAME | DS_CONTEXT_HELP | WS_VISIBLE
-
-// Attributes
-public:
-	AFX_OLDPROPSHEETHEADER m_psh;
-
-	int GetPageCount() const;
-	CPropertyPage* GetActivePage() const;
-	int GetActiveIndex() const;
-	CPropertyPage* GetPage(int nPage) const;
-	int GetPageIndex(CPropertyPage* pPage);
-	BOOL SetActivePage(int nPage);
-	BOOL SetActivePage(CPropertyPage* pPage);
-	void SetTitle(LPCTSTR lpszText, UINT nStyle = 0);
-	CTabCtrl* GetTabControl() const;
-
-	void SetWizardMode();
-	void SetFinishText(LPCTSTR lpszText);
-	void SetWizardButtons(DWORD dwFlags);
-
-	void EnableStackedTabs(BOOL bStacked);
-
-// Operations
-public:
-	virtual int DoModal();
-	void AddPage(CPropertyPage* pPage);
-	void RemovePage(CPropertyPage* pPage);
-	void RemovePage(int nPage);
-	void EndDialog(int nEndID); // used to terminate a modal dialog
-	BOOL PressButton(int nButton);
-
-// Implementation
-public:
-	virtual ~CPropertySheet();
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-	void CommonConstruct(CWnd* pParentWnd, UINT iSelectPage);
-	virtual BOOL PreTranslateMessage(MSG* pMsg);
-	virtual void BuildPropPageArray();
-	virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
-	virtual BOOL OnInitDialog();
-	virtual BOOL ContinueModal();
-	virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra,
-		AFX_CMDHANDLERINFO* pHandlerInfo);
-	AFX_OLDPROPSHEETHEADER* GetPropSheetHeader();   // should be virtual, but can't break binary compat yet
-	BOOL IsWizard() const;
-
-protected:
-	CPtrArray m_pages;      // array of CPropertyPage pointers
-	CString m_strCaption;   // caption of the pseudo-dialog
-	CWnd* m_pParentWnd;     // parent window of property sheet
-	BOOL m_bStacked;        // EnableStackedTabs sets this
-	BOOL m_bModeless;       // TRUE when Create called instead of DoModal
-
-	// Generated message map functions
-	//{{AFX_MSG(CPropertySheet)
-	afx_msg BOOL OnNcCreate(LPCREATESTRUCT);
-	afx_msg LRESULT HandleInitDialog(WPARAM, LPARAM);
-	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
-	afx_msg LRESULT OnCommandHelp(WPARAM, LPARAM);
-	afx_msg void OnClose();
-	afx_msg void OnSysCommand(UINT nID, LPARAM);
-	afx_msg LRESULT OnSetDefID(WPARAM, LPARAM);
-	//}}AFX_MSG
-	DECLARE_MESSAGE_MAP()
-
-	friend class CPropertyPage;
-};
-
-////////////////////////////////////////////////////////////////////////////
-// CPropertySheetEx -- a tabbed "dialog" (really a popup-window), extended
-//                     for IE4
-
-class CPropertySheetEx : public CPropertySheet
-{
-	DECLARE_DYNAMIC(CPropertySheetEx)
-
-// Construction
-public:
-	CPropertySheetEx();
-	CPropertySheetEx(UINT nIDCaption, CWnd* pParentWnd = NULL,
-		UINT iSelectPage = 0, HBITMAP hbmWatermark = NULL,
-		HPALETTE hpalWatermark = NULL, HBITMAP hbmHeader = NULL);
-	CPropertySheetEx(LPCTSTR pszCaption, CWnd* pParentWnd = NULL,
-		UINT iSelectPage = 0, HBITMAP hbmWatermark = NULL,
-		HPALETTE hpalWatermark = NULL, HBITMAP hbmHeader = NULL);
-	void Construct(UINT nIDCaption, CWnd* pParentWnd = NULL,
-		UINT iSelectPage = 0, HBITMAP hbmWatermark = NULL,
-		HPALETTE hpalWatermark = NULL, HBITMAP hbmHeader = NULL);
-	void Construct(LPCTSTR pszCaption, CWnd* pParentWnd = NULL,
-		UINT iSelectPage = 0, HBITMAP hbmWatermark = NULL,
-		HPALETTE hpalWatermark = NULL, HBITMAP hbmHeader = NULL);
-
-// Attributes
-public:
-	PROPSHEETHEADER m_psh;
-
-// Operations
-public:
-	void AddPage(CPropertyPageEx* pPage);
-
-// Implementation
-public:
-	virtual ~CPropertySheetEx();
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-	void CommonConstruct(CWnd* pParentWnd, UINT iSelectPage,
-		HBITMAP hbmWatermark, HPALETTE hpalWatermark, HBITMAP hbmHeader);
-	virtual void BuildPropPageArray();
-	void SetWizardMode();
-
-	friend class CPropertyPage;
-	friend class CPropertyPageEx;
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// Inline function declarations
-
-#ifdef _AFX_PACKING
-#pragma pack(pop)
-#endif
-
-#ifdef _AFX_ENABLE_INLINES
-#define _AFXDLGS_INLINE AFX_INLINE
-#include <afxdlgs.inl>
-#endif
-
-#undef AFX_DATA
-#define AFX_DATA
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, on)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, off)
-#endif
-
-#endif //__AFXDLGS_H__
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 116
libs/mfc/include/afxdlgs.inl

@@ -1,116 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-// Inlines for AFXDLGS.H
-
-#ifdef _AFXDLGS_INLINE
-
-// CCommonDialog
-_AFXDLGS_INLINE CCommonDialog::CCommonDialog(CWnd* pParentWnd)
-	: CDialog((UINT)0, pParentWnd) { }
-
-// CFileDialog
-_AFXDLGS_INLINE BOOL CFileDialog::GetReadOnlyPref() const
-	{ return m_ofn.Flags & OFN_READONLY ? TRUE : FALSE; }
-_AFXDLGS_INLINE void CFileDialog::SetTemplate(UINT nWin3ID, UINT nWin4ID)
-	{ SetTemplate(MAKEINTRESOURCE(nWin3ID), MAKEINTRESOURCE(nWin4ID)); }
-_AFXDLGS_INLINE POSITION CFileDialog::GetStartPosition() const
-	{ return (POSITION)m_ofn.lpstrFile; }
-
-// CFontDialog
-_AFXDLGS_INLINE CString CFontDialog::GetFaceName() const
-	{ return (LPCTSTR)m_cf.lpLogFont->lfFaceName; }
-_AFXDLGS_INLINE CString CFontDialog::GetStyleName() const
-	{ return m_cf.lpszStyle; }
-_AFXDLGS_INLINE int CFontDialog::GetSize() const
-	{ return m_cf.iPointSize; }
-_AFXDLGS_INLINE int CFontDialog::GetWeight() const
-	{ return (int)m_cf.lpLogFont->lfWeight; }
-_AFXDLGS_INLINE BOOL CFontDialog::IsItalic() const
-	{ return m_cf.lpLogFont->lfItalic ? TRUE : FALSE; }
-_AFXDLGS_INLINE BOOL CFontDialog::IsStrikeOut() const
-	{ return m_cf.lpLogFont->lfStrikeOut ? TRUE : FALSE; }
-_AFXDLGS_INLINE BOOL CFontDialog::IsBold() const
-	{ return m_cf.lpLogFont->lfWeight == FW_BOLD ? TRUE : FALSE; }
-_AFXDLGS_INLINE BOOL CFontDialog::IsUnderline() const
-	{ return m_cf.lpLogFont->lfUnderline ? TRUE : FALSE; }
-_AFXDLGS_INLINE COLORREF CFontDialog::GetColor() const
-	{ return m_cf.rgbColors; }
-
-// CColorDialog
-_AFXDLGS_INLINE COLORREF CColorDialog::GetColor() const
-	{ return m_cc.rgbResult; }
-
-// CPrintDialog
-_AFXDLGS_INLINE BOOL CPrintDialog::PrintSelection() const
-	{ return m_pd.Flags & PD_SELECTION ? TRUE : FALSE; }
-_AFXDLGS_INLINE BOOL CPrintDialog::PrintRange() const
-	{ return m_pd.Flags & PD_PAGENUMS ? TRUE : FALSE; }
-_AFXDLGS_INLINE BOOL CPrintDialog::PrintAll() const
-	{ return !PrintRange() && !PrintSelection() ? TRUE : FALSE; }
-_AFXDLGS_INLINE BOOL CPrintDialog::PrintCollate() const
-	{ return m_pd.Flags & PD_COLLATE ? TRUE : FALSE; }
-_AFXDLGS_INLINE int CPrintDialog::GetFromPage() const
-	{ return (PrintRange() ? m_pd.nFromPage :-1); }
-_AFXDLGS_INLINE int CPrintDialog::GetToPage() const
-	{ return (PrintRange() ? m_pd.nToPage :-1); }
-_AFXDLGS_INLINE HDC CPrintDialog::GetPrinterDC() const
-	{ ASSERT_VALID(this);
-		ASSERT(m_pd.Flags & PD_RETURNDC);
-		return m_pd.hDC; }
-
-// CFindReplaceDialog
-_AFXDLGS_INLINE BOOL CFindReplaceDialog::IsTerminating() const
-	{ return m_fr.Flags & FR_DIALOGTERM ? TRUE : FALSE ; }
-_AFXDLGS_INLINE CString CFindReplaceDialog::GetReplaceString() const
-	{ return m_fr.lpstrReplaceWith; }
-_AFXDLGS_INLINE CString CFindReplaceDialog::GetFindString() const
-	{ return m_fr.lpstrFindWhat; }
-_AFXDLGS_INLINE BOOL CFindReplaceDialog::SearchDown() const
-	{ return m_fr.Flags & FR_DOWN ? TRUE : FALSE; }
-_AFXDLGS_INLINE BOOL CFindReplaceDialog::FindNext() const
-	{ return m_fr.Flags & FR_FINDNEXT ? TRUE : FALSE; }
-_AFXDLGS_INLINE BOOL CFindReplaceDialog::MatchCase() const
-	{ return m_fr.Flags & FR_MATCHCASE ? TRUE : FALSE; }
-_AFXDLGS_INLINE BOOL CFindReplaceDialog::MatchWholeWord() const
-	{ return m_fr.Flags & FR_WHOLEWORD ? TRUE : FALSE; }
-_AFXDLGS_INLINE BOOL CFindReplaceDialog::ReplaceCurrent() const
-	{ return m_fr. Flags & FR_REPLACE ? TRUE : FALSE; }
-_AFXDLGS_INLINE BOOL CFindReplaceDialog::ReplaceAll() const
-	{ return m_fr.Flags & FR_REPLACEALL ? TRUE : FALSE; }
-
-// CPropertySheet
-_AFXDLGS_INLINE CPropertyPage* CPropertySheet::GetPage(int nPage) const
-	{ return STATIC_DOWNCAST(CPropertyPage, (CObject*)m_pages[nPage]); }
-_AFXDLGS_INLINE void CPropertySheet::SetWizardMode()
-	{ m_psh.dwFlags |= PSH_WIZARD; }
-_AFXDLGS_INLINE void CPropertySheet::SetFinishText(LPCTSTR lpszText)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, PSM_SETFINISHTEXT, 0, (LPARAM)lpszText); }
-_AFXDLGS_INLINE void CPropertySheet::SetWizardButtons(DWORD dwFlags)
-	{ ASSERT(::IsWindow(m_hWnd)); ::PostMessage(m_hWnd, PSM_SETWIZBUTTONS, 0, dwFlags); }
-_AFXDLGS_INLINE CTabCtrl* CPropertySheet::GetTabControl() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (CTabCtrl*)CWnd::FromHandle(
-		(HWND)::SendMessage(m_hWnd, PSM_GETTABCONTROL, 0, 0)); }
-_AFXDLGS_INLINE BOOL CPropertySheet::PressButton(int nButton)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL)::SendMessage(m_hWnd, PSM_PRESSBUTTON, nButton, 0); }
-_AFXDLGS_INLINE BOOL CPropertySheet::IsWizard() const
-		{ return ((((CPropertySheet*)this)->GetPropSheetHeader()->dwFlags & (PSH_WIZARD | PSH_WIZARD97)) != 0); }
-
-// CPropertySheetEx
-_AFXDLGS_INLINE void CPropertySheetEx::SetWizardMode()
-	{ m_psh.dwFlags |= PSH_WIZARD; }
-
-// CPageSetupDialog
-_AFXDLGS_INLINE CSize CPageSetupDialog::GetPaperSize() const
-	{ return CSize(m_psd.ptPaperSize.x, m_psd.ptPaperSize.y); }
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //_AFXDLGS_INLINE

+ 0 - 106
libs/mfc/include/afxdll_.h

@@ -1,106 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-// afxdll_.h - extensions to AFXWIN.H used for the 'AFXDLL' version
-// This file contains MFC library implementation details as well
-//   as APIs for writing MFC Extension DLLs.
-// Please refer to Technical Note 033 (TN033) for more details.
-
-/////////////////////////////////////////////////////////////////////////////
-
-#ifndef _AFXDLL
-	#error file must be compiled with _AFXDLL
-#endif
-
-#ifdef _AFX_PACKING
-#pragma pack(push, _AFX_PACKING)
-#endif
-
-#undef AFX_DATA
-#define AFX_DATA AFX_CORE_DATA
-
-/////////////////////////////////////////////////////////////////////////////
-
-// AFX_EXTENSION_MODULE - special struct used during DLL initialization
-
-struct AFX_EXTENSION_MODULE
-{
-	BOOL bInitialized;
-	HMODULE hModule;
-	HMODULE hResource;
-	CRuntimeClass* pFirstSharedClass;
-	COleObjectFactory* pFirstSharedFactory;
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CDynLinkLibrary - for implementation of MFC Extension DLLs
-
-class COleObjectFactory;
-
-class CDynLinkLibrary : public CCmdTarget
-{
-	DECLARE_DYNAMIC(CDynLinkLibrary)
-public:
-
-// Constructor
-	CDynLinkLibrary(AFX_EXTENSION_MODULE& state, BOOL bSystem = FALSE);
-	CDynLinkLibrary(HINSTANCE hModule, HINSTANCE hResource);
-
-// Attributes
-	HMODULE m_hModule;
-	HMODULE m_hResource;                // for shared resources
-	CTypedSimpleList<CRuntimeClass*> m_classList;
-#ifndef _AFX_NO_OLE_SUPPORT
-	CTypedSimpleList<COleObjectFactory*> m_factoryList;
-#endif
-	BOOL m_bSystem;                     // TRUE only for MFC DLLs
-
-// Implementation
-public:
-	CDynLinkLibrary* m_pNextDLL;        // simple singly linked list
-	virtual ~CDynLinkLibrary();
-
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif //MFC_DEBUG
-};
-
-// call in every DLL_PROCESS_ATTACH
-BOOL AFXAPI AfxInitExtensionModule(AFX_EXTENSION_MODULE&, HMODULE hMod);
-// call on every DLL_PROCESS_DETACH
-void AFXAPI AfxTermExtensionModule(AFX_EXTENSION_MODULE&, BOOL bAll = FALSE);
-
-// special function(s) for stand-alone DLLs (and controls)
-void AFXAPI AfxCoreInitModule();
-#if defined(MFC_DEBUG) && !defined(_AFX_MONOLITHIC)
-void AFXAPI AfxOleInitModule();
-void AFXAPI AfxNetInitModule();
-void AFXAPI AfxDbInitModule();
-#else
-#define AfxOleInitModule()
-#define AfxNetInitModule()
-#define AfxDbInitModule()
-#endif
-
-// special functions for loading and freeing MFC extension DLLs
-// (necessary if your app is multithreaded and loads extension
-//  DLLs dynamically)
-HINSTANCE AFXAPI AfxLoadLibrary(LPCTSTR lpszModuleName);
-BOOL AFXAPI AfxFreeLibrary(HINSTANCE hInstLib);
-
-#undef AFX_DATA
-#define AFX_DATA
-
-#ifdef _AFX_PACKING
-#pragma pack(pop)
-#endif
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 68
libs/mfc/include/afxdllx.h

@@ -1,68 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-/////////////////////////////////////////////////////////////////////////////
-// AFXDLLX.H: Extra header for building an MFC Extension DLL
-//
-// This file is really a source file that you should include in the
-// main source file of your DLL.  It must only be included once, and
-// not multiple times (you will get linker errors if it is included
-// multiple times).  If you do not use _AFXEXT, it is not required
-// but you may want the feature it provides.
-//
-// Previous versions of 32-bit MFC did not require this file.  This version
-// requires this file to support dynamic loading of extension DLLs.  In
-// other words, if your application does LoadLibrary on any extension
-// DLL (instead of binding to the DLL at link time), this file is
-// required.
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, off)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, on)
-#endif
-
-// The following symbol used to force inclusion of this module for _AFXEXT
-#if defined(_X86_)
-extern "C" { int _afxForceEXTDLL; }
-#else
-extern "C" { int __afxForceEXTDLL; }
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// RawDllMain that saves current app class list and factory list
-
-extern "C" BOOL WINAPI ExtRawDllMain(HINSTANCE, DWORD dwReason, LPVOID);
-extern "C" BOOL (WINAPI* _pRawDllMain)(HINSTANCE, DWORD, LPVOID) = &ExtRawDllMain;
-
-extern "C"
-BOOL WINAPI ExtRawDllMain(HINSTANCE, DWORD dwReason, LPVOID)
-{
-	if (dwReason == DLL_PROCESS_ATTACH)
-	{
-		// save critical data pointers before running the constructors
-		AFX_MODULE_STATE* pModuleState = AfxGetModuleState();
-		pModuleState->m_pClassInit = pModuleState->m_classList;
-		pModuleState->m_pFactoryInit = pModuleState->m_factoryList;
-		pModuleState->m_classList.m_pHead = NULL;
-		pModuleState->m_factoryList.m_pHead = NULL;
-	}
-	return TRUE;    // ok
-}
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, on)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, off)
-#endif
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 395
libs/mfc/include/afxdocob.h

@@ -1,395 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1996-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXDOCOB_H__
-#define __AFXDOCOB_H__
-
-//WINBUG: these error codes are needed by MFC's IPrint implementation
-// but aren't available in the SDK headers.  Someday, these #define's
-// can be removed.
-
-#ifndef PRINT_E_CANCELLED
-#define PRINT_E_CANCELLED 0x80040160L
-#endif
-#ifndef PRINT_E_NOSUCHPAGE
-#define PRINT_E_NOSUCHPAGE 0x80040161L
-#endif
-
-#ifdef _AFX_NO_OLE_SUPPORT
-	#error OLE classes not supported in this library variant.
-#endif
-
-#ifndef __AFXOLE_H__
-	#include <afxole.h>
-#endif
-
-#ifndef __docobj_h__
-	#include <docobj.h>     // defines Document Object interfaces
-#endif
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, off)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, on)
-#endif
-
-#ifdef _AFX_PACKING
-#pragma pack(push, _AFX_PACKING)
-#endif
-
-// AFXDLL support
-#undef AFX_DATA
-#define AFX_DATA AFX_OLE_DATA
-
-
-/////////////////////////////////////////////////////////////////////////////
-// AFXDOCOB.H - MFC OLE Document Object support
-
-//CCmdUI
-class COleCmdUI;
-
-//CCmdTarg
-class CDocObjectServer;
-
-//COleIPFrameWnd
-class COleDocIPFrameWnd;
-
-
-/////////////////////////////////////////////////////////////////////////////
-// COleCmdUI
-
-class COleCmdUI : public CCmdUI
-{
-public:
-	COleCmdUI(OLECMD* rgCmds, ULONG cCmds, const GUID* m_pGroup);
-	virtual void Enable(BOOL bOn);
-	virtual void SetCheck(int nCheck);
-	virtual void SetText(LPCTSTR lpszText);
-	virtual BOOL DoUpdate(CCmdTarget* pTarget, BOOL bDisableIfNoHandler);
-	DWORD m_nCmdTextFlag;
-
-protected:
-	OLECMD* m_rgCmds;
-	const GUID* m_pguidCmdGroup;
-public:
-	CString m_strText;
-
-	friend class CCmdTarget;
-};
-
-
-#define ON_OLECMD(pguid, olecmdid, id) \
-	{ pguid, (ULONG)olecmdid, (UINT)id },
-
-#define ON_OLECMD_OPEN() \
-	ON_OLECMD(NULL, OLECMDID_OPEN, ID_FILE_OPEN)
-
-#define ON_OLECMD_NEW() \
-	ON_OLECMD(NULL, OLECMDID_NEW, ID_FILE_NEW)
-
-#define ON_OLECMD_SAVE() \
-	ON_OLECMD(NULL, OLECMDID_SAVE, ID_FILE_SAVE)
-
-#define ON_OLECMD_SAVE_AS() \
-	ON_OLECMD(NULL, OLECMDID_SAVEAS, ID_FILE_SAVE_AS)
-
-#define ON_OLECMD_SAVE_COPY_AS() \
-	ON_OLECMD(NULL, OLECMDID_SAVECOPYAS, ID_FILE_SAVE_COPY_AS)
-
-#define ON_OLECMD_PRINT() \
-	ON_OLECMD(NULL, OLECMDID_PRINT, ID_FILE_PRINT)
-
-#define ON_OLECMD_PRINTPREVIEW() \
-	ON_OLECMD(NULL, OLECMDID_PRINTPREVIEW, ID_FILE_PRINT_PREVIEW)
-
-#define ON_OLECMD_PAGESETUP() \
-	ON_OLECMD(NULL, OLECMDID_PAGESETUP, ID_FILE_PAGE_SETUP)
-
-#define ON_OLECMD_CUT() \
-	ON_OLECMD(NULL, OLECMDID_CUT, ID_EDIT_CUT)
-
-#define ON_OLECMD_COPY() \
-	ON_OLECMD(NULL, OLECMDID_COPY, ID_EDIT_COPY)
-
-#define ON_OLECMD_PASTE() \
-	ON_OLECMD(NULL, OLECMDID_PASTE, ID_EDIT_PASTE)
-
-#define ON_OLECMD_PASTESPECIAL() \
-	ON_OLECMD(NULL, OLECMDID_PASTESPECIAL, ID_EDIT_PASTE_SPECIAL)
-
-#define ON_OLECMD_UNDO() \
-	ON_OLECMD(NULL, OLECMDID_UNDO, ID_EDIT_UNDO)
-
-#define ON_OLECMD_REDO() \
-	ON_OLECMD(NULL, OLECMDID_REDO, ID_EDIT_REDO)
-
-#define ON_OLECMD_SELECTALL() \
-	ON_OLECMD(NULL, OLECMDID_SELECTALL, ID_EDIT_SELECT_ALL)
-
-#define ON_OLECMD_CLEARSELECTION() \
-	ON_OLECMD(NULL, OLECMDID_CLEARSELECTION, ID_EDIT_CLEAR)
-
-
-/////////////////////////////////////////////////////////////////////////////
-// CDocObjectServer class
-
-class CDocObjectServer : public CCmdTarget
-{
-	DECLARE_DYNAMIC(CDocObjectServer)
-
-// Constructors
-public:
-	CDocObjectServer(COleServerDoc* pOwner,
-			LPOLEDOCUMENTSITE pDocSite = NULL);
-
-// Attributes
-public:
-
-// Operations
-public:
-   void ActivateDocObject();
-
-// Overridables
-protected:
-   // Document Overridables
-
-   // View Overridables
-   virtual void OnApplyViewState(CArchive& ar);
-   virtual void OnSaveViewState(CArchive& ar);
-   virtual HRESULT OnActivateView();
-
-// Implementation
-public:
-	virtual ~CDocObjectServer();
-	void ReleaseDocSite();
-	void SetDocSite(LPOLEDOCUMENTSITE pNewSite);
-	COleDocIPFrameWnd* GetControllingFrame() const;
-protected:
-	STDMETHODIMP OnExecOleCmd(const GUID* pguidCmdGroup,
-		DWORD nCmdID, DWORD nCmdExecOpt, VARIANTARG* pvarargIn,
-		VARIANTARG* pvarargOut);
-	BOOL DoPreparePrinting(CView* pView, CPrintInfo* printInfo);
-	void DoPrepareDC(CView* pView, CDC* pdcPrint, CPrintInfo* pprintInfo);
-	void DoPrint(CView* pView, CDC* pdcPrint, CPrintInfo* pprintInfo);
-	void DoBeginPrinting(CView* pView, CDC* pDC, CPrintInfo* pprintInfo);
-	void DoEndPrinting(CView* pView, CDC* pDC, CPrintInfo* pprintInfo);
-
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-   // Overrides
-protected:
-	// ClassWizard generated virtual function overrides
-	//{{AFX_VIRTUAL(CDocObjectServer)
-	public:
-	virtual void OnCloseDocument();
-	//}}AFX_VIRTUAL
-
-	// Implementation Data
-protected:
-	// Document Data
-	LPOLEDOCUMENTSITE m_pDocSite;
-	COleServerDoc* m_pOwner;
-
-	// Print Data
-	LONG m_nFirstPage;
-	LPCONTINUECALLBACK m_pContinueCallback;
-
-	// View Data
-	LPOLEINPLACESITE  m_pViewSite;
-
-   // Implementation Helpers
-protected:
-	void OnSetItemRects(LPRECT lprcPosRect, LPRECT lprcClipRect);
-//  LPUNKNOWN GetInterfaceHook(const void* iid);
-
-	// Generated message map functions
-protected:
-	//{{AFX_MSG(CDocObjectServer)
-		// NOTE - the ClassWizard will add and remove member functions here.
-	//}}AFX_MSG
-	DECLARE_MESSAGE_MAP()
-
-// Interface Maps
-public:
-	BEGIN_INTERFACE_PART(OleObject, IOleObject)
-		INIT_INTERFACE_PART(CDocObjServerDoc, DocOleObject)
-		STDMETHOD(SetClientSite)(LPOLECLIENTSITE);
-		STDMETHOD(GetClientSite)(LPOLECLIENTSITE*);
-		STDMETHOD(SetHostNames)(LPCOLESTR, LPCOLESTR);
-		STDMETHOD(Close)(DWORD);
-		STDMETHOD(SetMoniker)(DWORD, LPMONIKER);
-		STDMETHOD(GetMoniker)(DWORD, DWORD, LPMONIKER*);
-		STDMETHOD(InitFromData)(LPDATAOBJECT, BOOL, DWORD);
-		STDMETHOD(GetClipboardData)(DWORD, LPDATAOBJECT*);
-		STDMETHOD(DoVerb)(LONG, LPMSG, LPOLECLIENTSITE, LONG, HWND, LPCRECT);
-		STDMETHOD(EnumVerbs)(IEnumOLEVERB**);
-		STDMETHOD(Update)();
-		STDMETHOD(IsUpToDate)();
-		STDMETHOD(GetUserClassID)(CLSID*);
-		STDMETHOD(GetUserType)(DWORD, LPOLESTR*);
-		STDMETHOD(SetExtent)(DWORD, LPSIZEL);
-		STDMETHOD(GetExtent)(DWORD, LPSIZEL);
-		STDMETHOD(Advise)(LPADVISESINK, LPDWORD);
-		STDMETHOD(Unadvise)(DWORD);
-		STDMETHOD(EnumAdvise)(LPENUMSTATDATA*);
-		STDMETHOD(GetMiscStatus)(DWORD, LPDWORD);
-		STDMETHOD(SetColorScheme)(LPLOGPALETTE);
-	END_INTERFACE_PART(OleObject)
-
-	BEGIN_INTERFACE_PART(OleDocument, IOleDocument)
-		INIT_INTERFACE_PART(CDocObjectServer, OleDocument)
-		STDMETHOD(CreateView)(LPOLEINPLACESITE, LPSTREAM, DWORD, LPOLEDOCUMENTVIEW*);
-		STDMETHOD(GetDocMiscStatus)(LPDWORD);
-		STDMETHOD(EnumViews)(LPENUMOLEDOCUMENTVIEWS*, LPOLEDOCUMENTVIEW*);
-	END_INTERFACE_PART(OleDocument)
-
-	BEGIN_INTERFACE_PART(OleDocumentView, IOleDocumentView)
-		INIT_INTERFACE_PART(CDocObjectServer, OleDocumentView)
-		STDMETHOD(SetInPlaceSite)(LPOLEINPLACESITE);
-		STDMETHOD(GetInPlaceSite)(LPOLEINPLACESITE*);
-		STDMETHOD(GetDocument)(LPUNKNOWN*);
-		STDMETHOD(SetRect)(LPRECT);
-		STDMETHOD(GetRect)(LPRECT);
-		STDMETHOD(SetRectComplex)(LPRECT, LPRECT, LPRECT, LPRECT);
-		STDMETHOD(Show)(BOOL);
-		STDMETHOD(UIActivate)(BOOL);
-		STDMETHOD(Open)();
-		STDMETHOD(CloseView)(DWORD);
-		STDMETHOD(SaveViewState)(LPSTREAM);
-		STDMETHOD(ApplyViewState)(LPSTREAM);
-		STDMETHOD(Clone)(LPOLEINPLACESITE, LPOLEDOCUMENTVIEW*);
-	END_INTERFACE_PART(OleDocumentView)
-
-	BEGIN_INTERFACE_PART(OleCommandTarget, IOleCommandTarget)
-		INIT_INTERFACE_PART(CDocObjectServer, OleCommandTarget)
-		STDMETHOD(QueryStatus)(const GUID*, ULONG, OLECMD[], OLECMDTEXT*);
-		STDMETHOD(Exec)(const GUID*, DWORD, DWORD, VARIANTARG*, VARIANTARG*);
-	END_INTERFACE_PART(OleCommandTarget)
-
-	BEGIN_INTERFACE_PART(Print, IPrint)
-		INIT_INTERFACE_PART(CDocObjectServer, Print)
-		STDMETHOD(SetInitialPageNum)(LONG);
-		STDMETHOD(GetPageInfo)(LPLONG, LPLONG);
-		STDMETHOD(Print)(DWORD, DVTARGETDEVICE**, PAGESET**, LPSTGMEDIUM,
-				 LPCONTINUECALLBACK, LONG, LPLONG, LPLONG);
-	END_INTERFACE_PART(Print)
-
-	DECLARE_INTERFACE_MAP()
-};
-
-
-/////////////////////////////////////////////////////////////////////////////
-// COleDocIPFrameWnd class
-
-class COleDocIPFrameWnd : public COleIPFrameWnd
-{
-	DECLARE_DYNCREATE(COleDocIPFrameWnd)
-
-// Constructors
-public:
-	COleDocIPFrameWnd();
-
-// Attributes
-public:
-
-// Operations
-public:
-
-// Overridables
-protected:
-
-// Implementation
-public:
-	virtual ~COleDocIPFrameWnd();
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-	// Overrides
-	// ClassWizard generated virtual function overrides
-	//{{AFX_VIRTUAL(COleDocIPFrameWnd)
-	//}}AFX_VIRTUAL
-protected:
-	virtual void OnRequestPositionChange(LPCRECT lpRect);
-	virtual void RecalcLayout(BOOL bNotify = TRUE);
-
-	// Menu Merging support
-	HMENU m_hMenuHelpPopup;
-	virtual BOOL BuildSharedMenu();
-	virtual void DestroySharedMenu();
-
-	// Generated message map functions
-	//{{AFX_MSG(COleDocIPFrameWnd)
-		// NOTE - the ClassWizard will add and remove member functions here.
-	//}}AFX_MSG
-	DECLARE_MESSAGE_MAP()
-};
-
-
-class CDocObjectServerItem : public COleServerItem
-{
-	DECLARE_DYNAMIC(CDocObjectServerItem)
-
-// Constructors
-protected:
-	CDocObjectServerItem(COleServerDoc* pServerDoc, BOOL bAutoDelete);
-
-// Attributes
-public:
-	COleServerDoc* GetDocument() const
-		{ return (COleServerDoc*) COleServerItem::GetDocument(); }
-
-// Overridables
-public:
-
-// Implementation
-public:
-	virtual ~CDocObjectServerItem();
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-   // Overrides
-protected:
-   virtual void OnDoVerb(LONG iVerb);
-   virtual void OnHide();
-   virtual void OnOpen();
-   virtual void OnShow();
-	// ClassWizard generated virtual function overrides
-	//{{AFX_VIRTUAL(CDocObjectServerItem)
-	//}}AFX_VIRTUAL
-
-};
-
-/////////////////////////////////////////////////////////////////////////////
-
-#ifdef _AFX_PACKING
-#pragma pack(pop)
-#endif
-
-#undef AFX_DATA
-#define AFX_DATA
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, on)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, off)
-#endif
-
-#endif //__AFXDOCOB_H__
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 161
libs/mfc/include/afxdtctl.h

@@ -1,161 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXDTCTL_H__
-#define __AFXDTCTL_H__
-
-#ifndef __AFXWIN_H__
-	#include <afxwin.h>
-#endif
-
-#ifndef __AFXDISP_H__
-	#include <afxdisp.h>
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-
-#ifdef _AFX_PACKING
-#pragma pack(push, _AFX_PACKING)
-#endif
-
-//CObject
-	class CImageList;
-	//CCmdTarget;
-		//CWnd
-			// class CListBox;
-			class CMonthCalCtrl;
-			class CDateTimeCtrl;
-
-/////////////////////////////////////////////////////////////////////////////
-// CDateTimeCtrl
-
-class CDateTimeCtrl : public CWnd
-{
-	DECLARE_DYNAMIC(CDateTimeCtrl)
-
-// Constructors
-	CDateTimeCtrl();
-	BOOL Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID);
-
-// Attributes
-	COLORREF GetMonthCalColor(int iColor) const;
-	COLORREF SetMonthCalColor(int iColor, COLORREF ref);
-	BOOL SetFormat(LPCTSTR pstrFormat);
-	CMonthCalCtrl* GetMonthCalCtrl() const;
-	CFont* GetMonthCalFont() const;
-	void SetMonthCalFont(HFONT hFont, BOOL bRedraw = TRUE);
-	BOOL SetRange(const COleDateTime* pMinRange, const COleDateTime* pMaxRange);
-	DWORD GetRange(COleDateTime* pMinRange, COleDateTime* pMaxRange) const;
-	BOOL SetRange(const CTime* pMinRange, const CTime* pMaxRange);
-	DWORD GetRange(CTime* pMinRange, CTime* pMaxRange) const;
-
-// Operations
-	BOOL SetTime(const CTime* pTimeNew);
-	DWORD GetTime(CTime& timeDest) const;
-	BOOL SetTime(const COleDateTime& timeNew);
-	BOOL GetTime(COleDateTime& timeDest) const;
-	BOOL SetTime(LPSYSTEMTIME pTimeNew = NULL);
-	DWORD GetTime(LPSYSTEMTIME pTimeDest) const;
-
-// Overridables
-	virtual ~CDateTimeCtrl();
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CMonthCalCtrl
-
-class CMonthCalCtrl : public CWnd
-{
-	DECLARE_DYNAMIC(CMonthCalCtrl)
-
-// Constructors
-	CMonthCalCtrl();
-	BOOL Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID);
-	BOOL Create(DWORD dwStyle, const POINT& pt, CWnd* pParentWnd, UINT nID);
-
-//Attributes
-	BOOL GetMinReqRect(RECT* pRect) const;
-	int SetMonthDelta(int iDelta);
-	int GetMonthDelta() const;
-	BOOL SetFirstDayOfWeek(int iDay, int* lpnOld = NULL);
-	int GetFirstDayOfWeek(BOOL* pbLocal = NULL) const;
-	COLORREF GetColor(int nRegion) const;
-	COLORREF SetColor(int nRegion, COLORREF ref);
-	DWORD HitTest(PMCHITTESTINFO pMCHitTest);
-
-// Operations
-	BOOL SizeMinReq(BOOL bRepaint = TRUE);
-	void SetToday(const COleDateTime& refDateTime);
-	void SetToday(const CTime* pDateTime);
-	void SetToday(const LPSYSTEMTIME pDateTime);
-	BOOL GetToday(CTime& refTime) const;
-	BOOL GetToday(COleDateTime& refDateTime) const;
-	BOOL GetToday(LPSYSTEMTIME pDateTime) const;
-	BOOL GetCurSel(LPSYSTEMTIME pDateTime) const;
-	BOOL SetCurSel(const LPSYSTEMTIME pDateTime);
-	BOOL SetCurSel(const CTime& refDateTime);
-	BOOL GetCurSel(CTime& refDateTime) const;
-	BOOL SetCurSel(const COleDateTime& refDateTime);
-	BOOL GetCurSel(COleDateTime& refDateTime) const;
-	BOOL SetDayState(int nMonths, LPMONTHDAYSTATE pStates);
-	BOOL SetMaxSelCount(int nMax);
-	int GetMaxSelCount() const;
-	BOOL SetRange(const COleDateTime* pMinRange, const COleDateTime* pMaxRange);
-	DWORD GetRange(COleDateTime* pMinRange, COleDateTime* pMaxRange) const;
-	BOOL SetRange(const CTime* pMinRange, const CTime* pMaxRange);
-	DWORD GetRange(CTime* pMinRange, CTime* pMaxRange) const;
-	BOOL SetRange(const LPSYSTEMTIME pMinRange, const LPSYSTEMTIME pMaxRange);
-	DWORD GetRange(LPSYSTEMTIME pMinRange, LPSYSTEMTIME pMaxRange) const;
-	int GetMonthRange(COleDateTime& refMinRange, COleDateTime& refMaxRange,
-		DWORD dwFlags) const;
-	int GetMonthRange(CTime& refMinRange, CTime& refMaxRange,
-		DWORD dwFlags) const;
-	int GetMonthRange(LPSYSTEMTIME pMinRange, LPSYSTEMTIME pMaxRange,
-		DWORD dwFlags) const;
-	BOOL SetSelRange(const COleDateTime& pMinRange,
-		const COleDateTime& pMaxRange);
-	BOOL GetSelRange(COleDateTime& refMinRange,
-		COleDateTime& refMaxRange) const;
-	BOOL SetSelRange(const CTime& pMinRange, const CTime& pMaxRange);
-	BOOL GetSelRange(CTime& refMinRange, CTime& refMaxRange) const;
-	BOOL GetSelRange(LPSYSTEMTIME pMinRange, LPSYSTEMTIME pMaxRange) const;
-	BOOL SetSelRange(const LPSYSTEMTIME pMinRange,
-		const LPSYSTEMTIME pMaxRange);
-
-// Overridables
-	virtual ~CMonthCalCtrl();
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// Inline function declarations
-
-#ifdef _AFX_PACKING
-#pragma pack(pop)
-#endif
-
-#ifdef _AFX_ENABLE_INLINES
-#define _AFXDTCTL_INLINE AFX_INLINE
-#include <afxdtctl.inl>
-#undef _AFXDTCTL_INLINE
-#endif
-
-#undef AFX_DATA
-#define AFX_DATA
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, on)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, off)
-#endif
-
-#endif //__AFXDTCTL_H__
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 65
libs/mfc/include/afxdtctl.inl

@@ -1,65 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-// Inlines for AFXDTCTL.H
-
-/////////////////////////////////////////////////////////////////////////////
-// Date/Time common control inlines
-
-#ifdef _AFXDTCTL_INLINE
-
-//CDateTimeCtrl
-_AFXDTCTL_INLINE CDateTimeCtrl::CDateTimeCtrl()
-	{ }
-_AFXDTCTL_INLINE CFont* CDateTimeCtrl::GetMonthCalFont() const
-	{ ASSERT(::IsWindow(m_hWnd)); return CFont::FromHandle((HFONT) ::SendMessage(m_hWnd, DTM_GETMCFONT, 0, 0)); }
-_AFXDTCTL_INLINE CMonthCalCtrl* CDateTimeCtrl::GetMonthCalCtrl() const
-	{ ASSERT(::IsWindow(m_hWnd)); return (CMonthCalCtrl*) CWnd::FromHandle((HWND) ::SendMessage(m_hWnd, DTM_GETMONTHCAL, 0, 0)); }
-_AFXDTCTL_INLINE void CDateTimeCtrl::SetMonthCalFont(HFONT hFont, BOOL bRedraw /* = TRUE */)
-	{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, DTM_SETMCFONT, (WPARAM) hFont, MAKELONG(bRedraw, 0)); }
-_AFXDTCTL_INLINE COLORREF CDateTimeCtrl::SetMonthCalColor(int iColor, COLORREF ref)
-	{ ASSERT(::IsWindow(m_hWnd)); return (COLORREF) ::SendMessage(m_hWnd, DTM_SETMCCOLOR, (WPARAM) iColor, (LPARAM) ref); }
-_AFXDTCTL_INLINE DWORD CDateTimeCtrl::GetTime(LPSYSTEMTIME pTimeDest) const
-	{ ASSERT(::IsWindow(m_hWnd)); ASSERT(pTimeDest != NULL); return (DWORD) ::SendMessage(m_hWnd, DTM_GETSYSTEMTIME, 0, (LPARAM) pTimeDest); }
-_AFXDTCTL_INLINE COLORREF CDateTimeCtrl::GetMonthCalColor(int iColor) const
-	{ ASSERT(::IsWindow(m_hWnd)); return (COLORREF) ::SendMessage(m_hWnd, DTM_GETMCCOLOR, (WPARAM) iColor, 0); }
-_AFXDTCTL_INLINE BOOL CDateTimeCtrl::SetFormat(LPCTSTR pstrFormat)
-	{ ASSERT(::IsWindow(m_hWnd)); return (BOOL) ::SendMessage(m_hWnd, DTM_SETFORMAT, 0, (LPARAM) pstrFormat); }
-
-//CMonthCalCtrl
-_AFXDTCTL_INLINE CMonthCalCtrl::CMonthCalCtrl()
-	{ }
-_AFXDTCTL_INLINE DWORD CMonthCalCtrl::HitTest(PMCHITTESTINFO pMCHitTest)
-	{ ASSERT(::IsWindow(m_hWnd)); return (DWORD) ::SendMessage(m_hWnd, MCM_HITTEST, 0, (LPARAM) pMCHitTest); }
-_AFXDTCTL_INLINE BOOL CMonthCalCtrl::GetMinReqRect(RECT* pRect) const
-	{ ASSERT(m_hWnd != NULL); return (BOOL) ::SendMessage(m_hWnd, MCM_GETMINREQRECT, 0, (LPARAM) pRect); }
-_AFXDTCTL_INLINE int CMonthCalCtrl::SetMonthDelta(int iDelta)
-	{ ASSERT(m_hWnd != NULL); return (int) ::SendMessage(m_hWnd, MCM_SETMONTHDELTA, (WPARAM) iDelta, 0); }
-_AFXDTCTL_INLINE int CMonthCalCtrl::GetMonthDelta() const
-	{ ASSERT(m_hWnd != NULL); return (int) ::SendMessage(m_hWnd, MCM_GETMONTHDELTA, 0, 0); }
-_AFXDTCTL_INLINE COLORREF CMonthCalCtrl::GetColor(int nRegion) const
-	{ ASSERT(m_hWnd != NULL); return (COLORREF) ::SendMessage(m_hWnd, MCM_GETCOLOR, (WPARAM) nRegion, 0); }
-_AFXDTCTL_INLINE COLORREF CMonthCalCtrl::SetColor(int nRegion, COLORREF ref)
-	{ ASSERT(m_hWnd != NULL); return (COLORREF) ::SendMessage(m_hWnd, MCM_SETCOLOR, (WPARAM) nRegion, (LPARAM) ref); }
-_AFXDTCTL_INLINE BOOL CMonthCalCtrl::SetMaxSelCount(int nMax)
-	{ ASSERT(m_hWnd != NULL); return (BOOL) ::SendMessage(m_hWnd, MCM_SETMAXSELCOUNT, nMax, 0); }
-_AFXDTCTL_INLINE int CMonthCalCtrl::GetMaxSelCount() const
-	{ ASSERT(m_hWnd != NULL); return (int) ::SendMessage(m_hWnd, MCM_GETMAXSELCOUNT, 0, 0); }
-_AFXDTCTL_INLINE void CMonthCalCtrl::SetToday(const LPSYSTEMTIME pDateTime)
-	{ ASSERT(m_hWnd != NULL); ::SendMessage(m_hWnd, MCM_SETTODAY, 0, (LPARAM) pDateTime); }
-_AFXDTCTL_INLINE BOOL CMonthCalCtrl::GetToday(LPSYSTEMTIME pDateTime) const
-	{ ASSERT(m_hWnd != NULL); return (BOOL) ::SendMessage(m_hWnd, MCM_GETTODAY, 0, (LPARAM) pDateTime); }
-_AFXDTCTL_INLINE BOOL CMonthCalCtrl::SetCurSel(const LPSYSTEMTIME pDateTime)
-	{ ASSERT(m_hWnd != NULL); return (BOOL) ::SendMessage(m_hWnd, MCM_SETCURSEL, 0, (LPARAM) pDateTime); }
-_AFXDTCTL_INLINE BOOL CMonthCalCtrl::GetCurSel(LPSYSTEMTIME pDateTime) const
-	{ ASSERT(m_hWnd != NULL); return (BOOL) ::SendMessage(m_hWnd, MCM_GETCURSEL, 0, (LPARAM) pDateTime); }
-
-#endif //_AFXDTCTL_INLINE
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 1110
libs/mfc/include/afxext.h

@@ -1,1110 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXEXT_H__
-#define __AFXEXT_H__
-
-#ifndef __AFXWIN_H__
-	#include <afxwin.h>
-#endif
-#ifndef __AFXDLGS_H__
-	#include <afxdlgs.h>
-#endif
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, off)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, on)
-#endif
-
-#ifdef _AFX_PACKING
-#pragma pack(push, _AFX_PACKING)
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// AFXEXT - MFC Advanced Extensions and Advanced Customizable classes
-
-// Classes declared in this file
-
-//CObject
-	//CCmdTarget;
-		//CWnd
-			//CButton
-				class CBitmapButton;    // Bitmap button (self-draw)
-
-			class CControlBar;          // control bar
-				class CStatusBar;       // status bar
-				class CToolBar;         // toolbar
-				class CDialogBar;       // dialog as control bar
-				class CReBar;           // ie40 dock bar
-
-			class CSplitterWnd;         // splitter manager
-
-			//CView
-				//CScrollView
-				class CFormView;        // view with a dialog template
-				class CEditView;        // simple text editor view
-
-	//CDC
-		class CMetaFileDC;              // a metafile with proxy
-
-class CRectTracker;                     // tracker for rectangle objects
-
-// information structures
-struct CPrintInfo;          // Printing context
-struct CPrintPreviewState;  // Print Preview context/state
-struct CCreateContext;      // Creation context
-
-#undef AFX_DATA
-#define AFX_DATA AFX_CORE_DATA
-
-/////////////////////////////////////////////////////////////////////////////
-// Simple bitmap button
-
-// CBitmapButton - push-button with 1->4 bitmap images
-class CBitmapButton : public CButton
-{
-	DECLARE_DYNAMIC(CBitmapButton)
-public:
-// Construction
-	CBitmapButton();
-
-	BOOL LoadBitmaps(LPCTSTR lpszBitmapResource,
-			LPCTSTR lpszBitmapResourceSel = NULL,
-			LPCTSTR lpszBitmapResourceFocus = NULL,
-			LPCTSTR lpszBitmapResourceDisabled = NULL);
-	BOOL LoadBitmaps(UINT nIDBitmapResource,
-			UINT nIDBitmapResourceSel = 0,
-			UINT nIDBitmapResourceFocus = 0,
-			UINT nIDBitmapResourceDisabled = 0);
-	BOOL AutoLoad(UINT nID, CWnd* pParent);
-
-// Operations
-	void SizeToContent();
-
-// Implementation:
-public:
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-protected:
-	// all bitmaps must be the same size
-	CBitmap m_bitmap;           // normal image (REQUIRED)
-	CBitmap m_bitmapSel;        // selected image (OPTIONAL)
-	CBitmap m_bitmapFocus;      // focused but not selected (OPTIONAL)
-	CBitmap m_bitmapDisabled;   // disabled bitmap (OPTIONAL)
-
-	virtual void DrawItem(LPDRAWITEMSTRUCT lpDIS);
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// Control Bars
-
-// forward declarations (private to implementation)
-class CDockBar;
-class CDockContext;
-class CControlBarInfo;
-struct AFX_SIZEPARENTPARAMS;
-
-// Layout Modes for CalcDynamicLayout
-#define LM_STRETCH  0x01    // same meaning as bStretch in CalcFixedLayout.  If set, ignores nLength
-							// and returns dimensions based on LM_HORZ state, otherwise LM_HORZ is used
-							// to determine if nLength is the desired horizontal or vertical length
-							// and dimensions are returned based on nLength
-#define LM_HORZ     0x02    // same as bHorz in CalcFixedLayout
-#define LM_MRUWIDTH 0x04    // Most Recently Used Dynamic Width
-#define LM_HORZDOCK 0x08    // Horizontal Docked Dimensions
-#define LM_VERTDOCK 0x10    // Vertical Docked Dimensions
-#define LM_LENGTHY  0x20    // Set if nLength is a Height instead of a Width
-#define LM_COMMIT   0x40    // Remember MRUWidth
-
-#ifdef _AFXDLL
-class CControlBar : public CWnd
-#else
-class AFX_NOVTABLE CControlBar : public CWnd
-#endif
-{
-	DECLARE_DYNAMIC(CControlBar)
-// Construction
-protected:
-	CControlBar();
-
-// Attributes
-public:
-	int GetCount() const;
-
-	// for styles specific to CControlBar
-	DWORD GetBarStyle();
-	void SetBarStyle(DWORD dwStyle);
-
-	BOOL m_bAutoDelete;
-
-	// getting and setting border space
-	void SetBorders(LPCRECT lpRect);
-	void SetBorders(int cxLeft = 0, int cyTop = 0, int cxRight = 0, int cyBottom = 0);
-	CRect GetBorders() const;
-
-	CFrameWnd* GetDockingFrame() const;
-	BOOL IsFloating() const;
-	virtual CSize CalcFixedLayout(BOOL bStretch, BOOL bHorz);
-	virtual CSize CalcDynamicLayout(int nLength, DWORD nMode);
-
-// Operations
-	void EnableDocking(DWORD dwDockStyle);
-
-// Overridables
-	virtual void OnUpdateCmdUI(CFrameWnd* pTarget, BOOL bDisableIfNoHndler) = 0;
-
-// Implementation
-public:
-	virtual ~CControlBar();
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-	virtual void DelayShow(BOOL bShow);
-	virtual BOOL IsVisible() const;
-	virtual DWORD RecalcDelayShow(AFX_SIZEPARENTPARAMS* lpLayout);
-
-	virtual BOOL IsDockBar() const;
-	virtual BOOL DestroyWindow();
-	virtual void OnBarStyleChange(DWORD dwOldStyle, DWORD dwNewStyle);
-
-	// info about bar (for status bar and toolbar)
-	int m_cxLeftBorder, m_cxRightBorder;
-	int m_cyTopBorder, m_cyBottomBorder;
-	int m_cxDefaultGap;         // default gap value
-	UINT m_nMRUWidth;   // For dynamic resizing.
-
-	// array of elements
-	int m_nCount;
-	void* m_pData;        // m_nCount elements - type depends on derived class
-
-	// support for delayed hide/show
-	enum StateFlags
-		{ delayHide = 1, delayShow = 2, tempHide = 4, statusSet = 8 };
-	UINT m_nStateFlags;
-
-	// support for docking
-	DWORD m_dwStyle;    // creation style (used for layout)
-	DWORD m_dwDockStyle;// indicates how bar can be docked
-	CFrameWnd* m_pDockSite; // current dock site, if dockable
-	CDockBar* m_pDockBar;   // current dock bar, if dockable
-	CDockContext* m_pDockContext;   // used during dragging
-
-	virtual BOOL PreTranslateMessage(MSG* pMsg);
-	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
-	virtual void PostNcDestroy();
-
-	virtual void DoPaint(CDC* pDC);
-	void DrawBorders(CDC* pDC, CRect& rect);
-	void DrawGripper(CDC* pDC, const CRect& rect);
-
-	// implementation helpers
-	virtual LRESULT WindowProc(UINT nMsg, WPARAM wParam, LPARAM lParam);
-	void CalcInsideRect(CRect& rect, BOOL bHorz) const; // adjusts borders etc
-	BOOL AllocElements(int nElements, int cbElement);
-	virtual BOOL SetStatusText(int nHit);
-	void ResetTimer(UINT nEvent, UINT nTime);
-	void EraseNonClient();
-
-	void GetBarInfo(CControlBarInfo* pInfo);
-	void SetBarInfo(CControlBarInfo* pInfo, CFrameWnd* pFrameWnd);
-
-	//{{AFX_MSG(CControlBar)
-	afx_msg void OnTimer(UINT nIDEvent);
-	afx_msg int OnCreate(LPCREATESTRUCT lpcs);
-	afx_msg void OnDestroy();
-	afx_msg void OnPaint();
-	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
-	afx_msg void OnWindowPosChanging(LPWINDOWPOS lpWndPos);
-	afx_msg LRESULT OnSizeParent(WPARAM wParam, LPARAM lParam);
-	afx_msg LRESULT OnHelpHitTest(WPARAM wParam, LPARAM lParam);
-	afx_msg void OnInitialUpdate();
-	afx_msg LRESULT OnIdleUpdateCmdUI(WPARAM wParam, LPARAM lParam);
-	afx_msg void OnLButtonDown(UINT nFlags, CPoint pt );
-	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint pt);
-	afx_msg int OnMouseActivate(CWnd* pDesktopWnd, UINT nHitTest, UINT nMsg);
-	//}}AFX_MSG
-	DECLARE_MESSAGE_MAP()
-
-	friend class CFrameWnd;
-	friend class CDockBar;
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CStatusBar control
-
-class CStatusBarCtrl;   // forward reference (see afxcmn.h for definition)
-struct AFX_STATUSPANE;  // private to implementation
-
-class CStatusBar : public CControlBar
-{
-	DECLARE_DYNAMIC(CStatusBar)
-
-// Construction
-public:
-	CStatusBar();
-	BOOL Create(CWnd* pParentWnd,
-		DWORD dwStyle = WS_CHILD | WS_VISIBLE | CBRS_BOTTOM,
-		UINT nID = AFX_IDW_STATUS_BAR);
-	BOOL CreateEx(CWnd* pParentWnd, DWORD dwCtrlStyle = 0,
-		DWORD dwStyle = WS_CHILD | WS_VISIBLE | CBRS_BOTTOM,
-		UINT nID = AFX_IDW_STATUS_BAR);
-	BOOL SetIndicators(const UINT* lpIDArray, int nIDCount);
-
-// Attributes
-public:
-	void SetBorders(LPCRECT lpRect);
-	void SetBorders(int cxLeft = 0, int cyTop = 0, int cxRight = 0, int cyBottom = 0);
-
-	// standard control bar things
-	int CommandToIndex(UINT nIDFind) const;
-	UINT GetItemID(int nIndex) const;
-	void GetItemRect(int nIndex, LPRECT lpRect) const;
-
-	// specific to CStatusBar
-	void GetPaneText(int nIndex, CString& rString) const;
-	CString GetPaneText(int nIndex) const;
-	BOOL SetPaneText(int nIndex, LPCTSTR lpszNewText, BOOL bUpdate = TRUE);
-	void GetPaneInfo(int nIndex, UINT& nID, UINT& nStyle, int& cxWidth) const;
-	void SetPaneInfo(int nIndex, UINT nID, UINT nStyle, int cxWidth);
-	UINT GetPaneStyle(int nIndex) const;
-	void SetPaneStyle(int nIndex, UINT nStyle);
-
-	// for direct access to the underlying common control
-	CStatusBarCtrl& GetStatusBarCtrl() const;
-
-// Overridables
-	virtual void DrawItem(LPDRAWITEMSTRUCT);
-
-// Implementation
-public:
-	virtual ~CStatusBar();
-	virtual CSize CalcFixedLayout(BOOL bStretch, BOOL bHorz);
-	BOOL PreCreateWindow(CREATESTRUCT& cs);
-	BOOL AllocElements(int nElements, int cbElement);
-	void CalcInsideRect(CRect& rect, BOOL bHorz) const;
-	virtual void OnBarStyleChange(DWORD dwOldStyle, DWORD dwNewStyle);
-
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-	void EnableDocking(DWORD dwDockStyle);
-#endif
-	virtual void OnUpdateCmdUI(CFrameWnd* pTarget, BOOL bDisableIfNoHndler);
-
-protected:
-	int m_nMinHeight;
-
-	AFX_STATUSPANE* _GetPanePtr(int nIndex) const;
-	void UpdateAllPanes(BOOL bUpdateRects, BOOL bUpdateText);
-	virtual BOOL OnChildNotify(UINT message, WPARAM, LPARAM, LRESULT*);
-
-	//{{AFX_MSG(CStatusBar)
-	afx_msg UINT OnNcHitTest(CPoint);
-	afx_msg void OnNcCalcSize(BOOL, NCCALCSIZE_PARAMS*);
-	afx_msg void OnNcPaint();
-	afx_msg void OnPaint();
-	afx_msg void OnSize(UINT nType, int cx, int cy);
-	afx_msg void OnWindowPosChanging(LPWINDOWPOS);
-	afx_msg LRESULT OnSetText(WPARAM wParam, LPARAM lParam);
-	afx_msg LRESULT OnGetText(WPARAM wParam, LPARAM lParam);
-	afx_msg LRESULT OnGetTextLength(WPARAM wParam, LPARAM lParam);
-	afx_msg LRESULT OnSetMinHeight(WPARAM wParam, LPARAM lParam);
-	//}}AFX_MSG
-	DECLARE_MESSAGE_MAP()
-};
-
-// Styles for status bar panes
-#define SBPS_NORMAL     0x0000
-#define SBPS_NOBORDERS  SBT_NOBORDERS
-#define SBPS_POPOUT     SBT_POPOUT
-#define SBPS_OWNERDRAW  SBT_OWNERDRAW
-#define SBPS_DISABLED   0x04000000
-#define SBPS_STRETCH    0x08000000  // stretch to fill status bar
-
-/////////////////////////////////////////////////////////////////////////////
-// CToolBar control
-
-HBITMAP AFXAPI AfxLoadSysColorBitmap(HINSTANCE hInst, HRSRC hRsrc, BOOL bMono = FALSE);
-
-class CToolBarCtrl; // forward reference (see afxcmn.h for definition)
-
-class CToolBar : public CControlBar
-{
-	DECLARE_DYNAMIC(CToolBar)
-
-// Construction
-public:
-	CToolBar();
-	BOOL Create(CWnd* pParentWnd,
-		DWORD dwStyle = WS_CHILD | WS_VISIBLE | CBRS_TOP,
-		UINT nID = AFX_IDW_TOOLBAR);
-	BOOL CreateEx(CWnd* pParentWnd, DWORD dwCtrlStyle = TBSTYLE_FLAT,
-		DWORD dwStyle = WS_CHILD | WS_VISIBLE | CBRS_ALIGN_TOP,
-		CRect rcBorders = CRect(0, 0, 0, 0),
-		UINT nID = AFX_IDW_TOOLBAR);
-
-	void SetSizes(SIZE sizeButton, SIZE sizeImage);
-		// button size should be bigger than image
-	void SetHeight(int cyHeight);
-		// call after SetSizes, height overrides bitmap size
-	BOOL LoadToolBar(LPCTSTR lpszResourceName);
-	BOOL LoadToolBar(UINT nIDResource);
-	BOOL LoadBitmap(LPCTSTR lpszResourceName);
-	BOOL LoadBitmap(UINT nIDResource);
-	BOOL SetBitmap(HBITMAP hbmImageWell);
-	BOOL SetButtons(const UINT* lpIDArray, int nIDCount);
-		// lpIDArray can be NULL to allocate empty buttons
-
-// Attributes
-public:
-	// standard control bar things
-	int CommandToIndex(UINT nIDFind) const;
-	UINT GetItemID(int nIndex) const;
-	virtual void GetItemRect(int nIndex, LPRECT lpRect) const;
-	UINT GetButtonStyle(int nIndex) const;
-	void SetButtonStyle(int nIndex, UINT nStyle);
-
-	// for changing button info
-	void GetButtonInfo(int nIndex, UINT& nID, UINT& nStyle, int& iImage) const;
-	void SetButtonInfo(int nIndex, UINT nID, UINT nStyle, int iImage);
-	BOOL SetButtonText(int nIndex, LPCTSTR lpszText);
-	CString GetButtonText(int nIndex) const;
-	void GetButtonText(int nIndex, CString& rString) const;
-
-	// for direct access to the underlying common control
-	CToolBarCtrl& GetToolBarCtrl() const;
-
-// Implementation
-public:
-	virtual ~CToolBar();
-	virtual CSize CalcFixedLayout(BOOL bStretch, BOOL bHorz);
-	virtual CSize CalcDynamicLayout(int nLength, DWORD nMode);
-	virtual int OnToolHitTest(CPoint point, TOOLINFO* pTI) const;
-	virtual void OnUpdateCmdUI(CFrameWnd* pTarget, BOOL bDisableIfNoHndler);
-	void SetOwner(CWnd* pOwnerWnd);
-	BOOL AddReplaceBitmap(HBITMAP hbmImageWell);
-	virtual void OnBarStyleChange(DWORD dwOldStyle, DWORD dwNewStyle);
-
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-protected:
-	HRSRC m_hRsrcImageWell; // handle to loaded resource for image well
-	HINSTANCE m_hInstImageWell; // instance handle to load image well from
-	HBITMAP m_hbmImageWell; // contains color mapped button images
-	BOOL m_bDelayedButtonLayout; // used to manage when button layout should be done
-
-	CSize m_sizeImage;  // current image size
-	CSize m_sizeButton; // current button size
-
-	CMapStringToPtr* m_pStringMap;  // used as CMapStringToUInt
-
-	// implementation helpers
-	void _GetButton(int nIndex, TBBUTTON* pButton) const;
-	void _SetButton(int nIndex, TBBUTTON* pButton);
-	CSize CalcLayout(DWORD nMode, int nLength = -1);
-	CSize CalcSize(TBBUTTON* pData, int nCount);
-	int WrapToolBar(TBBUTTON* pData, int nCount, int nWidth);
-	void SizeToolBar(TBBUTTON* pData, int nCount, int nLength, BOOL bVert = FALSE);
-	void Layout(); // called for for delayed button layout
-
-	//{{AFX_MSG(CToolBar)
-	afx_msg UINT OnNcHitTest(CPoint);
-	afx_msg void OnNcPaint();
-	afx_msg void OnPaint();
-	afx_msg void OnNcCalcSize(BOOL, NCCALCSIZE_PARAMS*);
-	afx_msg void OnWindowPosChanging(LPWINDOWPOS);
-	afx_msg void OnSysColorChange();
-	afx_msg LRESULT OnSetButtonSize(WPARAM, LPARAM);
-	afx_msg LRESULT OnSetBitmapSize(WPARAM, LPARAM);
-	afx_msg LRESULT OnPreserveZeroBorderHelper(WPARAM, LPARAM);
-	afx_msg BOOL OnNcCreate(LPCREATESTRUCT);
-	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
-	//}}AFX_MSG
-	DECLARE_MESSAGE_MAP()
-
-	LRESULT OnSetSizeHelper(CSize& size, LPARAM lParam);
-};
-
-// Styles for toolbar buttons
-#define TBBS_BUTTON     MAKELONG(TBSTYLE_BUTTON, 0) // this entry is button
-#define TBBS_SEPARATOR  MAKELONG(TBSTYLE_SEP, 0)    // this entry is a separator
-#define TBBS_CHECKBOX   MAKELONG(TBSTYLE_CHECK, 0)  // this is an auto check button
-#define TBBS_GROUP      MAKELONG(TBSTYLE_GROUP, 0)  // marks the start of a group
-#define TBBS_CHECKGROUP (TBBS_GROUP|TBBS_CHECKBOX)  // normal use of TBBS_GROUP
-#define TBBS_DROPDOWN   MAKELONG(TBSTYLE_DROPDOWN, 0) // drop down style
-#define TBBS_AUTOSIZE   MAKELONG(TBSTYLE_AUTOSIZE, 0) // autocalc button width
-#define TBBS_NOPREFIX   MAKELONG(TBSTYLE_NOPREFIX, 0) // no accel prefix for this button
-
-// styles for display states
-#define TBBS_CHECKED    MAKELONG(0, TBSTATE_CHECKED)    // button is checked/down
-#define TBBS_PRESSED    MAKELONG(0, TBSTATE_PRESSED)    // button is being depressed
-#define TBBS_DISABLED   MAKELONG(0, TBSTATE_ENABLED)    // button is disabled
-#define TBBS_INDETERMINATE  MAKELONG(0, TBSTATE_INDETERMINATE)  // third state
-#define TBBS_HIDDEN     MAKELONG(0, TBSTATE_HIDDEN) // button is hidden
-#define TBBS_WRAPPED    MAKELONG(0, TBSTATE_WRAP)   // button is wrapped at this point
-#define TBBS_ELLIPSES   MAKELONG(0, TBSTATE_ELIPSES)
-#define TBBS_MARKED     MAKELONG(0, TBSTATE_MARKED)
-
-////////////////////////////////////////////
-// CDialogBar control
-// This is a control bar built from a dialog template. It is a modeless
-// dialog that delegates all control notifications to the parent window
-// of the control bar [the grandparent of the control]
-
-class CDialogBar : public CControlBar
-{
-	DECLARE_DYNAMIC(CDialogBar)
-
-// Construction
-public:
-	CDialogBar();
-	BOOL Create(CWnd* pParentWnd, LPCTSTR lpszTemplateName,
-			UINT nStyle, UINT nID);
-	BOOL Create(CWnd* pParentWnd, UINT nIDTemplate,
-			UINT nStyle, UINT nID);
-
-// Implementation
-public:
-	virtual ~CDialogBar();
-	virtual CSize CalcFixedLayout(BOOL bStretch, BOOL bHorz);
-	CSize m_sizeDefault;
-	virtual void OnUpdateCmdUI(CFrameWnd* pTarget, BOOL bDisableIfNoHndler);
-
-protected:
-#ifndef _AFX_NO_OCC_SUPPORT
-	// data and functions necessary for OLE control containment
-	_AFX_OCC_DIALOG_INFO* m_pOccDialogInfo;
-	LPCTSTR m_lpszTemplateName;
-	virtual BOOL SetOccDialogInfo(_AFX_OCC_DIALOG_INFO* pOccDialogInfo);
-
-	//{{AFX_MSG(CDialogBar)
-	DECLARE_MESSAGE_MAP()
-	//}}AFX_MSG
-	afx_msg LRESULT HandleInitDialog(WPARAM, LPARAM);
-#endif
-};
-
-////////////////////////////////////////////
-// CReBar control
-
-class CReBarCtrl;
-
-class CReBar : public CControlBar
-{
-	DECLARE_DYNAMIC(CReBar)
-
-// Construction
-public:
-	CReBar();
-	BOOL Create(CWnd* pParentWnd, DWORD dwCtrlStyle = RBS_BANDBORDERS,
-		DWORD dwStyle = WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | CBRS_TOP,
-		UINT nID = AFX_IDW_REBAR);
-
-// Attributes
-public:
-	// for direct access to the underlying common control
-	CReBarCtrl& GetReBarCtrl() const;
-
-// Operations
-public:
-	BOOL AddBar(CWnd* pBar, LPCTSTR pszText = NULL, CBitmap* pbmp = NULL,
-		DWORD dwStyle = RBBS_GRIPPERALWAYS | RBBS_FIXEDBMP);
-	BOOL AddBar(CWnd* pBar, COLORREF clrFore, COLORREF clrBack,
-		LPCTSTR pszText = NULL, DWORD dwStyle = RBBS_GRIPPERALWAYS);
-
-// Implementation
-	virtual void OnUpdateCmdUI(CFrameWnd* pTarget, BOOL bDisableIfNoHndler);
-	virtual int OnToolHitTest(CPoint point, TOOLINFO* pTI) const;
-	virtual CSize CalcFixedLayout(BOOL bStretch, BOOL bHorz);
-	virtual CSize CalcDynamicLayout(int nLength, DWORD nMode);
-#ifdef MFC_DEBUG
-	void EnableDocking(DWORD dwDockStyle);
-#endif
-
-protected:
-	virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
-	BOOL _AddBar(CWnd* pBar, REBARBANDINFO* pRBBI);
-
-	//{{AFX_MSG(CReBar)
-	afx_msg BOOL OnNcCreate(LPCREATESTRUCT);
-	afx_msg void OnPaint();
-	afx_msg void OnHeightChange(NMHDR* pNMHDR, LRESULT* pResult);
-	afx_msg void OnNcPaint();
-	afx_msg void OnNcCalcSize(BOOL, NCCALCSIZE_PARAMS*);
-	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
-	afx_msg LRESULT OnShowBand(WPARAM wParam, LPARAM lParam);
-	afx_msg void OnRecalcParent();
-	//}}AFX_MSG
-	DECLARE_MESSAGE_MAP()
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// Splitter Window
-
-#define SPLS_DYNAMIC_SPLIT  0x0001
-#define SPLS_INVERT_TRACKER 0x0002  // obsolete (now ignored)
-
-class CSplitterWnd : public CWnd
-{
-	DECLARE_DYNAMIC(CSplitterWnd)
-
-// Construction
-public:
-	CSplitterWnd();
-	// Create a single view type splitter with multiple splits
-	BOOL Create(CWnd* pParentWnd,
-				int nMaxRows, int nMaxCols, SIZE sizeMin,
-				CCreateContext* pContext,
-				DWORD dwStyle = WS_CHILD | WS_VISIBLE |
-					WS_HSCROLL | WS_VSCROLL | SPLS_DYNAMIC_SPLIT,
-				UINT nID = AFX_IDW_PANE_FIRST);
-
-	// Create a multiple view type splitter with static layout
-	BOOL CreateStatic(CWnd* pParentWnd,
-				int nRows, int nCols,
-				DWORD dwStyle = WS_CHILD | WS_VISIBLE,
-				UINT nID = AFX_IDW_PANE_FIRST);
-
-	virtual BOOL CreateView(int row, int col, CRuntimeClass* pViewClass,
-			SIZE sizeInit, CCreateContext* pContext);
-
-// Attributes
-public:
-	int GetRowCount() const;
-	int GetColumnCount() const;
-
-	// information about a specific row or column
-	void GetRowInfo(int row, int& cyCur, int& cyMin) const;
-	void SetRowInfo(int row, int cyIdeal, int cyMin);
-	void GetColumnInfo(int col, int& cxCur, int& cxMin) const;
-	void SetColumnInfo(int col, int cxIdeal, int cxMin);
-
-	// for setting and getting shared scroll bar style
-	DWORD GetScrollStyle() const;
-	void SetScrollStyle(DWORD dwStyle);
-
-	// views inside the splitter
-	CWnd* GetPane(int row, int col) const;
-	BOOL IsChildPane(CWnd* pWnd, int* pRow, int* pCol);
-	BOOL IsChildPane(CWnd* pWnd, int& row, int& col); // obsolete
-	int IdFromRowCol(int row, int col) const;
-
-	BOOL IsTracking();  // TRUE during split operation
-
-// Operations
-public:
-	virtual void RecalcLayout();    // call after changing sizes
-
-// Overridables
-protected:
-	// to customize the drawing
-	enum ESplitType { splitBox, splitBar, splitIntersection, splitBorder };
-	virtual void OnDrawSplitter(CDC* pDC, ESplitType nType, const CRect& rect);
-	virtual void OnInvertTracker(const CRect& rect);
-
-public:
-	// for customizing scrollbar regions
-	virtual BOOL CreateScrollBarCtrl(DWORD dwStyle, UINT nID);
-
-	// for customizing DYNAMIC_SPLIT behavior
-	virtual void DeleteView(int row, int col);
-	virtual BOOL SplitRow(int cyBefore);
-	virtual BOOL SplitColumn(int cxBefore);
-	virtual void DeleteRow(int rowDelete);
-	virtual void DeleteColumn(int colDelete);
-
-	// determining active pane from focus or active view in frame
-	virtual CWnd* GetActivePane(int* pRow = NULL, int* pCol = NULL);
-	virtual void SetActivePane(int row, int col, CWnd* pWnd = NULL);
-protected:
-	CWnd* GetActivePane(int& row, int& col); // obsolete
-
-public:
-	// high level command operations - called by default view implementation
-	virtual BOOL CanActivateNext(BOOL bPrev = FALSE);
-	virtual void ActivateNext(BOOL bPrev = FALSE);
-	virtual BOOL DoKeyboardSplit();
-
-	// synchronized scrolling
-	virtual BOOL DoScroll(CView* pViewFrom, UINT nScrollCode,
-		BOOL bDoScroll = TRUE);
-	virtual BOOL DoScrollBy(CView* pViewFrom, CSize sizeScroll,
-		BOOL bDoScroll = TRUE);
-
-// Implementation
-public:
-	virtual ~CSplitterWnd();
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-	// implementation structure
-	struct CRowColInfo
-	{
-		int nMinSize;       // below that try not to show
-		int nIdealSize;     // user set size
-		// variable depending on the available size layout
-		int nCurSize;       // 0 => invisible, -1 => nonexistant
-	};
-
-protected:
-	// customizable implementation attributes (set by constructor or Create)
-	CRuntimeClass* m_pDynamicViewClass;
-	int m_nMaxRows, m_nMaxCols;
-
-	// implementation attributes which control layout of the splitter
-	int m_cxSplitter, m_cySplitter;         // size of splitter bar
-	int m_cxBorderShare, m_cyBorderShare;   // space on either side of splitter
-	int m_cxSplitterGap, m_cySplitterGap;   // amount of space between panes
-	int m_cxBorder, m_cyBorder;             // borders in client area
-
-	// current state information
-	int m_nRows, m_nCols;
-	BOOL m_bHasHScroll, m_bHasVScroll;
-	CRowColInfo* m_pColInfo;
-	CRowColInfo* m_pRowInfo;
-
-	// Tracking info - only valid when 'm_bTracking' is set
-	BOOL m_bTracking, m_bTracking2;
-	CPoint m_ptTrackOffset;
-	CRect m_rectLimit;
-	CRect m_rectTracker, m_rectTracker2;
-	int m_htTrack;
-
-	// implementation routines
-	BOOL CreateCommon(CWnd* pParentWnd, SIZE sizeMin, DWORD dwStyle, UINT nID);
-	virtual int HitTest(CPoint pt) const;
-	virtual void GetInsideRect(CRect& rect) const;
-	virtual void GetHitRect(int ht, CRect& rect);
-	virtual void TrackRowSize(int y, int row);
-	virtual void TrackColumnSize(int x, int col);
-	virtual void DrawAllSplitBars(CDC* pDC, int cxInside, int cyInside);
-	virtual void SetSplitCursor(int ht);
-	CWnd* GetSizingParent();
-
-	// starting and stopping tracking
-	virtual void StartTracking(int ht);
-	virtual void StopTracking(BOOL bAccept);
-
-	// special command routing to frame
-	virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
-	virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
-
-	//{{AFX_MSG(CSplitterWnd)
-	afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
-	afx_msg void OnMouseMove(UINT nFlags, CPoint pt);
-	afx_msg void OnPaint();
-	afx_msg void OnLButtonDown(UINT nFlags, CPoint pt);
-	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint pt);
-	afx_msg void OnLButtonUp(UINT nFlags, CPoint pt);
-	afx_msg void OnCancelMode();
-	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
-	afx_msg void OnSize(UINT nType, int cx, int cy);
-	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
-	afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
-	afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
-	afx_msg BOOL OnNcCreate(LPCREATESTRUCT lpcs);
-	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
-	afx_msg void OnDisplayChange();
-	//}}AFX_MSG
-	DECLARE_MESSAGE_MAP()
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CFormView - generic view constructed from a dialog template
-
-class CFormView : public CScrollView
-{
-	DECLARE_DYNAMIC(CFormView)
-
-// Construction
-protected:      // must derive your own class
-	CFormView(LPCTSTR lpszTemplateName);
-	CFormView(UINT nIDTemplate);
-
-// Implementation
-public:
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-	virtual void OnInitialUpdate();
-
-protected:
-	LPCTSTR m_lpszTemplateName;
-	CCreateContext* m_pCreateContext;
-	HWND m_hWndFocus;   // last window to have focus
-
-	virtual void OnDraw(CDC* pDC);      // default does nothing
-	// special case override of child window creation
-	virtual BOOL Create(LPCTSTR, LPCTSTR, DWORD,
-		const RECT&, CWnd*, UINT, CCreateContext*);
-	virtual BOOL PreTranslateMessage(MSG* pMsg);
-	virtual void OnActivateView(BOOL, CView*, CView*);
-	virtual void OnActivateFrame(UINT, CFrameWnd*);
-	BOOL SaveFocusControl();    // updates m_hWndFocus
-
-#ifndef _AFX_NO_OCC_SUPPORT
-	// data and functions necessary for OLE control containment
-	_AFX_OCC_DIALOG_INFO* m_pOccDialogInfo;
-	virtual BOOL SetOccDialogInfo(_AFX_OCC_DIALOG_INFO* pOccDialogInfo);
-	afx_msg LRESULT HandleInitDialog(WPARAM, LPARAM);
-#endif
-
-	//{{AFX_MSG(CFormView)
-	afx_msg int OnCreate(LPCREATESTRUCT lpcs);
-	afx_msg void OnSetFocus(CWnd* pOldWnd);
-	//}}AFX_MSG
-	DECLARE_MESSAGE_MAP()
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CEditView - simple text editor view
-
-class CEditView : public CCtrlView
-{
-	DECLARE_DYNCREATE(CEditView)
-
-// Construction
-public:
-	CEditView();
-
-// Attributes
-public:
-	static AFX_DATA const DWORD dwStyleDefault;
-	// CEdit control access
-	CEdit& GetEditCtrl() const;
-
-	// presentation attributes
-	CFont* GetPrinterFont() const;
-	void SetPrinterFont(CFont* pFont);
-	void SetTabStops(int nTabStops);
-
-	// other attributes
-	void GetSelectedText(CString& strResult) const;
-
-	// buffer access
-	LPCTSTR LockBuffer() const;
-	void UnlockBuffer() const;
-	UINT GetBufferLength() const;
-
-// Operations
-public:
-	BOOL FindText(LPCTSTR lpszFind, BOOL bNext = TRUE, BOOL bCase = TRUE);
-	void SerializeRaw(CArchive& ar);
-	UINT PrintInsideRect(CDC* pDC, RECT& rectLayout, UINT nIndexStart,
-		UINT nIndexStop);
-
-// Overrideables
-protected:
-	virtual void OnFindNext(LPCTSTR lpszFind, BOOL bNext, BOOL bCase);
-	virtual void OnReplaceSel(LPCTSTR lpszFind, BOOL bNext, BOOL bCase,
-		LPCTSTR lpszReplace);
-	virtual void OnReplaceAll(LPCTSTR lpszFind, LPCTSTR lpszReplace,
-		BOOL bCase);
-	virtual void OnTextNotFound(LPCTSTR lpszFind);
-
-// Implementation
-public:
-	virtual ~CEditView();
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-	virtual void Serialize(CArchive& ar);
-	virtual void DeleteContents();
-	void ReadFromArchive(CArchive& ar, UINT nLen);
-	void WriteToArchive(CArchive& ar);
-	virtual void OnPrepareDC(CDC* pDC, CPrintInfo* pInfo);
-
-	static AFX_DATA const UINT nMaxSize;
-		// maximum number of characters supported
-
-protected:
-	int m_nTabStops;            // tab stops in dialog units
-	LPTSTR m_pShadowBuffer;     // special shadow buffer only used in Win32s
-	UINT m_nShadowSize;
-
-	CUIntArray m_aPageStart;    // array of starting pages
-	HFONT m_hPrinterFont;       // if NULL, mirror display font
-	HFONT m_hMirrorFont;        // font object used when mirroring
-
-	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
-	// printing support
-	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
-	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
-	virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
-	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo = NULL);
-	BOOL PaginateTo(CDC* pDC, CPrintInfo* pInfo);
-
-	// find & replace support
-	void OnEditFindReplace(BOOL bFindOnly);
-	BOOL InitializeReplace();
-	BOOL SameAsSelected(LPCTSTR lpszCompare, BOOL bCase);
-
-	// special overrides for implementation
-	virtual void CalcWindowRect(LPRECT lpClientRect,
-		UINT nAdjustType = adjustBorder);
-
-	//{{AFX_MSG(CEditView)
-	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
-	afx_msg LRESULT OnSetFont(WPARAM wParam, LPARAM lParam);
-	afx_msg void OnUpdateNeedSel(CCmdUI* pCmdUI);
-	afx_msg void OnUpdateNeedClip(CCmdUI* pCmdUI);
-	afx_msg void OnUpdateNeedText(CCmdUI* pCmdUI);
-	afx_msg void OnUpdateNeedFind(CCmdUI* pCmdUI);
-	afx_msg void OnUpdateEditUndo(CCmdUI* pCmdUI);
-	afx_msg BOOL OnEditChange();
-	afx_msg void OnEditCut();
-	afx_msg void OnEditCopy();
-	afx_msg void OnEditPaste();
-	afx_msg void OnEditClear();
-	afx_msg void OnEditUndo();
-	afx_msg void OnEditSelectAll();
-	afx_msg void OnEditFind();
-	afx_msg void OnEditReplace();
-	afx_msg void OnEditRepeat();
-	afx_msg LRESULT OnFindReplaceCmd(WPARAM wParam, LPARAM lParam);
-	afx_msg void OnDestroy();
-	//}}AFX_MSG
-	DECLARE_MESSAGE_MAP()
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CMetaFileDC
-
-class CMetaFileDC : public CDC
-{
-	DECLARE_DYNAMIC(CMetaFileDC)
-
-// Constructors
-public:
-	CMetaFileDC();
-	BOOL Create(LPCTSTR lpszFilename = NULL);
-	BOOL CreateEnhanced(CDC* pDCRef, LPCTSTR lpszFileName,
-		LPCRECT lpBounds, LPCTSTR lpszDescription);
-
-// Operations
-	HMETAFILE Close();
-	HENHMETAFILE CloseEnhanced();
-
-// Implementation
-public:
-	virtual void SetAttribDC(HDC hDC);  // Set the Attribute DC
-
-protected:
-	virtual void SetOutputDC(HDC hDC);  // Set the Output DC -- Not allowed
-	virtual void ReleaseOutputDC();     // Release the Output DC -- Not allowed
-
-public:
-	virtual ~CMetaFileDC();
-
-// Clipping Functions (use the Attribute DC's clip region)
-	virtual int GetClipBox(LPRECT lpRect) const;
-	virtual BOOL PtVisible(int x, int y) const;
-			BOOL PtVisible(POINT point) const;
-	virtual BOOL RectVisible(LPCRECT lpRect) const;
-
-// Text Functions
-	virtual BOOL TextOut(int x, int y, LPCTSTR lpszString, int nCount);
-			BOOL TextOut(int x, int y, const CString& str);
-	virtual BOOL ExtTextOut(int x, int y, UINT nOptions, LPCRECT lpRect,
-				LPCTSTR lpszString, UINT nCount, LPINT lpDxWidths);
-			BOOL ExtTextOut(int x, int y, UINT nOptions, LPCRECT lpRect,
-				const CString& str, LPINT lpDxWidths);
-	virtual CSize TabbedTextOut(int x, int y, LPCTSTR lpszString, int nCount,
-				int nTabPositions, LPINT lpnTabStopPositions, int nTabOrigin);
-			CSize TabbedTextOut(int x, int y, const CString& str,
-				int nTabPositions, LPINT lpnTabStopPositions, int nTabOrigin);
-	virtual int DrawText(LPCTSTR lpszString, int nCount, LPRECT lpRect,
-				UINT nFormat);
-			int DrawText(const CString& str, LPRECT lpRect, UINT nFormat);
-
-// Printer Escape Functions
-	virtual int Escape(int nEscape, int nCount, LPCSTR lpszInData, LPVOID lpOutData);
-
-// Viewport Functions
-	virtual CPoint SetViewportOrg(int x, int y);
-			CPoint SetViewportOrg(POINT point);
-	virtual CPoint OffsetViewportOrg(int nWidth, int nHeight);
-	virtual CSize SetViewportExt(int x, int y);
-			CSize SetViewportExt(SIZE size);
-	virtual CSize ScaleViewportExt(int xNum, int xDenom, int yNum, int yDenom);
-
-protected:
-	void AdjustCP(int cx);
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CRectTracker - simple rectangular tracking rectangle w/resize handles
-
-class CRectTracker
-{
-public:
-// Constructors
-	CRectTracker();
-	CRectTracker(LPCRECT lpSrcRect, UINT nStyle);
-
-// Style Flags
-	enum StyleFlags
-	{
-		solidLine = 1, dottedLine = 2, hatchedBorder = 4,
-		resizeInside = 8, resizeOutside = 16, hatchInside = 32,
-	};
-
-// Hit-Test codes
-	enum TrackerHit
-	{
-		hitNothing = -1,
-		hitTopLeft = 0, hitTopRight = 1, hitBottomRight = 2, hitBottomLeft = 3,
-		hitTop = 4, hitRight = 5, hitBottom = 6, hitLeft = 7, hitMiddle = 8
-	};
-
-// Attributes
-	UINT m_nStyle;      // current state
-	CRect m_rect;       // current position (always in pixels)
-	CSize m_sizeMin;    // minimum X and Y size during track operation
-	int m_nHandleSize;  // size of resize handles (default from WIN.INI)
-
-// Operations
-	void Draw(CDC* pDC) const;
-	void GetTrueRect(LPRECT lpTrueRect) const;
-	BOOL SetCursor(CWnd* pWnd, UINT nHitTest) const;
-	BOOL Track(CWnd* pWnd, CPoint point, BOOL bAllowInvert = FALSE,
-		CWnd* pWndClipTo = NULL);
-	BOOL TrackRubberBand(CWnd* pWnd, CPoint point, BOOL bAllowInvert = TRUE);
-	int HitTest(CPoint point) const;
-	int NormalizeHit(int nHandle) const;
-
-// Overridables
-	virtual void DrawTrackerRect(LPCRECT lpRect, CWnd* pWndClipTo,
-		CDC* pDC, CWnd* pWnd);
-	virtual void AdjustRect(int nHandle, LPRECT lpRect);
-	virtual void OnChangedRect(const CRect& rectOld);
-	virtual UINT GetHandleMask() const;
-
-// Implementation
-public:
-	virtual ~CRectTracker();
-
-protected:
-	BOOL m_bAllowInvert;    // flag passed to Track or TrackRubberBand
-	CRect m_rectLast;
-	CSize m_sizeLast;
-	BOOL m_bErase;          // TRUE if DrawTrackerRect is called for erasing
-	BOOL m_bFinalErase;     // TRUE if DragTrackerRect called for final erase
-
-	// implementation helpers
-	int HitTestHandles(CPoint point) const;
-	void GetHandleRect(int nHandle, CRect* pHandleRect) const;
-	void GetModifyPointers(int nHandle, int**ppx, int**ppy, int* px, int*py);
-	virtual int GetHandleSize(LPCRECT lpRect = NULL) const;
-	BOOL TrackHandle(int nHandle, CWnd* pWnd, CPoint point, CWnd* pWndClipTo);
-	void Construct();
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// Informational data structures
-
-struct CPrintInfo // Printing information structure
-{
-	CPrintInfo();
-	~CPrintInfo();
-
-	CPrintDialog* m_pPD;     // pointer to print dialog
-
-	BOOL m_bDocObject;       // TRUE if printing by IPrint interface
-	BOOL m_bPreview;         // TRUE if in preview mode
-	BOOL m_bDirect;          // TRUE if bypassing Print Dialog
-	BOOL m_bContinuePrinting;// set to FALSE to prematurely end printing
-	UINT m_nCurPage;         // Current page
-	UINT m_nNumPreviewPages; // Desired number of preview pages
-	CString m_strPageDesc;   // Format string for page number display
-	LPVOID m_lpUserData;     // pointer to user created struct
-	CRect m_rectDraw;        // rectangle defining current usable page area
-
-	// these only valid if m_bDocObject
-	UINT m_nOffsetPage;      // offset of first page in combined IPrint job
-	DWORD m_dwFlags;         // flags passed to IPrint::Print
-
-	void SetMinPage(UINT nMinPage);
-	void SetMaxPage(UINT nMaxPage);
-	UINT GetMinPage() const;
-	UINT GetMaxPage() const;
-	UINT GetFromPage() const;
-	UINT GetToPage() const;
-	UINT GetOffsetPage() const;
-};
-
-struct CPrintPreviewState   // Print Preview context/state
-{
-	UINT nIDMainPane;          // main pane ID to hide
-	HMENU hMenu;               // saved hMenu
-	DWORD dwStates;            // Control Bar Visible states (bit map)
-	CView* pViewActiveOld;     // save old active view during preview
-	BOOL (CALLBACK* lpfnCloseProc)(CFrameWnd* pFrameWnd);
-	HACCEL hAccelTable;       // saved accelerator table
-
-// Implementation
-	CPrintPreviewState();
-};
-
-struct CCreateContext   // Creation information structure
-	// All fields are optional and may be NULL
-{
-	// for creating new views
-	CRuntimeClass* m_pNewViewClass; // runtime class of view to create or NULL
-	CDocument* m_pCurrentDoc;
-
-	// for creating MDI children (CMDIChildWnd::LoadFrame)
-	CDocTemplate* m_pNewDocTemplate;
-
-	// for sharing view/frame state from the original view/frame
-	CView* m_pLastView;
-	CFrameWnd* m_pCurrentFrame;
-
-// Implementation
-	CCreateContext();
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// Inline function declarations
-
-#ifdef _AFX_PACKING
-#pragma pack(pop)
-#endif
-
-#ifdef _AFX_ENABLE_INLINES
-#define _AFXEXT_INLINE AFX_INLINE
-#include <afxext.inl>
-#endif
-
-#undef AFX_DATA
-#define AFX_DATA
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, on)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, off)
-#endif
-
-#endif //__AFXEXT_H__
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 142
libs/mfc/include/afxext.inl

@@ -1,142 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-// Inlines for AFXEXT.H
-
-#ifdef _AFXEXT_INLINE
-
-// CCreateContext
-_AFXEXT_INLINE CCreateContext::CCreateContext()
-	{ memset(this, 0, sizeof(*this)); }
-
-// CMetaFileDC
-_AFXEXT_INLINE BOOL CMetaFileDC::Create(LPCTSTR lpszFilename)
-	{ return Attach(::CreateMetaFile(lpszFilename)); }
-_AFXEXT_INLINE HMETAFILE CMetaFileDC::Close()
-	{ return ::CloseMetaFile(Detach()); }
-_AFXEXT_INLINE BOOL CMetaFileDC::CreateEnhanced(CDC* pDCRef,
-		LPCTSTR lpszFileName, LPCRECT lpBounds, LPCTSTR lpszDescription)
-	{ return Attach(::CreateEnhMetaFile(pDCRef->GetSafeHdc(),
-		lpszFileName, lpBounds, lpszDescription)); }
-_AFXEXT_INLINE HENHMETAFILE CMetaFileDC::CloseEnhanced()
-	{ return ::CloseEnhMetaFile(Detach()); }
-_AFXEXT_INLINE CPoint CMetaFileDC::SetViewportOrg(POINT point)
-	{ ASSERT(m_hDC != NULL); return SetViewportOrg(point.x, point.y); }
-_AFXEXT_INLINE CSize CMetaFileDC::SetViewportExt(SIZE size)
-	{ ASSERT(m_hDC != NULL); return SetViewportExt(size.cx, size.cy); }
-_AFXEXT_INLINE BOOL CMetaFileDC::TextOut(int x, int y, const CString& str)
-	{ ASSERT(m_hDC != NULL); return TextOut(x, y, (LPCTSTR)str, str.GetLength()); }
-_AFXEXT_INLINE BOOL CMetaFileDC::ExtTextOut(int x, int y, UINT nOptions, LPCRECT lpRect,
-	const CString& str, LPINT lpDxWidths)
-	{ ASSERT(m_hDC != NULL); return ::ExtTextOut(m_hDC, x, y, nOptions, lpRect,
-		str, str.GetLength(), lpDxWidths); }
-_AFXEXT_INLINE CSize CMetaFileDC::TabbedTextOut(int x, int y, const CString& str,
-	int nTabPositions, LPINT lpnTabStopPositions, int nTabOrigin)
-	{ ASSERT(m_hDC != NULL); return ::TabbedTextOut(m_hDC, x, y, str, str.GetLength(),
-		nTabPositions, lpnTabStopPositions, nTabOrigin); }
-_AFXEXT_INLINE int CMetaFileDC::DrawText(const CString& str, LPRECT lpRect, UINT nFormat)
-	{ ASSERT(m_hDC != NULL);
-		return DrawText((LPCTSTR)str, str.GetLength(), lpRect, nFormat); }
-_AFXEXT_INLINE BOOL CMetaFileDC::PtVisible(POINT point) const
-	{ ASSERT(m_hDC != NULL); return PtVisible(point.x, point.y); }
-
-// CSplitterWnd
-_AFXEXT_INLINE int CSplitterWnd::GetRowCount() const
-	{ return m_nRows; }
-_AFXEXT_INLINE int CSplitterWnd::GetColumnCount() const
-	{ return m_nCols; }
-// obsolete functions
-_AFXEXT_INLINE BOOL CSplitterWnd::IsChildPane(CWnd* pWnd, int& row, int& col)
-	{ return IsChildPane(pWnd, &row, &col); }
-_AFXEXT_INLINE CWnd* CSplitterWnd::GetActivePane(int& row, int& col)
-	{ return GetActivePane(&row, &col); }
-_AFXEXT_INLINE BOOL CSplitterWnd::IsTracking()
-	{ return m_bTracking; }
-
-// CControlBar
-_AFXEXT_INLINE int CControlBar::GetCount() const
-	{ return m_nCount; }
-_AFXEXT_INLINE DWORD CControlBar::GetBarStyle()
-	{ return m_dwStyle; }
-_AFXEXT_INLINE void CControlBar::SetBorders(LPCRECT lpRect)
-	{ SetBorders(lpRect->left, lpRect->top, lpRect->right, lpRect->bottom); }
-_AFXEXT_INLINE CRect CControlBar::GetBorders() const
-	{ return CRect(m_cxLeftBorder, m_cyTopBorder, m_cxRightBorder, m_cyBottomBorder); }
-
-// CToolBar
-_AFXEXT_INLINE BOOL CToolBar::LoadToolBar(UINT nIDResource)
-	{ return LoadToolBar(MAKEINTRESOURCE(nIDResource)); }
-_AFXEXT_INLINE BOOL CToolBar::LoadBitmap(UINT nIDResource)
-	{ return LoadBitmap(MAKEINTRESOURCE(nIDResource)); }
-_AFXEXT_INLINE CToolBarCtrl& CToolBar::GetToolBarCtrl() const
-	{ return *(CToolBarCtrl*)this; }
-
-// CDialogBar
-_AFXEXT_INLINE BOOL CDialogBar::Create(CWnd* pParentWnd, UINT nIDTemplate,
-		UINT nStyle, UINT nID)
-	{ return Create(pParentWnd, MAKEINTRESOURCE(nIDTemplate), nStyle, nID); }
-
-// CStatusBar
-_AFXEXT_INLINE CStatusBarCtrl& CStatusBar::GetStatusBarCtrl() const
-	{ return *(CStatusBarCtrl*)this; }
-_AFXEXT_INLINE void CStatusBar::SetBorders(LPCRECT lpRect)
-	{ SetBorders(lpRect->left, lpRect->top, lpRect->right, lpRect->bottom); }
-_AFXEXT_INLINE void CStatusBar::SetBorders(int cxLeft, int cyTop, int cxRight, int cyBottom)
-	{ ASSERT(cyTop >= 2); CControlBar::SetBorders(cxLeft, cyTop, cxRight, cyBottom); }
-#ifdef MFC_DEBUG
-// status bars do not support docking
-_AFXEXT_INLINE void CStatusBar::EnableDocking(DWORD)
-	{ ASSERT(FALSE); }
-#endif
-
-// CReBar
-_AFXEXT_INLINE CReBarCtrl& CReBar::GetReBarCtrl() const
-	{ return *(CReBarCtrl*)this; }
-#ifdef MFC_DEBUG
-// rebars do not support docking
-_AFXEXT_INLINE void CReBar::EnableDocking(DWORD)
-	{ ASSERT(FALSE); }
-#endif
-
-// CRectTracker
-_AFXEXT_INLINE CRectTracker::CRectTracker()
-	{ Construct(); }
-
-// CBitmapButton
-_AFXEXT_INLINE CBitmapButton::CBitmapButton()
-	{ }
-_AFXEXT_INLINE BOOL CBitmapButton::LoadBitmaps(UINT nIDBitmapResource,
-	UINT nIDBitmapResourceSel, UINT nIDBitmapResourceFocus,
-	UINT nIDBitmapResourceDisabled)
-	{ return LoadBitmaps(MAKEINTRESOURCE(nIDBitmapResource),
-		MAKEINTRESOURCE(nIDBitmapResourceSel),
-		MAKEINTRESOURCE(nIDBitmapResourceFocus),
-		MAKEINTRESOURCE(nIDBitmapResourceDisabled)); }
-
-// CPrintInfo
-_AFXEXT_INLINE void CPrintInfo::SetMinPage(UINT nMinPage)
-	{ m_pPD->m_pd.nMinPage = (WORD)nMinPage; }
-_AFXEXT_INLINE void CPrintInfo::SetMaxPage(UINT nMaxPage)
-	{ m_pPD->m_pd.nMaxPage = (WORD)nMaxPage; }
-_AFXEXT_INLINE UINT CPrintInfo::GetMinPage() const
-	{ return m_pPD->m_pd.nMinPage; }
-_AFXEXT_INLINE UINT CPrintInfo::GetMaxPage() const
-	{ return m_pPD->m_pd.nMaxPage; }
-_AFXEXT_INLINE UINT CPrintInfo::GetFromPage() const
-	{ return m_pPD->m_pd.nFromPage; }
-_AFXEXT_INLINE UINT CPrintInfo::GetToPage() const
-	{ return m_pPD->m_pd.nToPage; }
-// CEditView
-_AFXEXT_INLINE CEdit& CEditView::GetEditCtrl() const
-	{ return *(CEdit*)this; }
-
-#endif //_AFXEXT_INLINE
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 283
libs/mfc/include/afxhelp.hm

@@ -1,283 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-// Non-Client HitTest help IDs
-HID_HT_NOWHERE                          0x40000
-HID_HT_CAPTION                          0x40002
-HID_HT_SIZE                             0x40004
-HID_HT_HSCROLL                          0x40006
-HID_HT_VSCROLL                          0x40007
-HID_HT_MINBUTTON                        0x40008
-HID_HT_MAXBUTTON                        0x40009
-HID_HT_SIZE                             0x4000A // alias: ID_HT_LEFT
-HID_HT_SIZE                             0x4000B // alias: ID_HT_RIGHT
-HID_HT_SIZE                             0x4000C // alias: ID_HT_TOP
-HID_HT_SIZE                             0x4000D // alias: ID_HT_TOPLEFT
-HID_HT_SIZE                             0x4000E // alias: ID_HT_TOPRIGHT
-HID_HT_SIZE                             0x4000F // alias: ID_HT_BOTTOM
-HID_HT_SIZE                             0x40010 // alias: ID_HT_BOTTOMLEFT
-HID_HT_SIZE                             0x40011 // alias: ID_HT_BOTTOMRIGHT
-HID_HT_SIZE                             0x40012 // alias: ID_HT_BORDER
-HID_HT_OBJECT							0x40013
-HID_HT_CLOSE							0x40014
-HID_HT_HELP								0x40015
-
-// WM_SYSCOMMAND help IDs
-HID_SC_SIZE                             0x1EF00
-HID_SC_MOVE                             0x1EF01
-HID_SC_MINIMIZE                         0x1EF02
-HID_SC_MAXIMIZE                         0x1EF03
-HID_SC_NEXTWINDOW                       0x1EF04
-HID_SC_PREVWINDOW                       0x1EF05
-HID_SC_CLOSE                            0x1EF06
-HID_SC_RESTORE                          0x1EF12
-HID_SC_TASKLIST                         0x1EF13
-
-// File MRU and aliases
-HID_FILE_MRU_FILE1                      0x1E110
-HID_FILE_MRU_FILE1                      0x1E111 // aliases: MRU_2 - MRU_16
-HID_FILE_MRU_FILE1                      0x1E112
-HID_FILE_MRU_FILE1                      0x1E113
-HID_FILE_MRU_FILE1                      0x1E114
-HID_FILE_MRU_FILE1                      0x1E115
-HID_FILE_MRU_FILE1                      0x1E116
-HID_FILE_MRU_FILE1                      0x1E117
-HID_FILE_MRU_FILE1                      0x1E118
-HID_FILE_MRU_FILE1                      0x1E119
-HID_FILE_MRU_FILE1                      0x1E11A
-HID_FILE_MRU_FILE1                      0x1E11B
-HID_FILE_MRU_FILE1                      0x1E11C
-HID_FILE_MRU_FILE1                      0x1E11D
-HID_FILE_MRU_FILE1                      0x1E11E
-HID_FILE_MRU_FILE1                      0x1E11F
-
-// Window menu list
-HID_WINDOW_ALL                          0x1EF1F
-
-// OLE menu and aliases
-HID_OLE_VERB_1                          0x1E210
-HID_OLE_VERB_1                          0x1E211 // aliases: VERB_2 -> VERB_16
-HID_OLE_VERB_1                          0x1E212
-HID_OLE_VERB_1                          0x1E213
-HID_OLE_VERB_1                          0x1E214
-HID_OLE_VERB_1                          0x1E215
-HID_OLE_VERB_1                          0x1E216
-HID_OLE_VERB_1                          0x1E217
-HID_OLE_VERB_1                          0x1E218
-HID_OLE_VERB_1                          0x1E219
-HID_OLE_VERB_1                          0x1E21A
-HID_OLE_VERB_1                          0x1E21B
-HID_OLE_VERB_1                          0x1E21C
-HID_OLE_VERB_1                          0x1E21D
-HID_OLE_VERB_1                          0x1E21E
-HID_OLE_VERB_1                          0x1E21F
- 
-// Commands (HID_*) 
-HID_FILE_NEW                            0x1E100
-HID_FILE_OPEN                           0x1E101
-HID_FILE_CLOSE                          0x1E102
-HID_FILE_SAVE                           0x1E103
-HID_FILE_SAVE_AS                        0x1E104
-HID_FILE_PAGE_SETUP                     0x1E105
-HID_FILE_PRINT_SETUP                    0x1E106
-HID_FILE_PRINT                          0x1E107
-HID_FILE_PRINT_DIRECT                   0x1E108
-HID_FILE_PRINT_PREVIEW                  0x1E109
-HID_FILE_UPDATE                         0x1E10A
-HID_FILE_SAVE_COPY_AS                   0x1E10B
-HID_FILE_SEND_MAIL                      0x1E10C
-HID_EDIT_CLEAR                          0x1E120
-HID_EDIT_CLEAR_ALL                      0x1E121
-HID_EDIT_COPY                           0x1E122
-HID_EDIT_CUT                            0x1E123
-HID_EDIT_FIND                           0x1E124
-HID_EDIT_PASTE                          0x1E125
-HID_EDIT_PASTE_LINK                     0x1E126
-HID_EDIT_PASTE_SPECIAL                  0x1E127
-HID_EDIT_REPEAT                         0x1E128
-HID_EDIT_REPLACE                        0x1E129
-HID_EDIT_SELECT_ALL                     0x1E12A
-HID_EDIT_UNDO                           0x1E12B
-HID_EDIT_REDO                           0x1E12C
-HID_WINDOW_NEW                          0x1E130
-HID_WINDOW_ARRANGE                      0x1E131
-HID_WINDOW_CASCADE                      0x1E132
-HID_WINDOW_TILE_HORZ                    0x1E133
-HID_WINDOW_TILE_VERT                    0x1E134
-HID_WINDOW_SPLIT                        0x1E135
-HID_APP_ABOUT                           0x1E140
-HID_APP_EXIT                            0x1E141
-HID_HELP_INDEX                          0x1E142
-HID_HELP_FINDER                         0x1E143
-HID_HELP_USING                          0x1E144
-HID_CONTEXT_HELP                        0x1E145
-HID_NEXT_PANE                           0x1E150
-HID_PREV_PANE                           0x1E151
-HID_FORMAT_FONT                         0x1E160
-HID_OLE_INSERT_NEW                      0x1E200
-HID_OLE_EDIT_LINKS                      0x1E201
-HID_OLE_EDIT_CONVERT                    0x1E202
-HID_OLE_EDIT_CHANGE_ICON                0x1E203
-HID_OLE_EDIT_PROPERTIES                 0x1E204
-HID_VIEW_TOOLBAR                        0x1E800
-HID_VIEW_STATUS_BAR                     0x1E801
-HID_RECORD_FIRST                        0x1E900
-HID_RECORD_LAST                         0x1E901
-HID_RECORD_NEXT                         0x1E902
-HID_RECORD_PREV                         0x1E903
-HID_WIZBACK                             0x13023
-HID_WIZNEXT                             0x13024
-HID_WIZFINISH                           0x13025
- 
-// Dialogs (AFX_HIDD_*)
-AFX_HIDD_FILEOPEN                       0x27004
-AFX_HIDD_FILESAVE                       0x27005
-AFX_HIDD_FONT                           0x27006
-AFX_HIDD_COLOR                          0x27007
-AFX_HIDD_PRINT                          0x27008
-AFX_HIDD_PRINTSETUP                     0x27009
-AFX_HIDD_FIND                           0x2700A
-AFX_HIDD_REPLACE                        0x2700B
-AFX_HIDD_NEWTYPEDLG                     0x27801
-AFX_HIDD_PRINTDLG                       0x27802
-AFX_HIDD_PREVIEW_TOOLBAR                0x27803
-AFX_HIDD_PREVIEW_SHORTTOOLBAR           0x2780B
-AFX_HIDD_INSERTOBJECT                   0x27804
-AFX_HIDD_CHANGEICON                     0x27805
-AFX_HIDD_CONVERT                        0x27806
-AFX_HIDD_PASTESPECIAL                   0x27807
-AFX_HIDD_EDITLINKS                      0x27808
-AFX_HIDD_FILEBROWSE                     0x27809
-AFX_HIDD_BUSY                           0x2780A
-AFX_HIDD_OBJECTPROPERTIES               0x2780C
-AFX_HIDD_CHANGESOURCE                   0x2780D
- 
-// Prompts/Errors (AFX_HIDP_*)
-AFX_HIDP_NO_ERROR_AVAILABLE             0x3F020
-AFX_HIDP_INVALID_FILENAME               0x3F100
-AFX_HIDP_FAILED_TO_OPEN_DOC             0x3F101
-AFX_HIDP_FAILED_TO_SAVE_DOC             0x3F102
-AFX_HIDP_ASK_TO_SAVE                    0x3F103
-AFX_HIDP_FAILED_TO_CREATE_DOC           0x3F104
-AFX_HIDP_FILE_TOO_LARGE                 0x3F105
-AFX_HIDP_FAILED_TO_START_PRINT          0x3F106
-AFX_HIDP_FAILED_TO_LAUNCH_HELP          0x3F107
-AFX_HIDP_INTERNAL_FAILURE               0x3F108
-AFX_HIDP_COMMAND_FAILURE                0x3F109
-AFX_HIDP_FAILED_MEMORY_ALLOC            0x3F10A
-AFX_HIDP_UNREG_DONE                     0x3F10B
-AFX_HIDP_UNREG_FAILURE                  0x3F10C
-AFX_HIDP_DLL_LOAD_FAILED                0x3F10D
-AFX_HIDP_DLL_BAD_VERSION                0x3F10E
-AFX_HIDP_PARSE_INT                      0x3F110
-AFX_HIDP_PARSE_REAL                     0x3F111
-AFX_HIDP_PARSE_INT_RANGE                0x3F112
-AFX_HIDP_PARSE_REAL_RANGE               0x3F113
-AFX_HIDP_PARSE_STRING_SIZE              0x3F114
-AFX_HIDP_PARSE_RADIO_BUTTON             0x3F115
-AFX_HIDP_PARSE_BYTE                     0x3F116
-AFX_HIDP_PARSE_UINT                     0x3F117
-AFX_HIDP_PARSE_DATETIME                 0x3F118
-AFX_HIDP_PARSE_CURRENCY                 0x3F119
-AFX_HIDP_FAILED_INVALID_FORMAT          0x3F120
-AFX_HIDP_FAILED_INVALID_PATH            0x3F121
-AFX_HIDP_FAILED_DISK_FULL               0x3F122
-AFX_HIDP_FAILED_ACCESS_READ             0x3F123
-AFX_HIDP_FAILED_ACCESS_WRITE            0x3F124
-AFX_HIDP_FAILED_IO_ERROR_READ           0x3F125
-AFX_HIDP_FAILED_IO_ERROR_WRITE          0x3F126
-AFX_HIDP_STATIC_OBJECT                  0x3F180
-AFX_HIDP_FAILED_TO_CONNECT              0x3F181
-AFX_HIDP_SERVER_BUSY                    0x3F182
-AFX_HIDP_BAD_VERB                       0x3F183
-AFX_HIDP_FAILED_TO_NOTIFY               0x3F185
-AFX_HIDP_FAILED_TO_LAUNCH               0x3F186
-AFX_HIDP_ASK_TO_UPDATE                  0x3F187
-AFX_HIDP_FAILED_TO_UPDATE               0x3F188
-AFX_HIDP_FAILED_TO_REGISTER             0x3F189
-AFX_HIDP_FAILED_TO_AUTO_REGISTER        0x3F18A
-AFX_HIDP_FAILED_TO_CONVERT              0x3F18B
-AFX_HIDP_GET_NOT_SUPPORTED              0x3F18C
-AFX_HIDP_SET_NOT_SUPPORTED              0x3F18D
-AFX_HIDP_ASK_TO_DISCARD                 0x3F18E
-AFX_HIDP_FAILED_TO_CREATE               0x3F18F
-AFX_HIDP_FAILED_MAPI_LOAD               0x3F190
-AFX_HIDP_INVALID_MAPI_DLL               0x3F191
-AFX_HIDP_FAILED_MAPI_SEND               0x3F192
-AFX_HIDP_FILE_NONE                      0x3F1A0
-AFX_HIDP_FILE_GENERIC                   0x3F1A1
-AFX_HIDP_FILE_NOT_FOUND                 0x3F1A2
-AFX_HIDP_FILE_BAD_PATH                  0x3F1A3
-AFX_HIDP_FILE_TOO_MANY_OPEN             0x3F1A4
-AFX_HIDP_FILE_ACCESS_DENIED             0x3F1A5
-AFX_HIDP_FILE_INVALID_FILE              0x3F1A6
-AFX_HIDP_FILE_REMOVE_CURRENT            0x3F1A7
-AFX_HIDP_FILE_DIR_FULL                  0x3F1A8
-AFX_HIDP_FILE_BAD_SEEK                  0x3F1A9
-AFX_HIDP_FILE_HARD_IO                   0x3F1AA
-AFX_HIDP_FILE_SHARING                   0x3F1AB
-AFX_HIDP_FILE_LOCKING                   0x3F1AC
-AFX_HIDP_FILE_DISKFULL                  0x3F1AD
-AFX_HIDP_FILE_EOF                       0x3F1AE
-AFX_HIDP_ARCH_NONE                      0x3F1B0
-AFX_HIDP_ARCH_GENERIC                   0x3F1B1
-AFX_HIDP_ARCH_READONLY                  0x3F1B2
-AFX_HIDP_ARCH_ENDOFFILE                 0x3F1B3
-AFX_HIDP_ARCH_WRITEONLY                 0x3F1B4
-AFX_HIDP_ARCH_BADINDEX                  0x3F1B5
-AFX_HIDP_ARCH_BADCLASS                  0x3F1B6
-AFX_HIDP_ARCH_BADSCHEMA                 0x3F1B7
-AFX_HIDP_SQL_CONNECT_FAIL               0x3F281
-AFX_HIDP_SQL_RECORDSET_FORWARD_ONLY     0x3F282
-AFX_HIDP_SQL_EMPTY_COLUMN_LIST          0x3F283
-AFX_HIDP_SQL_FIELD_SCHEMA_MISMATCH      0x3F284
-AFX_HIDP_SQL_ILLEGAL_MODE               0x3F285
-AFX_HIDP_SQL_MULTIPLE_ROWS_AFFECTED     0x3F286
-AFX_HIDP_SQL_NO_CURRENT_RECORD          0x3F287
-AFX_HIDP_SQL_NO_ROWS_AFFECTED           0x3F288
-AFX_HIDP_SQL_RECORDSET_READONLY         0x3F289
-AFX_HIDP_SQL_SQL_NO_TOTAL               0x3F28A
-AFX_HIDP_SQL_ODBC_LOAD_FAILED           0x3F28B
-AFX_HIDP_SQL_DYNASET_NOT_SUPPORTED      0x3F28C
-AFX_HIDP_SQL_SNAPSHOT_NOT_SUPPORTED     0x3F28D
-AFX_HIDP_SQL_API_CONFORMANCE            0x3F28E
-AFX_HIDP_SQL_SQL_CONFORMANCE            0x3F28F
-AFX_HIDP_SQL_NO_DATA_FOUND              0x3F290
-AFX_HIDP_SQL_ROW_UPDATE_NOT_SUPPORTED   0x3F291
-AFX_HIDP_SQL_ODBC_V2_REQUIRED           0x3F292
-AFX_HIDP_SQL_NO_POSITIONED_UPDATES      0x3F293
-AFX_HIDP_SQL_LOCK_MODE_NOT_SUPPORTED    0x3F294
-AFX_HIDP_SQL_DATA_TRUNCATED             0x3F295
-AFX_HIDP_SQL_ROW_FETCH                  0x3F296
-AFX_HIDP_SQL_INCORRECT_ODBC             0x3F297
-AFX_HIDP_SQL_UPDATE_DELETE_FAILED       0x3F298
-AFX_HIDP_SQL_DYNAMIC_CURSOR_NOT_SUPPORTED	0x3F299
-AFX_HIDP_SQL_FIELD_NOT_FOUND            0x3F29A
-AFX_HIDP_SQL_BOOKMARKS_NOT_SUPPORTED    0x3F29B
-AFX_HIDP_SQL_BOOKMARKS_NOT_ENABLED      0x3F29C
-AFX_HIDP_DAO_ENGINE_INITIALIZATION      0x3F2B0
-AFX_HIDP_DAO_DFX_BIND                   0x3F2B1
-AFX_HIDP_DAO_OBJECT_NOT_OPEN            0x3F2B2
-AFX_HIDP_DAO_ROWTOOSHORT                0x3F2B3
-AFX_HIDP_DAO_BADBINDINFO                0x3F2B4
-AFX_HIDP_DAO_COLUMNUNAVAILABLE          0x3F2B5
- 
-// Frame Controls (AFX_HIDW_*)
-AFX_HIDW_TOOLBAR                        0x5E800
-AFX_HIDW_STATUS_BAR                     0x5E801
-AFX_HIDW_PREVIEW_BAR                    0x5E802
-AFX_HIDW_RESIZE_BAR                     0x5E803
-AFX_HIDW_DOCKBAR_TOP                    0x5E81B
-AFX_HIDW_DOCKBAR_LEFT                   0x5E81C
-AFX_HIDW_DOCKBAR_RIGHT                  0x5E81D
-AFX_HIDW_DOCKBAR_BOTTOM                 0x5E81E
-AFX_HIDW_DOCKBAR_FLOAT                  0x5E81F
- 
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 219
libs/mfc/include/afxhtml.h

@@ -1,219 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXHTML_H__
-#define __AFXHTML_H__
-
-#ifndef __AFXDISP_H__
-	#include <afxdisp.h>
-#endif
-
-#ifndef __exdisp_h__
-	#include <exdisp.h>
-#endif
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, off)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, on)
-#endif
-
-#ifdef _AFX_PACKING
-#pragma pack(push, _AFX_PACKING)
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// AFXHTML - MFC Visual HTML classes
-
-// Classes declared in this file
-
-//CObject
-	//CCmdTarget;
-		//CWnd
-			//CView
-				//CFormView
-					class CHtmlView;
-
-#undef AFX_DATA
-#define AFX_DATA AFX_OLE_DATA
-
-/////////////////////////////////////////////////////////////////////////////
-// CHtmlView
-
-class CHtmlView : public CFormView
-{
-protected: // create from serialization only
-	CHtmlView();
-	DECLARE_DYNCREATE(CHtmlView)
-	DECLARE_EVENTSINK_MAP()
-
-// Attributes
-public:
-	CString GetType() const;
-	long GetLeft() const;
-	void SetLeft(long nNewValue);
-	long GetTop() const;
-	void SetTop(long nNewValue);
-	long GetHeight() const;
-	void SetHeight(long nNewValue);
-	void SetVisible(BOOL bNewValue);
-	BOOL GetVisible() const;
-	CString GetLocationName() const;
-	READYSTATE GetReadyState() const;
-	BOOL GetOffline() const;
-	void SetOffline(BOOL bNewValue);
-	BOOL GetSilent() const;
-	void SetSilent(BOOL bNewValue);
-	BOOL GetTopLevelContainer() const;
-	CString GetLocationURL() const;
-	BOOL GetBusy() const;
-	LPDISPATCH GetApplication() const;
-	LPDISPATCH GetParentBrowser() const;
-	LPDISPATCH GetContainer() const;
-	LPDISPATCH GetHtmlDocument() const;
-	CString GetFullName() const;
-	int GetToolBar() const;
-	void SetToolBar(int nNewValue);
-	BOOL GetMenuBar() const;
-	void SetMenuBar(BOOL bNewValue);
-	BOOL GetFullScreen() const;
-	void SetFullScreen(BOOL bNewValue);
-	OLECMDF QueryStatusWB(OLECMDID cmdID) const;
-	BOOL GetRegisterAsBrowser() const;
-	void SetRegisterAsBrowser(BOOL bNewValue);
-	BOOL GetRegisterAsDropTarget() const;
-	void SetRegisterAsDropTarget(BOOL bNewValue);
-	BOOL GetTheaterMode() const;
-	void SetTheaterMode(BOOL bNewValue);
-	BOOL GetAddressBar() const;
-	void SetAddressBar(BOOL bNewValue);
-	BOOL GetStatusBar() const;
-	void SetStatusBar(BOOL bNewValue);
-
-// Operations
-public:
-	void GoBack();
-	void GoForward();
-	void GoHome();
-	void GoSearch();
-	void Navigate(LPCTSTR URL, DWORD dwFlags = 0,
-		LPCTSTR lpszTargetFrameName = NULL,
-		LPCTSTR lpszHeaders = NULL, LPVOID lpvPostData = NULL,
-		DWORD dwPostDataLen = 0);
-	void Navigate2(LPITEMIDLIST pIDL, DWORD dwFlags = 0,
-		LPCTSTR lpszTargetFrameName = NULL);
-	void Navigate2(LPCTSTR lpszURL, DWORD dwFlags = 0,
-		LPCTSTR lpszTargetFrameName = NULL, LPCTSTR lpszHeaders = NULL,
-		LPVOID lpvPostData = NULL, DWORD dwPostDataLen = 0);
-	void Navigate2(LPCTSTR lpszURL, DWORD dwFlags,
-		CByteArray& baPostedData,
-		LPCTSTR lpszTargetFrameName = NULL, LPCTSTR lpszHeader = NULL);
-	void Refresh();
-	void Refresh2(int nLevel);
-	void Stop();
-	void PutProperty(LPCTSTR lpszProperty, const VARIANT& vtValue);
-	void PutProperty(LPCTSTR lpszPropertyName, double dValue);
-	void PutProperty(LPCTSTR lpszPropertyName, LPCTSTR lpszValue);
-	void PutProperty(LPCTSTR lpszPropertyName, long lValue);
-	void PutProperty(LPCTSTR lpszPropertyName, short nValue);
-	BOOL GetProperty(LPCTSTR lpszProperty, CString& strValue);
-	COleVariant GetProperty(LPCTSTR lpszProperty);
-	void ExecWB(OLECMDID cmdID, OLECMDEXECOPT cmdexecopt, VARIANT* pvaIn,
-		VARIANT* pvaOut);
-	BOOL LoadFromResource(LPCTSTR lpszResource);
-	BOOL LoadFromResource(UINT nRes);
-
-// Overrides
-public:
-	virtual void OnDraw(CDC* pDC);
-	virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName,
-		DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID,
-		CCreateContext* pContext = NULL);
-
-	//{{AFX_MSG(CHtmlView)
-	afx_msg void OnFilePrint();
-	//}}AFX_MSG
-
-	// Events
-	virtual void OnNavigateComplete2(LPCTSTR strURL);
-	virtual void OnBeforeNavigate2(LPCTSTR lpszURL, DWORD nFlags,
-		LPCTSTR lpszTargetFrameName, CByteArray& baPostedData,
-		LPCTSTR lpszHeaders, BOOL* pbCancel);
-	virtual void OnStatusTextChange(LPCTSTR lpszText);
-	virtual void OnProgressChange(long nProgress, long nProgressMax);
-	virtual void OnCommandStateChange(long nCommand, BOOL bEnable);
-	virtual void OnDownloadBegin();
-	virtual void OnDownloadComplete();
-	virtual void OnTitleChange(LPCTSTR lpszText);
-	virtual void OnPropertyChange(LPCTSTR lpszProperty);
-	virtual void OnNewWindow2(LPDISPATCH* ppDisp, BOOL* Cancel);
-	virtual void OnDocumentComplete(LPCTSTR lpszURL);
-	virtual void OnQuit();
-	virtual void OnVisible(BOOL bVisible);
-	virtual void OnToolBar(BOOL bToolBar);
-	virtual void OnMenuBar(BOOL bMenuBar);
-	virtual void OnStatusBar(BOOL bStatusBar);
-	virtual void OnFullScreen(BOOL bFullScreen);
-	virtual void OnTheaterMode(BOOL bTheaterMode);
-
-// Implementation
-public:
-	virtual ~CHtmlView();
-	CWnd m_wndBrowser;
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-protected:
-	IWebBrowser2* m_pBrowserApp;
-
-// Event reflectors (not normally overridden)
-protected:
-	virtual void NavigateComplete2(LPDISPATCH pDisp, VARIANT* URL);
-	virtual void BeforeNavigate2(LPDISPATCH pDisp, VARIANT* URL,
-		VARIANT* Flags, VARIANT* TargetFrameName, VARIANT* PostData,
-		VARIANT* Headers,   BOOL* Cancel);
-	virtual void DocumentComplete(LPDISPATCH pDisp, VARIANT* URL);
-
-// Generated message map functions
-protected:
-	//{{AFX_MSG(CHtmlView)
-	afx_msg void OnSize(UINT nType, int cx, int cy);
-	afx_msg void OnPaint();
-	afx_msg void OnDestroy();
-	//}}AFX_MSG
-	DECLARE_MESSAGE_MAP()
-};
-
-
-/////////////////////////////////////////////////////////////////////////////
-// Inline function declarations
-
-#ifdef _AFX_PACKING
-#pragma pack(pop)
-#endif
-
-#ifdef _AFX_ENABLE_INLINES
-#define _AFXHTML_INLINE AFX_INLINE
-#include <afxhtml.inl>
-#endif
-
-#undef AFX_DATA
-#define AFX_DATA
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, on)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, off)
-#endif
-
-#endif // __AFXHTML_H__

+ 0 - 94
libs/mfc/include/afxhtml.inl

@@ -1,94 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-// Inlines for AFXHTML.H
-
-/////////////////////////////////////////////////////////////////////////////
-
-#ifdef _AFXHTML_INLINE
-
-_AFXHTML_INLINE void CHtmlView::SetRegisterAsBrowser(BOOL bNewValue)
-	{ ASSERT(m_pBrowserApp != NULL); m_pBrowserApp->put_RegisterAsBrowser((short) (bNewValue ? AFX_OLE_TRUE : AFX_OLE_FALSE)); }
-
-_AFXHTML_INLINE void CHtmlView::SetRegisterAsDropTarget(BOOL bNewValue)
-	{ ASSERT(m_pBrowserApp != NULL); m_pBrowserApp->put_RegisterAsDropTarget((short) (bNewValue ? AFX_OLE_TRUE : AFX_OLE_FALSE)); }
-
-_AFXHTML_INLINE void CHtmlView::SetTheaterMode(BOOL bNewValue)
-	{ ASSERT(m_pBrowserApp != NULL); m_pBrowserApp->put_TheaterMode((short) (bNewValue ? AFX_OLE_TRUE : AFX_OLE_FALSE)); }
-
-_AFXHTML_INLINE void CHtmlView::SetVisible(BOOL bNewValue)
-	{ ASSERT(m_pBrowserApp != NULL); m_pBrowserApp->put_Visible((short) (bNewValue ? AFX_OLE_TRUE : AFX_OLE_FALSE)); }
-
-_AFXHTML_INLINE void CHtmlView::SetMenuBar(BOOL bNewValue)
-	{ ASSERT(m_pBrowserApp != NULL); m_pBrowserApp->put_MenuBar((short) (bNewValue ? AFX_OLE_TRUE : AFX_OLE_FALSE)); }
-
-_AFXHTML_INLINE void CHtmlView::SetToolBar(int nNewValue)
-	{ ASSERT(m_pBrowserApp != NULL); m_pBrowserApp->put_ToolBar(nNewValue); }
-
-_AFXHTML_INLINE void CHtmlView::SetOffline(BOOL bNewValue)
-	{ ASSERT(m_pBrowserApp != NULL); m_pBrowserApp->put_Offline((short) (bNewValue ? AFX_OLE_TRUE : AFX_OLE_FALSE)); }
-
-_AFXHTML_INLINE void CHtmlView::SetSilent(BOOL bNewValue)
-	{ ASSERT(m_pBrowserApp != NULL); m_pBrowserApp->put_Silent((short) (bNewValue ? AFX_OLE_TRUE : AFX_OLE_FALSE)); }
-
-_AFXHTML_INLINE void CHtmlView::GoBack()
-	{ ASSERT(m_pBrowserApp != NULL); m_pBrowserApp->GoBack(); }
-
-_AFXHTML_INLINE void CHtmlView::GoForward()
-	{ ASSERT(m_pBrowserApp != NULL); m_pBrowserApp->GoForward(); }
-
-_AFXHTML_INLINE void CHtmlView::GoHome()
-	{ ASSERT(m_pBrowserApp != NULL); m_pBrowserApp->GoHome(); }
-
-_AFXHTML_INLINE void CHtmlView::GoSearch()
-	{ ASSERT(m_pBrowserApp != NULL); m_pBrowserApp->GoSearch(); }
-
-_AFXHTML_INLINE void CHtmlView::Refresh()
-	{ ASSERT(m_pBrowserApp != NULL); m_pBrowserApp->Refresh(); }
-
-_AFXHTML_INLINE void CHtmlView::Refresh2(int nLevel)
-	{ ASSERT(m_pBrowserApp != NULL); m_pBrowserApp->Refresh2(COleVariant((long) nLevel, VT_I4)); }
-
-_AFXHTML_INLINE void CHtmlView::Stop()
-	{ ASSERT(m_pBrowserApp != NULL); m_pBrowserApp->Stop(); }
-
-_AFXHTML_INLINE void CHtmlView::SetFullScreen(BOOL bNewValue)
-	{ ASSERT(m_pBrowserApp != NULL); m_pBrowserApp->put_FullScreen((short) (bNewValue ? AFX_OLE_TRUE : AFX_OLE_FALSE)); }
-
-_AFXHTML_INLINE void CHtmlView::SetAddressBar(BOOL bNewValue)
-	{ ASSERT(m_pBrowserApp != NULL); m_pBrowserApp->put_AddressBar((short) (bNewValue ? AFX_OLE_TRUE : AFX_OLE_FALSE)); }
-
-_AFXHTML_INLINE void CHtmlView::SetHeight(long nNewValue)
-	{ ASSERT(m_pBrowserApp != NULL); m_pBrowserApp->put_Height(nNewValue); }
-
-_AFXHTML_INLINE void CHtmlView::PutProperty(LPCTSTR lpszPropertyName, long lValue)
-	{ ASSERT(m_pBrowserApp != NULL); ASSERT(m_pBrowserApp != NULL); PutProperty(lpszPropertyName, COleVariant(lValue, VT_UI4)); }
-
-_AFXHTML_INLINE void CHtmlView::PutProperty(LPCTSTR lpszPropertyName, short nValue)
-	{ ASSERT(m_pBrowserApp != NULL); ASSERT(m_pBrowserApp != NULL); PutProperty(lpszPropertyName, COleVariant(nValue, VT_UI2)); }
-
-_AFXHTML_INLINE void CHtmlView::PutProperty(LPCTSTR lpszPropertyName, LPCTSTR lpszValue)
-	{ ASSERT(m_pBrowserApp != NULL); ASSERT(m_pBrowserApp != NULL); PutProperty(lpszPropertyName, COleVariant(lpszValue, VT_BSTR)); }
-
-_AFXHTML_INLINE void CHtmlView::PutProperty(LPCTSTR lpszPropertyName, double dValue)
-	{ ASSERT(m_pBrowserApp != NULL); ASSERT(m_pBrowserApp != NULL); PutProperty(lpszPropertyName, COleVariant(dValue)); }
-
-_AFXHTML_INLINE void CHtmlView::SetTop(long nNewValue)
-	{ ASSERT(m_pBrowserApp != NULL); m_pBrowserApp->put_Top(nNewValue); }
-
-_AFXHTML_INLINE void CHtmlView::SetLeft(long nNewValue)
-	{ ASSERT(m_pBrowserApp != NULL); m_pBrowserApp->put_Left(nNewValue); }
-
-_AFXHTML_INLINE void CHtmlView::SetStatusBar(BOOL bNewValue)
-	{ ASSERT(m_pBrowserApp != NULL); m_pBrowserApp->put_StatusBar((short) (bNewValue ? AFX_OLE_TRUE : AFX_OLE_FALSE)); }
-
-#endif //_AFXHTML_INLINE
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 699
libs/mfc/include/afxinet.h

@@ -1,699 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXINET_H_
-#define __AFXINET_H_
-
-#ifndef __AFX_H__
-	#include <afx.h>
-#endif
-
-#ifndef _WININET_
-#include <wininet.h>
-#endif
-
-#ifndef __BORLANDC__
-#ifndef _AFXDLL
-#pragma comment(lib, "wininet.lib")
-#endif
-#endif // __BORLANDC__
-
-/////////////////////////////////////////////////////////////////////////////
-// classes that are declared in this file
-
-class CInternetSession; // from CObject
-
-class CGopherLocator;   // from CObject
-
-class CInternetFile;    // from CStdioFile (FILETXT.CPP)
-	class CHttpFile;
-	class CGopherFile;
-
-class CInternetConnection;
-	class CFtpConnection;
-	class CGopherConnection;
-	class CHttpConnection;
-
-class CFtpFileFind;     // from CFileFind (FILEFIND.CPP)
-class CGopherFileFind;
-
-class CInternetException;
-
-/////////////////////////////////////////////////////////////////////////////
-
-#undef AFX_DATA
-#define AFX_DATA AFX_CORE_DATA
-
-/////////////////////////////////////////////////////////////////////////////
-// Global Functions
-
-BOOL AFXAPI AfxParseURL(LPCTSTR pstrURL, DWORD& dwServiceType,
-	CString& strServer, CString& strObject, INTERNET_PORT& nPort);
-BOOL AFXAPI AfxParseURLEx(LPCTSTR pstrURL, DWORD& dwServiceType,
-	CString& strServer, CString& strObject, INTERNET_PORT& nPort,
-	CString& strUsername, CString& strPassword, DWORD dwFlags = 0);
-
-DWORD AFXAPI AfxGetInternetHandleType(HINTERNET hQuery);
-
-// see CInternetException at the bottom of this file
-
-void AFXAPI AfxThrowInternetException(DWORD dwContext, DWORD dwError = 0);
-
-// these are defined by WININET.H
-
-#define AFX_INET_SERVICE_FTP        INTERNET_SERVICE_FTP
-#define AFX_INET_SERVICE_HTTP       INTERNET_SERVICE_HTTP
-#define AFX_INET_SERVICE_GOPHER     INTERNET_SERVICE_GOPHER
-
-// these are types that MFC parsing functions understand
-
-#define AFX_INET_SERVICE_UNK        0x1000
-#define AFX_INET_SERVICE_FILE       (AFX_INET_SERVICE_UNK+1)
-#define AFX_INET_SERVICE_MAILTO     (AFX_INET_SERVICE_UNK+2)
-#define AFX_INET_SERVICE_MID        (AFX_INET_SERVICE_UNK+3)
-#define AFX_INET_SERVICE_CID        (AFX_INET_SERVICE_UNK+4)
-#define AFX_INET_SERVICE_NEWS       (AFX_INET_SERVICE_UNK+5)
-#define AFX_INET_SERVICE_NNTP       (AFX_INET_SERVICE_UNK+6)
-#define AFX_INET_SERVICE_PROSPERO   (AFX_INET_SERVICE_UNK+7)
-#define AFX_INET_SERVICE_TELNET     (AFX_INET_SERVICE_UNK+8)
-#define AFX_INET_SERVICE_WAIS       (AFX_INET_SERVICE_UNK+9)
-#define AFX_INET_SERVICE_AFS        (AFX_INET_SERVICE_UNK+10)
-#define AFX_INET_SERVICE_HTTPS      (AFX_INET_SERVICE_UNK+11)
-
-/////////////////////////////////////////////////////////////////////////////
-// classes that are declared in this file
-
-class CInternetSession : public CObject
-{
-public:
-	CInternetSession(LPCTSTR pstrAgent = NULL,
-		DWORD dwContext = 1,
-		DWORD dwAccessType = PRE_CONFIG_INTERNET_ACCESS,
-		LPCTSTR pstrProxyName = NULL,
-		LPCTSTR pstrProxyBypass = NULL,
-		DWORD dwFlags = 0);
-
-	BOOL QueryOption(DWORD dwOption, LPVOID lpBuffer, LPDWORD lpdwBufLen) const;
-	BOOL QueryOption(DWORD dwOption, DWORD& dwValue) const;
-	BOOL QueryOption(DWORD dwOption, CString& refString) const;
-
-	BOOL SetOption(DWORD dwOption, LPVOID lpBuffer, DWORD dwBufferLength,
-			DWORD dwFlags = 0);
-	BOOL SetOption(DWORD dwOption, DWORD dwValue, DWORD dwFlags = 0);
-
-	CStdioFile* OpenURL(LPCTSTR pstrURL,
-		DWORD dwContext = 1, DWORD dwFlags = INTERNET_FLAG_TRANSFER_ASCII,
-		LPCTSTR pstrHeaders = NULL, DWORD dwHeadersLength = 0);
-
-	CFtpConnection* GetFtpConnection(LPCTSTR pstrServer,
-		LPCTSTR pstrUserName = NULL, LPCTSTR pstrPassword = NULL,
-		INTERNET_PORT nPort = INTERNET_INVALID_PORT_NUMBER,
-		BOOL bPassive = FALSE);
-
-	CHttpConnection* GetHttpConnection(LPCTSTR pstrServer,
-		INTERNET_PORT nPort = INTERNET_INVALID_PORT_NUMBER,
-		LPCTSTR pstrUserName = NULL, LPCTSTR pstrPassword = NULL);
-	CHttpConnection* GetHttpConnection(LPCTSTR pstrServer, DWORD dwFlags,
-		INTERNET_PORT nPort = INTERNET_INVALID_PORT_NUMBER,
-		LPCTSTR pstrUserName = NULL, LPCTSTR pstrPassword = NULL);
-
-	CGopherConnection* GetGopherConnection(LPCTSTR pstrServer,
-		LPCTSTR pstrUserName = NULL, LPCTSTR pstrPassword = NULL,
-		INTERNET_PORT nPort = INTERNET_INVALID_PORT_NUMBER);
-
-	BOOL EnableStatusCallback(BOOL bEnable = TRUE);
-
-	DWORD ServiceTypeFromHandle(HINTERNET hQuery);
-
-// operations
-
-	DWORD GetContext() const;
-	operator HINTERNET() const;
-	virtual void Close();
-
-	// cookies
-	static BOOL SetCookie(LPCSTR pstrUrl, LPCTSTR pstrCookieName, LPCTSTR pstrCookieData);
-	static BOOL GetCookie(LPCSTR pstrUrl, LPCTSTR pstrCookieName, LPTSTR pstrCookieData, DWORD dwBufLen);
-	static DWORD GetCookieLength(LPCSTR pstrUrl, LPCTSTR pstrCookieName);
-	static BOOL GetCookie(LPCSTR pstrUrl, LPCTSTR pstrCookieName, CString& strCookieData);
-
-// overridables
-	virtual void OnStatusCallback(DWORD dwContext, DWORD dwInternetStatus,
-		LPVOID lpvStatusInformation, DWORD dwStatusInformationLength);
-
-// implementation
-	DECLARE_DYNAMIC(CInternetSession)
-	~CInternetSession();
-
-protected:
-	DWORD m_dwContext;
-	HINTERNET m_hSession;
-	INTERNET_STATUS_CALLBACK m_pOldCallback;
-	BOOL m_bCallbackEnabled;
-
-public:
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-};
-
-
-////////////////////////////////////////////////////////////////////////////
-// Internet File Access Wrapper
-
-class CInternetFile : public CStdioFile
-{
-// Constructors
-protected:
-	CInternetFile(HINTERNET hFile, LPCTSTR pstrFileName,
-		CInternetConnection* pConnection, BOOL bReadMode);
-	CInternetFile(HINTERNET hFile, HINTERNET hSession,
-		LPCTSTR pstrFileName, LPCTSTR pstrServer, DWORD dwContext,
-		BOOL bReadMode);
-
-// Attributes
-protected:
-	HINTERNET m_hFile;
-public:
-	operator HINTERNET() const;
-	DWORD GetContext() const;
-
-// Operations
-	BOOL SetWriteBufferSize(UINT nWriteSize);
-	BOOL SetReadBufferSize(UINT nReadSize);
-
-	BOOL QueryOption(DWORD dwOption, LPVOID lpBuffer, LPDWORD lpdwBufLen) const;
-	BOOL QueryOption(DWORD dwOption, DWORD& dwValue) const;
-	BOOL QueryOption(DWORD dwOption, CString& refString) const;
-
-	BOOL SetOption(DWORD dwOption, LPVOID lpBuffer, DWORD dwBufferLength,
-			DWORD dwFlags = 0);
-	BOOL SetOption(DWORD dwOption, DWORD dwValue, DWORD dwFlags = 0);
-
-// Overridables
-	virtual LONG Seek(LONG lOffset, UINT nFrom);
-
-	virtual UINT Read(void* lpBuf, UINT nCount);
-	virtual void Write(const void* lpBuf, UINT nCount);
-
-	virtual void Abort();
-	virtual void Flush();
-
-	virtual void Close();
-	virtual DWORD GetLength() const;
-
-	virtual BOOL ReadString(CString& rString);
-	virtual LPTSTR ReadString(LPTSTR pstr, UINT nMax);
-	virtual void WriteString(LPCTSTR pstr);
-
-	// Not supported by CInternetFile
-	void LockRange(DWORD dwPos, DWORD dwCount);
-	void UnlockRange(DWORD dwPos, DWORD dwCount);
-	CFile* Duplicate() const;
-	virtual void SetLength(DWORD dwNewLen);
-
-// Implementation
-public:
-	virtual ~CInternetFile();
-
-protected:
-	BOOL m_bReadMode;
-	DWORD m_dwContext;
-	HINTERNET m_hConnection;
-
-	CString m_strServerName;
-
-	UINT m_nWriteBufferSize;
-	UINT m_nWriteBufferPos;
-	LPBYTE m_pbWriteBuffer;
-
-	UINT m_nReadBufferSize;
-	UINT m_nReadBufferPos;
-	LPBYTE m_pbReadBuffer;
-	UINT m_nReadBufferBytes;
-
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-	friend class CInternetSession;
-	friend class CFtpConnection;
-	friend class CHttpConnection;
-	friend class CGopherConnection;
-	DECLARE_DYNAMIC(CInternetFile)
-};
-
-
-class CHttpFile : public CInternetFile
-{
-// Constructors
-protected:
-	CHttpFile(HINTERNET hFile, HINTERNET hSession, LPCTSTR pstrObject,
-		LPCTSTR pstrServer, LPCTSTR pstrVerb, DWORD dwContext);
-	CHttpFile(HINTERNET hFile, LPCTSTR pstrVerb, LPCTSTR pstrObject,
-		CHttpConnection* pConnection);
-
-// Operations
-public:
-	BOOL AddRequestHeaders(LPCTSTR pstrHeaders,
-		DWORD dwFlags = HTTP_ADDREQ_FLAG_ADD_IF_NEW, int dwHeadersLen = -1);
-	BOOL AddRequestHeaders(CString& str,
-		DWORD dwFlags = HTTP_ADDREQ_FLAG_ADD_IF_NEW);
-
-	BOOL SendRequest(LPCTSTR pstrHeaders = NULL, DWORD dwHeadersLen = 0,
-		LPVOID lpOptional = NULL, DWORD dwOptionalLen = 0);
-	BOOL SendRequest(CString& strHeaders,
-		LPVOID lpOptional = NULL, DWORD dwOptionalLen = 0);
-	BOOL SendRequestEx(DWORD dwTotalLen,
-		DWORD dwFlags = HSR_INITIATE,   DWORD dwContext = 1);
-	BOOL SendRequestEx(LPINTERNET_BUFFERS lpBuffIn,
-		LPINTERNET_BUFFERS lpBuffOut, DWORD dwFlags = HSR_INITIATE,
-		DWORD dwContext = 1);
-	BOOL EndRequest(DWORD dwFlags = 0,
-		LPINTERNET_BUFFERS lpBuffIn = NULL, DWORD dwContext = 1);
-	BOOL QueryInfo(DWORD dwInfoLevel, LPVOID lpvBuffer,
-		LPDWORD lpdwBufferLength, LPDWORD lpdwIndex = NULL) const;
-	BOOL QueryInfo(DWORD dwInfoLevel, CString& str,
-		LPDWORD dwIndex = NULL) const;
-	BOOL QueryInfo(DWORD dwInfoLevel, SYSTEMTIME* pSysTime,
-		LPDWORD dwIndex = NULL) const;
-	BOOL QueryInfo(DWORD dwInfoLevel, DWORD& dwResult,
-		LPDWORD dwIndex = NULL) const;
-	BOOL QueryInfoStatusCode(DWORD& dwStatusCode) const;
-
-	DWORD ErrorDlg(CWnd* pParent = NULL,
-		DWORD dwError = ERROR_INTERNET_INCORRECT_PASSWORD,
-		DWORD dwFlags = FLAGS_ERROR_UI_FLAGS_GENERATE_DATA | FLAGS_ERROR_UI_FLAGS_CHANGE_OPTIONS,
-		LPVOID* lppvData = NULL);
-
-// Attributes
-public:
-	CString GetVerb() const;
-	CString GetObject() const;
-	virtual CString GetFileURL() const;
-	virtual void Close();
-
-// Implementation
-public:
-	virtual ~CHttpFile();
-protected:
-	CString m_strObject;
-	CString m_strVerb;
-
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-	friend class CHttpConnection;
-	friend class CInternetSession;
-	DECLARE_DYNAMIC(CHttpFile)
-};
-
-// class CGopherFile is declared after CGopherLocator, below
-
-
-////////////////////////////////////////////////////////////////////////////
-// Connection types
-
-class CInternetConnection : public CObject
-{
-public:
-	CInternetConnection(CInternetSession* pSession, LPCTSTR pstrServer,
-		INTERNET_PORT nPort = INTERNET_INVALID_PORT_NUMBER,
-		DWORD dwContext = 1);
-
-// Operations
-	operator HINTERNET() const;
-	DWORD GetContext() const;
-	CInternetSession* GetSession() const;
-
-	CString GetServerName() const;
-
-	BOOL QueryOption(DWORD dwOption, LPVOID lpBuffer, LPDWORD lpdwBufLen) const;
-	BOOL QueryOption(DWORD dwOption, DWORD& dwValue) const;
-	BOOL QueryOption(DWORD dwOption, CString& refString) const;
-
-	BOOL SetOption(DWORD dwOption, LPVOID lpBuffer, DWORD dwBufferLength,
-			DWORD dwFlags = 0);
-	BOOL SetOption(DWORD dwOption, DWORD dwValue, DWORD dwFlags = 0);
-
-// Implementation
-protected:
-	HINTERNET m_hConnection;
-	DWORD m_dwContext;
-	CInternetSession* m_pSession;
-	virtual void Close();
-
-	CString m_strServerName;
-	INTERNET_PORT m_nPort;
-
-public:
-	~CInternetConnection();
-	DECLARE_DYNAMIC(CInternetConnection)
-
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-	void AssertValid() const;
-#endif
-};
-
-class CFtpConnection : public CInternetConnection
-{
-public:
-	CFtpConnection(CInternetSession* pSession, HINTERNET hConnected,
-		LPCTSTR pstrServer, DWORD dwContext);
-	CFtpConnection(CInternetSession* pSession, LPCTSTR pstrServer,
-		LPCTSTR pstrUserName = NULL, LPCTSTR pstrPassword = NULL,
-		DWORD dwContext = 0,
-		INTERNET_PORT nPort = INTERNET_INVALID_PORT_NUMBER,
-		BOOL bPassive = FALSE);
-
-	BOOL SetCurrentDirectory(LPCTSTR pstrDirName);
-
-	BOOL GetCurrentDirectory(CString& strDirName) const;
-	BOOL GetCurrentDirectory(LPTSTR pstrDirName, LPDWORD lpdwLen) const;
-	BOOL GetCurrentDirectoryAsURL(LPTSTR pstrName, LPDWORD lpdwLen) const;
-	BOOL GetCurrentDirectoryAsURL(CString& strDirName) const;
-
-	BOOL RemoveDirectory(LPCTSTR pstrDirName);
-	BOOL CreateDirectory(LPCTSTR pstrDirName);
-	BOOL Rename(LPCTSTR pstrExisting, LPCTSTR pstrNew);
-	BOOL Remove(LPCTSTR pstrFileName);
-
-	BOOL PutFile(LPCTSTR pstrLocalFile, LPCTSTR pstrRemoteFile,
-		DWORD dwFlags = FTP_TRANSFER_TYPE_BINARY, DWORD dwContext = 1);
-
-	BOOL GetFile(LPCTSTR pstrRemoteFile, LPCTSTR pstrLocalFile,
-		BOOL bFailIfExists = TRUE,
-		DWORD dwAttributes = FILE_ATTRIBUTE_NORMAL,
-		DWORD dwFlags = FTP_TRANSFER_TYPE_BINARY, DWORD dwContext = 1);
-
-	CInternetFile* OpenFile(LPCTSTR pstrFileName,
-		DWORD dwAccess = GENERIC_READ,
-		DWORD dwFlags = FTP_TRANSFER_TYPE_BINARY, DWORD dwContext = 1);
-
-	virtual void Close();
-
-// implementation
-	~CFtpConnection();
-
-protected:
-	CString m_strServerName;
-
-public:
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-	virtual void AssertValid() const;
-#endif
-
-	DECLARE_DYNAMIC(CFtpConnection)
-};
-
-class CHttpConnection : public CInternetConnection
-{
-public:
-	enum {
-		_HTTP_VERB_MIN      = 0,
-		HTTP_VERB_POST      = 0,
-		HTTP_VERB_GET       = 1,
-		HTTP_VERB_HEAD      = 2,
-		HTTP_VERB_PUT       = 3,
-		HTTP_VERB_LINK      = 4,
-		HTTP_VERB_DELETE    = 5,
-		HTTP_VERB_UNLINK    = 6,
-		_HTTP_VERB_MAX      = 6,
-	};
-
-public:
-	CHttpConnection(CInternetSession* pSession, HINTERNET hConnected,
-		LPCTSTR pstrServer, DWORD dwContext);
-	CHttpConnection(CInternetSession* pSession, LPCTSTR pstrServer,
-		INTERNET_PORT nPort = INTERNET_INVALID_PORT_NUMBER,
-		LPCTSTR pstrUserName = NULL, LPCTSTR pstrPassword = NULL,
-		DWORD dwContext = 1);
-	CHttpConnection(CInternetSession* pSession, LPCTSTR pstrServer,
-		DWORD dwFlags, INTERNET_PORT nPort = INTERNET_INVALID_PORT_NUMBER,
-		LPCTSTR pstrUserName = NULL, LPCTSTR pstrPassword = NULL,
-		DWORD dwContext = 1);
-
-	CHttpFile* OpenRequest(LPCTSTR pstrVerb,    LPCTSTR pstrObjectName,
-		LPCTSTR pstrReferer = NULL,DWORD dwContext = 1,
-		LPCTSTR* ppstrAcceptTypes = NULL, LPCTSTR pstrVersion = NULL,
-		DWORD dwFlags = INTERNET_FLAG_EXISTING_CONNECT);
-
-	CHttpFile* OpenRequest(int nVerb, LPCTSTR pstrObjectName,
-		LPCTSTR pstrReferer = NULL, DWORD dwContext = 1,
-		LPCTSTR* ppstrAcceptTypes = NULL, LPCTSTR pstrVersion = NULL,
-		DWORD dwFlags = INTERNET_FLAG_EXISTING_CONNECT);
-
-// implementation
-	~CHttpConnection();
-	virtual void Close();
-
-protected:
-	CString m_strServerName;
-	static const LPCTSTR szHtmlVerbs[];
-
-public:
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-	virtual void AssertValid() const;
-#endif
-
-	friend class CInternetSession;  // just to access szHtmlVerbs
-	DECLARE_DYNAMIC(CHttpConnection)
-};
-
-class CGopherConnection : public CInternetConnection
-{
-public:
-	CGopherConnection(CInternetSession* pSession,
-		HINTERNET hConnected, LPCTSTR pstrServer, DWORD dwContext);
-
-	CGopherConnection(CInternetSession* pSession, LPCTSTR pstrServer,
-		LPCTSTR pstrUserName = NULL, LPCTSTR pstrPassword = NULL,
-		DWORD dwContext = 0,
-		INTERNET_PORT nPort = INTERNET_INVALID_PORT_NUMBER);
-
-	CGopherFile* OpenFile(CGopherLocator& refLocator, DWORD dwFlags = 0,
-		LPCTSTR pstrView = NULL, DWORD dwContext = 1);
-
-	CGopherLocator CreateLocator(LPCTSTR pstrDisplayString,
-		LPCTSTR pstrSelectorString, DWORD dwGopherType);
-
-	BOOL CGopherConnection::GetAttribute(CGopherLocator& refLocator,
-		CString strRequestedAttributes, CString& strResult);
-
-	static CGopherLocator CreateLocator(LPCTSTR pstrLocator);
-	static CGopherLocator CreateLocator(LPCTSTR pstrServerName,
-		LPCTSTR pstrDisplayString,
-		LPCTSTR pstrSelectorString, DWORD dwGopherType,
-		INTERNET_PORT nPort = INTERNET_INVALID_PORT_NUMBER);
-
-// implementation
-	~CGopherConnection();
-	virtual void Close();
-
-public:
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-	virtual void AssertValid() const;
-#endif
-	DECLARE_DYNAMIC(CGopherConnection)
-};
-
-
-/////////////////////////////////////////////////////////////////////////////
-// CFtpFileFind
-
-class CFtpFileFind : public CFileFind
-{
-public:
-	CFtpFileFind(CFtpConnection* pConnection, DWORD dwContext = 1);
-	virtual ~CFtpFileFind();
-
-	virtual BOOL FindFile(LPCTSTR pstrName = NULL,
-		DWORD dwFlags = INTERNET_FLAG_RELOAD);
-	virtual BOOL FindNextFile();
-	CString GetFileURL() const;
-
-// implementation
-protected:
-	virtual void CloseContext();
-	CFtpConnection* m_pConnection;
-	DWORD m_dwContext;
-
-public:
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-	virtual void AssertValid() const;
-#endif
-
-	DECLARE_DYNAMIC(CFtpFileFind)
-};
-
-
-/////////////////////////////////////////////////////////////////////////////
-// CGopherLocator
-
-class CGopherLocator : public CObject
-{
-public:
-	~CGopherLocator();
-	operator LPCTSTR() const;
-	CGopherLocator(const CGopherLocator& ref);
-	BOOL GetLocatorType(DWORD& dwRef) const;
-
-private:
-	// this only created by CGopherConnection::CreateLocator or by serialization
-	CGopherLocator(LPCTSTR pstrLocator, DWORD dwLocLen);
-
-	CString m_Locator;  // _not_ a zero-terminated string!
-	DWORD m_dwBufferLength;
-
-	friend class CGopherConnection;
-	friend class CGopherFile;
-};
-
-
-/////////////////////////////////////////////////////////////////////////////
-// CGopherFile
-
-class CGopherFile : public CInternetFile
-{
-// Constructors
-protected:
-	CGopherFile(HINTERNET hFile, CGopherLocator& refLocator,
-		CGopherConnection* pConnection);
-	CGopherFile(HINTERNET hFile, HINTERNET hSession,
-		LPCTSTR pstrLocator, DWORD dwLocLen, DWORD dwContext);
-
-// Operations
-public:
-	virtual void Close();
-	virtual void Write(const void* lpBuf, UINT nCount);
-	void WriteString(LPCTSTR pstr);
-
-// Implementation
-protected:
-	CGopherLocator m_Locator;
-public:
-	virtual ~CGopherFile();
-
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-	friend class CInternetSession;
-	friend class CGopherConnection;
-	DECLARE_DYNAMIC(CGopherFile)
-};
-
-
-/////////////////////////////////////////////////////////////////////////////
-// CGopherFileFind
-
-class CGopherFileFind : public CFileFind
-{
-public:
-	CGopherFileFind(CGopherConnection* pConnection, DWORD dwContext = 1);
-	virtual ~CGopherFileFind();
-
-	virtual BOOL FindFile(CGopherLocator& refLocator, LPCTSTR pstrString,
-		DWORD dwFlags = INTERNET_FLAG_RELOAD);
-	virtual BOOL FindFile(LPCTSTR pstrString,
-		DWORD dwFlags = INTERNET_FLAG_RELOAD);
-	virtual BOOL FindNextFile();
-
-	virtual BOOL IsDots() const;
-
-	virtual BOOL GetLastWriteTime(FILETIME* pTimeStamp) const;
-	virtual BOOL GetLastAccessTime(FILETIME* pTimeStamp) const;
-	virtual BOOL GetCreationTime(FILETIME* pTimeStamp) const;
-	virtual BOOL GetLastWriteTime(CTime& refTime) const;
-	virtual BOOL GetLastAccessTime(CTime& refTime) const;
-	virtual BOOL GetCreationTime(CTime& refTime) const;
-
-	CGopherLocator GetLocator() const;
-	CString GetScreenName() const;
-
-	virtual DWORD GetLength() const;
-#if defined(_X86_) || defined(_ALPHA_)
-	virtual __int64 GetLength64() const;
-#endif
-
-protected:
-	virtual void CloseContext();
-	CGopherConnection* m_pConnection;
-	DWORD m_dwContext;
-
-// implementation
-public:
-	// Unsupported APIs
-	CString GetFileName() const;
-	CString GetFilePath() const;
-	CString GetFileTitle() const;
-	CString GetFileURL() const;
-	CString GetRoot() const;
-
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-	virtual void AssertValid() const;
-#endif
-	DECLARE_DYNAMIC(CGopherFileFind)
-};
-
-
-///////////////////////////////////////////////////////////////////////
-// CInternetException
-
-class CInternetException : public CException
-{
-public:
-// Constructor
-	CInternetException(DWORD dwError);
-
-// Attributes
-	DWORD m_dwError;
-	DWORD m_dwContext;
-
-// Implementation
-public:
-	~CInternetException();
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-	virtual BOOL GetErrorMessage(LPTSTR lpstrError, UINT nMaxError,
-		PUINT pnHelpContext = NULL);
-	DECLARE_DYNAMIC(CInternetException)
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// Inline function declarations
-
-#ifdef _AFX_ENABLE_INLINES
-#define _AFXINET_INLINE AFX_INLINE
-#include <afxinet.inl>
-#endif
-
-#undef AFX_DATA
-#define AFX_DATA
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, on)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, off)
-#endif
-
-#endif // __AFXINET_H__

+ 0 - 69
libs/mfc/include/afxinet.inl

@@ -1,69 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-// Inlines for AFXINET.H
-
-/////////////////////////////////////////////////////////////////////////////
-//
-
-#ifdef _AFXINET_INLINE
-
-_AFXINET_INLINE DWORD CInternetSession::GetContext() const
-	{ return m_dwContext; }
-
-_AFXINET_INLINE CString CInternetConnection::GetServerName() const
-	{ return m_strServerName; }
-
-_AFXINET_INLINE CInternetSession* CInternetConnection::GetSession() const
-	{ return m_pSession; }
-
-_AFXINET_INLINE CInternetSession::operator HINTERNET() const
-	{ return m_hSession; }
-
-_AFXINET_INLINE BOOL CInternetSession::SetOption(DWORD dwOption, DWORD dwValue,
-	DWORD dwFlags /* = 0 */)
-	{ ASSERT((dwFlags & INTERNET_FLAG_ASYNC) == 0); return SetOption(dwOption, &dwValue, sizeof(dwValue), dwFlags); }
-
-
-_AFXINET_INLINE CGopherLocator::operator LPCTSTR() const
-	{ return (LPCTSTR) m_Locator; }
-
-_AFXINET_INLINE BOOL CGopherLocator::GetLocatorType(DWORD& dwRef) const
-	{ return GopherGetLocatorType((LPCTSTR) m_Locator, &dwRef); }
-
-_AFXINET_INLINE CGopherLocator::CGopherLocator(const CGopherLocator& ref)
-	{ m_Locator = ref.m_Locator; m_dwBufferLength = ref.m_dwBufferLength; }
-
-
-_AFXINET_INLINE CInternetConnection::operator HINTERNET() const
-	{ return m_hConnection; }
-
-_AFXINET_INLINE DWORD CInternetConnection::GetContext() const
-	{ return m_dwContext; }
-
-_AFXINET_INLINE BOOL CInternetConnection::SetOption(DWORD dwOption,
-	DWORD dwValue, DWORD dwFlags /* = 0 */)
-	{ return SetOption(dwOption, &dwValue, sizeof(dwValue), dwFlags); }
-
-
-_AFXINET_INLINE DWORD CInternetFile::GetContext() const
-	{ return m_dwContext; }
-
-_AFXINET_INLINE CInternetFile::operator HINTERNET() const
-	{ return m_hFile; }
-
-_AFXINET_INLINE BOOL CInternetFile::SetOption(DWORD dwOption, DWORD dwValue,
-	DWORD dwFlags /* = 0 */)
-	{ ASSERT((dwFlags & INTERNET_FLAG_ASYNC) == 0); return SetOption(dwOption, &dwValue, sizeof(dwValue), dwFlags); }
-
-
-#endif //_AFXINET_INLINE
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 614
libs/mfc/include/afxisapi.h

@@ -1,614 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXISAPI_H_
-#define __AFXISAPI_H_
-
-#ifdef _UNICODE
-#error ERROR: ISAPI does not yet support Unicode.
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// Turn off warnings for /W4
-// To resume any of these warning: #pragma warning(default: 4xxx)
-// which should be placed after the AFX include files
-#ifndef ALL_WARNINGS
-// warnings generated with common MFC/Windows code
-#pragma warning(disable: 4127)  // constant expression for TRACE/ASSERT
-#pragma warning(disable: 4134)  // message map member fxn casts
-#pragma warning(disable: 4201)  // nameless unions are part of C++
-#pragma warning(disable: 4511)  // private copy constructors are good to have
-#pragma warning(disable: 4512)  // private operator= are good to have
-#pragma warning(disable: 4514)  // unreferenced inlines are common
-#pragma warning(disable: 4710)  // private constructors are disallowed
-#pragma warning(disable: 4705)  // statement has no effect in optimized code
-#pragma warning(disable: 4191)  // pointer-to-function casting
-// warnings caused by normal optimizations
-#ifndef MFC_DEBUG
-#pragma warning(disable: 4701)  // local variable *may* be used without init
-#pragma warning(disable: 4702)  // unreachable code caused by optimizations
-#pragma warning(disable: 4791)  // loss of debugging info in retail version
-#pragma warning(disable: 4189)  // initialized but unused variable
-#pragma warning(disable: 4390)  // empty controlled statement
-#endif
-// warnings specific to _AFXDLL version
-#ifdef _AFXDLL
-#pragma warning(disable: 4204)  // non-constant aggregate initializer
-#endif
-#ifdef _AFXDLL
-#pragma warning(disable: 4275)  // deriving exported class from non-exported
-#pragma warning(disable: 4251)  // using non-exported as public in exported
-#endif
-#endif //!ALL_WARNINGS
-
-#define STRICT 1
-
-#ifndef MFC_DEBUG
-#ifndef _AFX_ENABLE_INLINES
-#define _AFX_ENABLE_INLINES
-#endif
-#endif
-
-#include <httpext.h>
-#include <httpfilt.h>
-
-#ifndef _INC_STDLIB
-	#include <stdlib.h>
-#endif
-#ifndef _INC_TCHAR
-	#include <tchar.h>
-#endif
-
-#ifndef UNUSED
-#ifdef MFC_DEBUG
-#define UNUSED(x)
-#else
-#define UNUSED(x) x
-#endif
-#endif
-
-#define AFXISAPI __stdcall
-#define AFXIS_DATADEF
-#define AFXISAPI_CDECL __cdecl
-
-#ifndef AFX_INLINE
-#define AFX_INLINE __forceinline
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// Internet Server API Library
-
-#ifndef _AFX_NOFORCE_LIBS
-
-#ifdef _AFXDLL
-#ifdef MFC_DEBUG
-	#ifdef _UNICODE
-		#pragma comment(lib, "MFCISUD.lib")
-	#else
-		#pragma comment(lib, "EAFXISD.lib")
-	#endif
-#else
-	#ifdef _UNICODE
-		#pragma comment(lib, "MFCISU.lib")
-	#else
-		#pragma comment(lib, "EAFXIS.lib")
-	#endif // _UNICODE
-#endif // MFC_DEBUG
-#else
-#ifdef MFC_DEBUG
-	#ifdef _UNICODE
-		#pragma comment(lib, "UAFXISD.lib")
-	#else
-		#pragma comment(lib, "NAFXISD.lib")
-	#endif
-#else
-	#ifdef _UNICODE
-		#pragma comment(lib, "UAFXIS.lib")
-	#else
-		#pragma comment(lib, "NAFXIS.lib")
-	#endif // _UNICODE
-#endif // MFC_DEBUG
-#endif // _AFXDLL
-
-#pragma comment(lib, "kernel32.lib")
-#pragma comment(lib, "user32.lib")
-#pragma comment(lib, "winspool.lib")
-#pragma comment(lib, "advapi32.lib")
-
-#endif // _AFX_NOFORCE_LIBS
-
-extern HINSTANCE AFXISAPI AfxGetResourceHandle();
-
-/////////////////////////////////////////////////////////////////////////////
-// AFXIASPI - MFC Internet Server API support
-
-// Classes declared in this file
-
-class CHtmlStream;
-class CHttpServerContext;
-class CHttpServer;
-class CHttpFilterContext;
-class CHttpFilter;
-
-// Classes this file uses from elsewhere, sometimes
-
-#ifdef _AFX
-class CLongBinary;
-class CByteArray;
-#endif
-
-///////////////////////////////////////////////////////////////////////
-// CHtmlStream -- manages in-memory HTML
-
-class CHtmlStream
-{
-public:
-// Constructors
-	CHtmlStream(UINT nGrowBytes = 4096);
-	CHtmlStream(BYTE* lpBuffer, UINT nBufferSize, UINT nGrowBytes = 0);
-
-// Operations
-	void Attach(BYTE* lpBuffer, UINT nBufferSize, UINT nGrowBytes = 0);
-	BYTE* Detach();
-	DWORD GetStreamSize() const;
-
-	virtual void Abort();
-	virtual void Close();
-	virtual void InitStream();
-	virtual void Reset();
-
-	virtual void Write(const void* lpBuf, UINT nCount);
-
-	CHtmlStream& operator<<(LPCTSTR psz);
-	CHtmlStream& operator<<(short int w);
-	CHtmlStream& operator<<(long int dw);
-	CHtmlStream& operator<<(const CHtmlStream& stream);
-	CHtmlStream& operator<<(double d);
-	CHtmlStream& operator<<(float f);
-
-#ifdef _AFX
-	CHtmlStream& operator<<(const CByteArray& array);
-	CHtmlStream& operator<<(const CLongBinary& blob);
-#endif
-
-// Advanced Overridables
-protected:
-	virtual BYTE* Alloc(DWORD nBytes);
-	virtual BYTE* Realloc(BYTE* lpMem, DWORD nBytes);
-	virtual BYTE* Memcpy(BYTE* lpMemTarget, const BYTE* lpMemSource, UINT nBytes);
-	virtual void GrowStream(DWORD dwNewLen);
-
-	DWORD   m_nStreamSize;
-
-public:
-	virtual void Free(BYTE* lpMem);
-
-// Implementation
-protected:
-	UINT    m_nGrowBytes;
-	DWORD   m_nPosition;
-	DWORD   m_nBufferSize;
-	BYTE*   m_lpBuffer;
-	BOOL    m_bAutoDelete;
-
-public:
-	virtual ~CHtmlStream();
-};
-
-
-///////////////////////////////////////////////////////////////////////
-// Status codes for HTTP transactions
-
-#ifndef _WININET_ // these symbols may come from WININET.H
-
-#define HTTP_STATUS_OK              200     // OK
-#define HTTP_STATUS_CREATED         201     // created
-#define HTTP_STATUS_ACCEPTED        202     // accepted
-#define HTTP_STATUS_NO_CONTENT      204     // no content
-#define HTTP_STATUS_REDIRECT        301     // moved permanently
-#define HTTP_STATUS_TEMP_REDIRECT   302     // moved temporarily
-#define HTTP_STATUS_NOT_MODIFIED    304     // not modified
-#define HTTP_STATUS_BAD_REQUEST     400     // bad request
-#define HTTP_STATUS_AUTH_REQUIRED   401     // unauthorized
-#define HTTP_STATUS_FORBIDDEN       403     // forbidden
-#define HTTP_STATUS_NOT_FOUND       404     // not found
-#define HTTP_STATUS_SERVER_ERROR    500     // internal server error
-#define HTTP_STATUS_NOT_IMPLEMENTED 501     // not implemented
-#define HTTP_STATUS_BAD_GATEWAY     502     // bad gateway
-#define HTTP_STATUS_SERVICE_NA      503     // service unavailable
-
-#endif
-
-///////////////////////////////////////////////////////////////////////
-// Parse Map macros
-
-#ifndef AFX_PARSE_CALL
-#define AFX_PARSE_CALL
-#endif
-
-typedef void (AFX_PARSE_CALL CHttpServer::*AFX_PISAPICMD)(CHttpServerContext* pCtxt);
-
-struct AFX_PARSEMAP_ENTRY;  // declared after CHttpServer, below
-
-struct AFX_PARSEMAP
-{
-	UINT (PASCAL* pfnGetNumMapEntries)();
-#ifdef _AFXDLL
-	const AFX_PARSEMAP* (PASCAL* pfnGetBaseMap)();
-#else
-	const AFX_PARSEMAP* pBaseMap;
-#endif
-	const AFX_PARSEMAP_ENTRY* lpEntries;
-	~AFX_PARSEMAP();
-};
-
-struct AFX_PARSEMAP_ENTRY_PARAMS
-{
-	int nParams;            // number of parameters
-	int nRequired;          // number of parameters without defaults
-	// all of these are arrays!
-	LPTSTR* ppszInfo;       // pointers to name[2n], pointer to default[2n+1]
-	BYTE*   ppszDefaults;   // pointers to coerced default values
-	BYTE*   ppszValues;     // pointers to coerced actual values
-	~AFX_PARSEMAP_ENTRY_PARAMS();
-};
-
-#ifdef _AFXDLL
-#define DECLARE_PARSE_MAP() \
-private: \
-	static AFX_PARSEMAP_ENTRY _parseEntries[]; \
-public: \
-	static const AFX_PARSEMAP parseMap; \
-	static const AFX_PARSEMAP* PASCAL _GetBaseParseMap(); \
-	static UINT PASCAL GetNumMapEntries(); \
-	virtual const AFX_PARSEMAP* GetParseMap() const; \
-
-#else
-#define DECLARE_PARSE_MAP() \
-private: \
-	static AFX_PARSEMAP_ENTRY _parseEntries[]; \
-public: \
-	static const AFX_PARSEMAP parseMap; \
-	static UINT PASCAL GetNumMapEntries(); \
-	virtual const AFX_PARSEMAP* GetParseMap() const; \
-
-#endif // _AFXDLL
-
-#ifdef _AFXDLL
-#define BEGIN_PARSE_MAP(theClass, baseClass) \
-	const AFX_PARSEMAP* PASCAL theClass::_GetBaseParseMap() \
-		{ return &baseClass::parseMap; } \
-	typedef void (AFX_PARSE_CALL theClass::*theClass##CALL)(CHttpServerContext*); \
-	const AFX_PARSEMAP* theClass::GetParseMap() const \
-		{ return &theClass::parseMap; } \
-	AFXIS_DATADEF const AFX_PARSEMAP theClass::parseMap = \
-		{ &theClass::GetNumMapEntries, &theClass::_GetBaseParseMap, &theClass::_parseEntries[0] }; \
-	AFX_PARSEMAP_ENTRY theClass::_parseEntries[] = \
-	{ \
-
-#else
-#define BEGIN_PARSE_MAP(theClass, baseClass) \
-	typedef void (AFX_PARSE_CALL theClass::*theClass##CALL)(CHttpServerContext*); \
-	const AFX_PARSEMAP* theClass::GetParseMap() const \
-		{ return &theClass::parseMap; } \
-	AFXIS_DATADEF const AFX_PARSEMAP theClass::parseMap = \
-		{ &theClass::GetNumMapEntries, &baseClass::parseMap, &theClass::_parseEntries[0] }; \
-	AFX_PARSEMAP_ENTRY theClass::_parseEntries[] = \
-	{ \
-
-#endif
-
-#define ON_PARSE_COMMAND(FnName, mapClass, Args) \
-	{ _T(#FnName), (AFX_PISAPICMD) (mapClass##CALL)mapClass::FnName,\
-		Args, NULL },
-
-#define ON_PARSE_COMMAND_PARAMS(Params) \
-	{ NULL, (AFX_PISAPICMD) NULL, Params, NULL },
-
-#define DEFAULT_PARSE_COMMAND(FnName, mapClass) \
-	{ _T(#FnName), (AFX_PISAPICMD) (mapClass##CALL)mapClass::FnName,\
-		NULL, NULL },
-
-#define END_PARSE_MAP(theClass) \
-	}; \
-	UINT PASCAL theClass::GetNumMapEntries() { \
-		return sizeof(theClass::_parseEntries) /\
-		sizeof(AFX_PARSEMAP_ENTRY); } \
-
-
-///////////////////////////////////////////////////////////////////////
-//
-
-class CHttpServerContext
-{
-public:
-	CHttpServerContext(EXTENSION_CONTROL_BLOCK* pECB);
-	virtual ~CHttpServerContext();
-
-// Operations
-	BOOL GetServerVariable(LPTSTR lpszVariableName,
-		LPVOID lpvBuffer, LPDWORD lpdwSize);
-	BOOL WriteClient(LPVOID lpvBuffer, LPDWORD lpdwBytes, DWORD dwReserved = 0);
-	BOOL ReadClient(LPVOID lpvBuffer, LPDWORD lpdwSize);
-	BOOL ServerSupportFunction(DWORD dwHSERRequest,
-		LPVOID lpvBuffer, LPDWORD lpdwSize, LPDWORD lpdwDataType);
-	BOOL TransmitFile(HANDLE hFile,
-		DWORD dwFlags = HSE_IO_DISCONNECT_AFTER_SEND,
-		LPVOID pstrHeader = NULL, DWORD dwHeaderLen = 0,
-		LPVOID pstrTrailer = NULL, DWORD dwTrailerLen = 0);
-
-	CHttpServerContext& operator<<(LPCTSTR psz);
-	CHttpServerContext& operator<<(long int dw);
-	CHttpServerContext& operator<<(short int w);
-	CHttpServerContext& operator<<(const CHtmlStream& stream);
-	CHttpServerContext& operator<<(double d);
-	CHttpServerContext& operator<<(float f);
-
-#ifdef _AFX
-	CHttpServerContext& operator<<(const CLongBinary& blob);
-	CHttpServerContext& operator<<(const CByteArray& array);
-#endif
-
-	DWORD SetChunkSize(DWORD dwNewSize);
-	DWORD GetChunkSize() const;
-
-	void Reset();
-
-// Attributes
-public:
-	BOOL m_bSendHeaders;
-	DWORD m_dwStatusCode;
-	EXTENSION_CONTROL_BLOCK* const m_pECB;
-	CHtmlStream* m_pStream;
-	DWORD m_dwEndOfHeaders;
-#ifdef MFC_DEBUG
-	DWORD m_dwOldEndOfHeaders;
-#endif
-
-// Implementation
-	DWORD m_dwBytesReceived;
-	DWORD m_dwChunkSize;
-};
-
-
-///////////////////////////////////////////////////////////////////////
-// Internet Information Server Extension Support
-
-class CHttpServer
-{
-public:
-	CHttpServer(TCHAR cDelimiter = '&');
-	virtual ~CHttpServer();
-
-	enum errors {
-		callOK = 0,         // everything is fine
-		callParamRequired,  // a required parameter was missing
-		callBadParamCount,  // there were too many or too few parameters
-		callBadCommand,     // the command name was not found
-		callNoStackSpace,   // no stack space was available
-		callNoStream,       // no CHtmlStream was available
-		callMissingQuote,   // a parameter had a bad format
-		callMissingParams,  // no parameters were available
-		callBadParam,       // a paremeter had a bad format (ie, only one quote)
-	};
-
-// overridables
-	virtual int CallFunction(CHttpServerContext* pCtxt,
-		LPTSTR pszQuery, LPTSTR pszCommand);
-	virtual BOOL OnParseError(CHttpServerContext* pCtxt, int nCause);
-	virtual BOOL OnWriteBody(CHttpServerContext* pCtxt, LPBYTE pbContent,
-		DWORD dwSize, DWORD dwReserved = 0);
-
-// operations
-	virtual void EndContent(CHttpServerContext* pCtxt) const;
-	virtual void StartContent(CHttpServerContext* pCtxt) const;
-	virtual void WriteTitle(CHttpServerContext* pCtxt) const;
-	virtual LPCTSTR GetTitle() const;
-	void AddHeader(CHttpServerContext* pCtxt, LPCTSTR pszString) const;
-
-	virtual BOOL TerminateExtension(DWORD dwFlags);
-	virtual DWORD HttpExtensionProc(EXTENSION_CONTROL_BLOCK *pECB);
-	virtual BOOL GetExtensionVersion(HSE_VERSION_INFO *pVer);
-	virtual CHtmlStream* ConstructStream();
-
-	virtual BOOL InitInstance(CHttpServerContext* pCtxt);
-
-// implementation
-protected:
-	UINT PASCAL GetStackSize(const BYTE* pbParams);
-	int CallMemberFunc(CHttpServerContext* pCtxt,
-		const AFX_PARSEMAP_ENTRY* pEntry,
-		AFX_PARSEMAP_ENTRY* pParams, LPTSTR szParams);
-	LPTSTR GetQuery(CHttpServerContext* pCtxt, LPTSTR lpszQuery);
-	const AFX_PARSEMAP_ENTRY* LookUp(LPCTSTR szMethod,
-		const AFX_PARSEMAP*& pMap, AFX_PARSEMAP_ENTRY*& pParams,
-		AFX_PISAPICMD pCmdDefault = NULL);
-	int CountParams(LPCTSTR pszCommandLine, int& nCount);
-	int ParseDefaultParams(AFX_PARSEMAP_ENTRY* pParams,
-		int nParams, AFX_PARSEMAP_ENTRY_PARAMS*& pBlock,
-		const BYTE* pbTypes);
-	LPVOID PreprocessString(LPTSTR psz);
-	void BuildStatusCode(LPTSTR szResponse, DWORD dwCode);
-
-#ifdef _PPC_
-	int PushDefaultStackArgs(BYTE* pStack,
-		CHttpServerContext* pCtxt, const BYTE* pbParams,
-		LPTSTR lpszParams, AFX_PARSEMAP_ENTRY_PARAMS* pDefParams,
-		int nSizeArgs);
-	int PushStackArgs(BYTE* pStack, CHttpServerContext* pCtxt,
-		const BYTE* pbParams, LPTSTR lpszParams, UINT nSizeArgs);
-	BYTE* StoreStackParameter(BYTE* pStack, BYTE nType,
-		LPTSTR pszCurParam, UINT nSizeArgs, BOOL bDoShadow);
-	BYTE* StoreRawStackParameter(BYTE* pStack, BYTE nType,
-		BYTE* pRawParam, int nSizeArgs);
-#else
-	int PushDefaultStackArgs(BYTE* pStack,
-		CHttpServerContext* pCtxt, const BYTE* pbParams,
-		LPTSTR lpszParams, AFX_PARSEMAP_ENTRY_PARAMS* pDefParams);
-	int PushStackArgs(BYTE* pStack, CHttpServerContext* pCtxt,
-		const BYTE* pbParams, LPTSTR lpszParams);
-	BYTE* StoreStackParameter(BYTE* pStack, BYTE nType, LPTSTR pszParam);
-	BYTE* StoreRawStackParameter(BYTE* pStack, BYTE nType, BYTE* pRawParam);
-#endif
-
-	LPCRITICAL_SECTION m_pCritSec;
-	const TCHAR m_cTokenDelimiter;  // can't EVER change
-
-	DECLARE_PARSE_MAP()
-};
-
-extern "C" BOOL WINAPI GetExtensionVersion(HSE_VERSION_INFO *pVer);
-extern "C" DWORD WINAPI HttpExtensionProc(EXTENSION_CONTROL_BLOCK *pECB);
-
-struct AFX_PARSEMAP_ENTRY
-{
-	LPTSTR          pszFnName;     // if default param entry, ptr to AFX_PARSEMAP_ENTRY_PARAMS
-	AFX_PISAPICMD   pfn;           // NULL if default param entry
-	LPCSTR          pszArgs;       // NULL if default function entry
-	LPSTR           pszParamInfo;  // copy of pszArgs for parsing
-};
-
-///////////////////////////////////////////////////////////////////////
-// Constants to describe parameter types
-
-#define ITS_EMPTY           "\x06"      // no parameters
-#define ITS_I2              "\x01"      // a 'short'
-#define ITS_I4              "\x02"      // a 'long'
-#define ITS_R4              "\x03"      // a 'float'
-#define ITS_R8              "\x04"      // a 'double'
-#define ITS_PSTR            "\x05"      // a 'LPCTSTR'
-#define ITS_RAW                         "\x07"          // exactly as received
-
-enum INETVARENUM
-{
-	IT_I2       = 1,
-	IT_I4       = 2,
-	IT_R4       = 3,
-	IT_R8       = 4,
-	IT_PSTR     = 5,
-	IT_EMPTY    = 6,
-	IT_RAW          = 7,
-};
-
-
-///////////////////////////////////////////////////////////////////////
-// Internet Information Server Entry Points
-
-extern "C" DWORD WINAPI HttpFilterProc(PHTTP_FILTER_CONTEXT pfc,
-	DWORD dwNotificationType, LPVOID pvNotification);
-
-extern "C" BOOL WINAPI GetFilterVersion(PHTTP_FILTER_VERSION pVer);
-
-
-///////////////////////////////////////////////////////////////////////
-// Internet Information Server Filter Support
-
-class CHttpFilterContext
-{
-public:
-	CHttpFilterContext(PHTTP_FILTER_CONTEXT pfc);
-	~CHttpFilterContext() { }
-
-	BOOL GetServerVariable(LPTSTR lpszVariableName, LPVOID lpvBuffer,
-		LPDWORD lpdwSize);
-	BOOL AddResponseHeaders(LPTSTR lpszHeaders, DWORD dwReserved = 0);
-	BOOL WriteClient(LPVOID lpvBuffer, LPDWORD lpdwBytes,
-		DWORD dwReserved = 0);
-	LPVOID AllocMem(DWORD cbSize, DWORD dwReserved = 0);
-	BOOL ServerSupportFunction(enum SF_REQ_TYPE sfReq,
-		LPVOID lpvBuffer, LPDWORD lpdwSize, LPDWORD lpdwDataType);
-
-	PHTTP_FILTER_CONTEXT const m_pFC;
-};
-
-
-///////////////////////////////////////////////////////////////////////
-//
-
-class CHttpFilter
-{
-public:
-	CHttpFilter();
-	~CHttpFilter();
-
-protected:
-
-public:
-	virtual DWORD HttpFilterProc(PHTTP_FILTER_CONTEXT pfc,
-		DWORD dwNotificationType, LPVOID pvNotification);
-	virtual BOOL GetFilterVersion(PHTTP_FILTER_VERSION pVer);
-
-	virtual DWORD OnReadRawData(CHttpFilterContext* pfc, PHTTP_FILTER_RAW_DATA pRawData);
-	virtual DWORD OnPreprocHeaders(CHttpFilterContext* pfc, PHTTP_FILTER_PREPROC_HEADERS pHeaders);
-	virtual DWORD OnAuthentication(CHttpFilterContext* pfc, PHTTP_FILTER_AUTHENT pAuthent);
-	virtual DWORD OnUrlMap(CHttpFilterContext* pfc, PHTTP_FILTER_URL_MAP pUrlMap);
-	virtual DWORD OnSendRawData(CHttpFilterContext* pfc, PHTTP_FILTER_RAW_DATA pRawData);
-	virtual DWORD OnLog(CHttpFilterContext* pfc, PHTTP_FILTER_LOG pLog);
-	virtual DWORD OnEndOfNetSession(CHttpFilterContext* pfc);
-	virtual DWORD OnEndOfRequest(CHttpFilterContext* pfc);
-};
-
-
-/////////////////////////////////////////////////////////////////////////////
-// Alternate debugging suppot
-
-#ifndef __BORLANDC__
-#include <crtdbg.h>
-#endif
-
-#ifdef _AFX
-#define ISAPIASSERT(expr)                   ASSERT(expr)
-#define ISAPITRACE                          TRACE
-#define ISAPITRACE0(str)                    TRACE0(str)
-#define ISAPITRACE1(str, arg1)              TRACE1(str, arg1)
-#define ISAPITRACE2(str, arg1, arg2)        TRACE2(str, arg1, arg2)
-#define ISAPITRACE3(str, arg1, arg2, arg3)  TRACE3(str, arg1, arg2, arg3)
-#ifdef MFC_DEBUG
-#define ISAPIVERIFY(f)                      ASSERT(f)
-#else
-#define ISAPIVERIFY(f)                      ((void)(f))
-#endif // MFC_DEBUG
-#else // !_AFX
-#define ISAPIASSERT(expr)                   _ASSERTE(expr)
-#define ISAPITRACE0(str)                    _RPT0(_CRT_WARN, str)
-#define ISAPITRACE1(str, arg1)              _RPT1(_CRT_WARN, str, arg1)
-#define ISAPITRACE2(str, arg1, arg2)        _RPT2(_CRT_WARN, str, arg1, arg2)
-#define ISAPITRACE3(str, arg1, arg2, arg3)  _RPT3(_CRT_WARN, arg1, arg2, arg3)
-#ifdef MFC_DEBUG
-void AFXISAPI_CDECL AfxISAPITrace(LPCTSTR lpszFormat, ...);
-#define ISAPIVERIFY(expr)                   _ASSERTE(expr)
-#define ISAPITRACE                          AfxISAPITrace
-#else
-AFX_INLINE void AfxISAPITrace(LPCTSTR, ...) { }
-#define ISAPIVERIFY(expr)                   ((void)(expr))
-#define ISAPITRACE                          AfxISAPITrace
-#endif // MFC_DEBUG
-#endif // _AFX
-
-
-/////////////////////////////////////////////////////////////////////////////
-// Inline function declarations
-
-#ifdef _AFX_ENABLE_INLINES
-#define _AFXISAPI_INLINE AFX_INLINE
-#include <afxisapi.inl>
-#endif
-
-#undef AFX_DATA
-#define AFX_DATA
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, on)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, off)
-#endif
-
-#endif // the whole file

+ 0 - 123
libs/mfc/include/afxisapi.inl

@@ -1,123 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1995-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-// Inlines for AFXISAPI.H
-
-#ifdef _AFXISAPI_INLINE
-
-_AFXISAPI_INLINE CHttpServerContext::CHttpServerContext(EXTENSION_CONTROL_BLOCK* pECB)
-#ifdef MFC_DEBUG
-	: m_dwStatusCode(DWORD(-1)), m_bSendHeaders(TRUE), m_pECB(pECB),
-	  m_pStream(NULL), m_dwEndOfHeaders(0), m_dwOldEndOfHeaders(0),
-	  m_dwChunkSize(0)
-#else
-	: m_dwStatusCode(DWORD(-1)), m_bSendHeaders(TRUE), m_pECB(pECB),
-	  m_pStream(NULL), m_dwEndOfHeaders(0), m_dwChunkSize(0)
-#endif
-	{ }
-
-_AFXISAPI_INLINE CHttpServerContext::~CHttpServerContext()
-	{ if (m_pStream != NULL) delete m_pStream; }
-
-_AFXISAPI_INLINE CHttpServerContext& CHttpServerContext::operator<<(double d)
-	{ ISAPIASSERT(m_pStream != NULL);
-		if (m_pStream != NULL) *m_pStream << d;
-		return *this; }
-
-_AFXISAPI_INLINE CHttpServerContext& CHttpServerContext::operator<<(float f)
-	{ ISAPIASSERT(m_pStream != NULL);
-		if (m_pStream != NULL) *m_pStream << f;
-		return *this; }
-
-_AFXISAPI_INLINE CHttpServerContext& CHttpServerContext::operator<<(long int dw)
-	{ ISAPIASSERT(m_pStream != NULL);
-		if (m_pStream != NULL) *m_pStream << dw;
-		return *this; }
-
-_AFXISAPI_INLINE CHttpServerContext& CHttpServerContext::operator<<(short int w)
-	{ ISAPIASSERT(m_pStream != NULL);
-		if (m_pStream != NULL) *m_pStream << w;
-		return *this; }
-
-_AFXISAPI_INLINE CHttpServerContext& CHttpServerContext::operator<<(const CHtmlStream& stream)
-	{ ISAPIASSERT(m_pStream != NULL);
-		if (m_pStream != NULL) *m_pStream << stream;
-		return *this; }
-
-_AFXISAPI_INLINE CHttpServerContext& CHttpServerContext::operator<<(LPCTSTR psz)
-	{ ISAPIASSERT(m_pStream != NULL && psz != NULL);
-		if (m_pStream != NULL && psz != NULL) *m_pStream << psz;
-		return *this; }
-
-_AFXISAPI_INLINE BOOL CHttpServerContext::GetServerVariable(LPTSTR lpszVariableName,
-		LPVOID lpvBuffer, LPDWORD lpdwSize)
-	{
-		return m_pECB->GetServerVariable(m_pECB->ConnID,
-			lpszVariableName, lpvBuffer, lpdwSize);
-	}
-
-_AFXISAPI_INLINE BOOL CHttpServerContext::WriteClient(LPVOID pBuffer, LPDWORD lpdwBytes,
-	DWORD dwReserved /* = 0 */)
-	{
-		return m_pECB->WriteClient(m_pECB->ConnID, pBuffer,
-			lpdwBytes, dwReserved);
-	}
-
-_AFXISAPI_INLINE BOOL CHttpServerContext::ReadClient(LPVOID lpvBuffer, LPDWORD lpdwSize)
-	{
-		return m_pECB->ReadClient(m_pECB->ConnID, lpvBuffer, lpdwSize);
-	}
-
-_AFXISAPI_INLINE BOOL CHttpServerContext::ServerSupportFunction(DWORD dwHSERRequest,
-		LPVOID lpvBuffer, LPDWORD lpdwSize, LPDWORD lpdwDataType)
-	{
-		return m_pECB->ServerSupportFunction(m_pECB->ConnID, dwHSERRequest,
-			lpvBuffer, lpdwSize, lpdwDataType);
-	}
-
-
-_AFXISAPI_INLINE DWORD CHtmlStream::GetStreamSize() const
-	{ return m_nStreamSize; }
-
-
-_AFXISAPI_INLINE CHttpFilterContext::CHttpFilterContext(PHTTP_FILTER_CONTEXT pCtx)
-	: m_pFC(pCtx)
-	{ }
-
-_AFXISAPI_INLINE BOOL CHttpFilterContext::GetServerVariable(LPTSTR lpszVariableName,
-		LPVOID lpvBuffer, LPDWORD lpdwSize)
-	{
-		return m_pFC->GetServerVariable(m_pFC, lpszVariableName, lpvBuffer, lpdwSize);
-	}
-_AFXISAPI_INLINE BOOL CHttpFilterContext::AddResponseHeaders(LPTSTR lpszHeaders,
-		DWORD dwReserved /* = 0 */)
-	{
-		return m_pFC->AddResponseHeaders(m_pFC, lpszHeaders, dwReserved);
-	}
-_AFXISAPI_INLINE BOOL CHttpFilterContext::WriteClient(LPVOID lpvBuffer,
-		LPDWORD lpdwBytes, DWORD dwReserved /* = 0 */)
-	{
-		return m_pFC->WriteClient(m_pFC, lpvBuffer, lpdwBytes, dwReserved);
-	}
-_AFXISAPI_INLINE LPVOID CHttpFilterContext::AllocMem(DWORD cbSize,
-		DWORD dwReserved /* = 0 */)
-	{
-		return m_pFC->AllocMem(m_pFC, cbSize, dwReserved);
-	}
-_AFXISAPI_INLINE BOOL CHttpFilterContext::ServerSupportFunction(enum SF_REQ_TYPE sfReq,
-		LPVOID lpvBuffer, LPDWORD lpdwSize, LPDWORD lpdwDataType)
-	{
-//WINBUG: HTTPFLT.H has the last two params as type DWORD
-		return m_pFC->ServerSupportFunction(m_pFC, sfReq, lpvBuffer,
-			(DWORD) lpdwSize, (DWORD) lpdwDataType);
-	}
-
-
-#endif // _AFXISAPI_INLINE

+ 0 - 45
libs/mfc/include/afxisapi.rc

@@ -1,45 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXISAPI_RC__
-#define __AFXISAPI_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< Cannot change standard MFC resources! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// ISAPI HTML Text for HTTP error conditions
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDS_HTTP_TITLE          "<HEAD><TITLE>HTTP Error %d</TITLE></HEAD>"
-	AFX_IDS_HTTP_NO_TEXT        "<BODY><H1>HTTP Error %d: No message available</H1></BODY>\r\n"
-	AFX_IDS_HTTP_BAD_REQUEST    "<BODY><H1>BAD REQUEST</H1><P>Your client sent a request that this server didn't understand.<br>Request: %s\r\n"
-	AFX_IDS_HTTP_AUTH_REQUIRED "<BODY><H1>AUTH REQUIRED</H1><P>Browser not authentication-capable or authentication failed.</BODY>\r\n"
-	AFX_IDS_HTTP_FORBIDDEN  "<BODY><H1>FORBIDDEN</H1><P>Your client does not have permission to get this URL from the server.</BODY>\r\n"
-	AFX_IDS_HTTP_NOT_FOUND  "<BODY><H1>NOT FOUND</H1><P>The requested URL was not found on this server.</BODY>\r\n"
-	AFX_IDS_HTTP_SERVER_ERROR   "<BODY><H1>SERVER ERROR</H1>The server encountered an internal error or misconfiguration and was unable to complete your request.</BODY>\r\n"
-	AFX_IDS_HTTP_NOT_IMPLEMENTED "<BODY><H1>NOT IMPLEMENTED</H1>The server is unable to perform the method <b>%s</b> at this time.</BODY>\r\n"
-END
-
-
-#endif //!_AFXDLL
-#endif //!__AFXISAPI_RC__

+ 0 - 710
libs/mfc/include/afxmsg_.h

@@ -1,710 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-// Do not include this file directly (included by AFXWIN.H)
-
-/////////////////////////////////////////////////////////////////////////////
-
-// Entries in a message map (a 'AFX_MSGMAP_ENTRY') table can be of 9 formats
-//
-// 1) control notification message (i.e. in response to WM_COMMAND)
-//      WM_COMMAND, nNotifyCode, nControlID, nControlID, signature type, parameterless member function
-//      (eg: WM_COMMAND, LBN_SELCHANGE, IDC_LISTBOX, AfxSig_vv, ... )
-// 2) control notification message range (i.e. in response to WM_COMMAND)
-//      WM_COMMAND, nNotifyCode, nControlIDFirst, nControlIDLast, signature type, parameterless member function
-//      (eg: WM_COMMAND, LBN_SELCHANGE, IDC_LISTBOX1, IDC_LISTBOX5, AfxSig_vw, ... )
-// 3) WM_NOTIFY notification
-//      WM_NOTIFY, nNotifyCode, nControlID, nControlID, signature type, ...)
-// 3) Update Command UI
-//      -1, 0, nControlID, 0, signature Unknown, parameterless member function
-// 4) Update Command UI Range
-//      -1, 0, nControlIDFirst, nControlIDLast, signature Unknown, parameterless member function
-// 5) menu/accelerator notification message (i.e. special case of first format)
-//      WM_COMMAND, 0, nID, 0, signature type, parameterless member function
-//      (eg: WM_COMMAND, 0, IDM_FILESAVE, 0, AfxSig_vv, ... )
-// 6) menu/accelerator notification message range
-//      WM_COMMAND, 0, nIDFirst, nIDLast, signature type, parameterless member function
-//      (eg: WM_COMMAND, 0, IDM_FILE_MRU1, IDM_FILE_MRU4, AfxSig_vw, ... )
-// 7) constant windows message
-//      nMessage, 0, 0, 0, signature type, member function
-//      (eg: WM_PAINT, 0, ...)
-// 8) variable windows message (using RegisterWindowMessage)
-//      0xC000, 0, 0, 0, &nMessage, special member function
-//
-// The end of the message map is marked with a special value
-//      0, 0, AfxSig_end, 0
-/////////////////////////////////////////////////////////////////////////////
-
-enum AfxSig
-{
-	AfxSig_end = 0,     // [marks end of message map]
-
-	AfxSig_bD,      // BOOL (CDC*)
-	AfxSig_bb,      // BOOL (BOOL)
-	AfxSig_bWww,    // BOOL (CWnd*, UINT, UINT)
-	AfxSig_hDWw,    // HBRUSH (CDC*, CWnd*, UINT)
-	AfxSig_hDw,     // HBRUSH (CDC*, UINT)
-	AfxSig_iwWw,    // int (UINT, CWnd*, UINT)
-	AfxSig_iww,     // int (UINT, UINT)
-	AfxSig_iWww,    // int (CWnd*, UINT, UINT)
-	AfxSig_is,      // int (LPTSTR)
-	AfxSig_lwl,     // LRESULT (WPARAM, LPARAM)
-	AfxSig_lwwM,    // LRESULT (UINT, UINT, CMenu*)
-	AfxSig_vv,      // void (void)
-
-	AfxSig_vw,      // void (UINT)
-	AfxSig_vww,     // void (UINT, UINT)
-	AfxSig_vvii,    // void (int, int) // wParam is ignored
-	AfxSig_vwww,    // void (UINT, UINT, UINT)
-	AfxSig_vwii,    // void (UINT, int, int)
-	AfxSig_vwl,     // void (UINT, LPARAM)
-	AfxSig_vbWW,    // void (BOOL, CWnd*, CWnd*)
-	AfxSig_vD,      // void (CDC*)
-	AfxSig_vM,      // void (CMenu*)
-	AfxSig_vMwb,    // void (CMenu*, UINT, BOOL)
-
-	AfxSig_vW,      // void (CWnd*)
-	AfxSig_vWww,    // void (CWnd*, UINT, UINT)
-	AfxSig_vWp,     // void (CWnd*, CPoint)
-	AfxSig_vWh,     // void (CWnd*, HANDLE)
-	AfxSig_vwW,     // void (UINT, CWnd*)
-	AfxSig_vwWb,    // void (UINT, CWnd*, BOOL)
-	AfxSig_vwwW,    // void (UINT, UINT, CWnd*)
-	AfxSig_vwwx,    // void (UINT, UINT)
-	AfxSig_vs,      // void (LPTSTR)
-	AfxSig_vOWNER,  // void (int, LPTSTR), force return TRUE
-	AfxSig_iis,     // int (int, LPTSTR)
-	AfxSig_wp,      // UINT (CPoint)
-	AfxSig_wv,      // UINT (void)
-	AfxSig_vPOS,    // void (WINDOWPOS*)
-	AfxSig_vCALC,   // void (BOOL, NCCALCSIZE_PARAMS*)
-	AfxSig_vNMHDRpl,    // void (NMHDR*, LRESULT*)
-	AfxSig_bNMHDRpl,    // BOOL (NMHDR*, LRESULT*)
-	AfxSig_vwNMHDRpl,   // void (UINT, NMHDR*, LRESULT*)
-	AfxSig_bwNMHDRpl,   // BOOL (UINT, NMHDR*, LRESULT*)
-	AfxSig_bHELPINFO,   // BOOL (HELPINFO*)
-	AfxSig_vwSIZING,    // void (UINT, LPRECT) -- return TRUE
-
-	// signatures specific to CCmdTarget
-	AfxSig_cmdui,   // void (CCmdUI*)
-	AfxSig_cmduiw,  // void (CCmdUI*, UINT)
-	AfxSig_vpv,     // void (void*)
-	AfxSig_bpv,     // BOOL (void*)
-
-	// Other aliases (based on implementation)
-	AfxSig_vwwh,                // void (UINT, UINT, HANDLE)
-	AfxSig_vwp,                 // void (UINT, CPoint)
-	AfxSig_bw = AfxSig_bb,      // BOOL (UINT)
-	AfxSig_bh = AfxSig_bb,      // BOOL (HANDLE)
-	AfxSig_iw = AfxSig_bb,      // int (UINT)
-	AfxSig_ww = AfxSig_bb,      // UINT (UINT)
-	AfxSig_bv = AfxSig_wv,      // BOOL (void)
-	AfxSig_hv = AfxSig_wv,      // HANDLE (void)
-	AfxSig_vb = AfxSig_vw,      // void (BOOL)
-	AfxSig_vbh = AfxSig_vww,    // void (BOOL, HANDLE)
-	AfxSig_vbw = AfxSig_vww,    // void (BOOL, UINT)
-	AfxSig_vhh = AfxSig_vww,    // void (HANDLE, HANDLE)
-	AfxSig_vh = AfxSig_vw,      // void (HANDLE)
-	AfxSig_viSS = AfxSig_vwl,   // void (int, STYLESTRUCT*)
-	AfxSig_bwl = AfxSig_lwl,
-	AfxSig_vwMOVING = AfxSig_vwSIZING,  // void (UINT, LPRECT) -- return TRUE
-
-	AfxSig_vW2,                 // void (CWnd*) (CWnd* comes from lParam)
-	AfxSig_bWCDS,               // BOOL (CWnd*, COPYDATASTRUCT*)
-	AfxSig_bwsp,                // BOOL (UINT, short, CPoint)
-	AfxSig_vws,
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// Command notifications for CCmdTarget notifications
-
-#define CN_COMMAND              0               // void ()
-#define CN_UPDATE_COMMAND_UI    ((UINT)(-1))    // void (CCmdUI*)
-#define CN_EVENT                ((UINT)(-2))    // OLE event
-#define CN_OLECOMMAND           ((UINT)(-3))    // OLE document command
-#define CN_OLE_UNREGISTER       ((UINT)(-4))    // OLE unregister
-// > 0 are control notifications
-// < 0 are for MFC's use
-
-#define ON_COMMAND(id, memberFxn) \
-	{ WM_COMMAND, CN_COMMAND, (WORD)id, (WORD)id, AfxSig_vv, (AFX_PMSG)&memberFxn },
-		// ON_COMMAND(id, OnFoo) is the same as
-		//   ON_CONTROL(0, id, OnFoo) or ON_BN_CLICKED(0, id, OnFoo)
-
-#define ON_COMMAND_RANGE(id, idLast, memberFxn) \
-	{ WM_COMMAND, CN_COMMAND, (WORD)id, (WORD)idLast, AfxSig_vw, \
-		(AFX_PMSG)(void (AFX_MSG_CALL CCmdTarget::*)(UINT))&memberFxn },
-		// ON_COMMAND_RANGE(id, idLast, OnFoo) is the same as
-		//   ON_CONTROL_RANGE(0, id, idLast, OnFoo)
-
-#define ON_COMMAND_EX(id, memberFxn) \
-	{ WM_COMMAND, CN_COMMAND, (WORD)id, (WORD)id, AfxSig_bw, \
-		(AFX_PMSG)(BOOL (AFX_MSG_CALL CCmdTarget::*)(UINT))&memberFxn },
-
-#define ON_COMMAND_EX_RANGE(id, idLast, memberFxn) \
-	{ WM_COMMAND, CN_COMMAND, (WORD)id, (WORD)idLast, AfxSig_bw, \
-		(AFX_PMSG)(BOOL (AFX_MSG_CALL CCmdTarget::*)(UINT))&memberFxn },
-
-// update ui's are listed as WM_COMMAND's so they get routed like commands
-#define ON_UPDATE_COMMAND_UI(id, memberFxn) \
-	{ WM_COMMAND, CN_UPDATE_COMMAND_UI, (WORD)id, (WORD)id, AfxSig_cmdui, \
-		(AFX_PMSG)(void (AFX_MSG_CALL CCmdTarget::*)(CCmdUI*))&memberFxn },
-
-#define ON_UPDATE_COMMAND_UI_RANGE(id, idLast, memberFxn) \
-	{ WM_COMMAND, CN_UPDATE_COMMAND_UI, (WORD)id, (WORD)idLast, AfxSig_cmdui, \
-		(AFX_PMSG)(void (AFX_MSG_CALL CCmdTarget::*)(CCmdUI*))&memberFxn },
-
-#define ON_NOTIFY(wNotifyCode, id, memberFxn) \
-	{ WM_NOTIFY, (WORD)(int)wNotifyCode, (WORD)id, (WORD)id, AfxSig_vNMHDRpl, \
-		(AFX_PMSG)(void (AFX_MSG_CALL CCmdTarget::*)(NMHDR*, LRESULT*))&memberFxn },
-
-#define ON_NOTIFY_RANGE(wNotifyCode, id, idLast, memberFxn) \
-	{ WM_NOTIFY, (WORD)(int)wNotifyCode, (WORD)id, (WORD)idLast, AfxSig_vwNMHDRpl, \
-		(AFX_PMSG)(void (AFX_MSG_CALL CCmdTarget::*)(UINT, NMHDR*, LRESULT*))&memberFxn },
-
-#define ON_NOTIFY_EX(wNotifyCode, id, memberFxn) \
-	{ WM_NOTIFY, (WORD)(int)wNotifyCode, (WORD)id, (WORD)id, AfxSig_bwNMHDRpl, \
-		(AFX_PMSG)(BOOL (AFX_MSG_CALL CCmdTarget::*)(UINT, NMHDR*, LRESULT*))&memberFxn },
-
-#define ON_NOTIFY_EX_RANGE(wNotifyCode, id, idLast, memberFxn) \
-	{ WM_NOTIFY, (WORD)(int)wNotifyCode, (WORD)id, (WORD)idLast, AfxSig_bwNMHDRpl, \
-		(AFX_PMSG)(BOOL (AFX_MSG_CALL CCmdTarget::*)(UINT, NMHDR*, LRESULT*))&memberFxn },
-
-// for general controls
-#define ON_CONTROL(wNotifyCode, id, memberFxn) \
-	{ WM_COMMAND, (WORD)wNotifyCode, (WORD)id, (WORD)id, AfxSig_vv, \
-		(AFX_PMSG)&memberFxn },
-
-#define ON_CONTROL_RANGE(wNotifyCode, id, idLast, memberFxn) \
-	{ WM_COMMAND, (WORD)wNotifyCode, (WORD)id, (WORD)idLast, AfxSig_vw, \
-		(AFX_PMSG)(void (AFX_MSG_CALL CCmdTarget::*)(UINT))&memberFxn },
-
-#define WM_REFLECT_BASE 0xBC00
-
-// for control notification reflection
-#define ON_CONTROL_REFLECT(wNotifyCode, memberFxn) \
-	{ WM_COMMAND+WM_REFLECT_BASE, (WORD)wNotifyCode, 0, 0, AfxSig_vv, \
-		(AFX_PMSG)&memberFxn },
-
-#define ON_CONTROL_REFLECT_EX(wNotifyCode, memberFxn) \
-	{ WM_COMMAND+WM_REFLECT_BASE, (WORD)wNotifyCode, 0, 0, AfxSig_bv, \
-		(AFX_PMSG)(BOOL (AFX_MSG_CALL CCmdTarget::*)())&memberFxn },
-
-#define ON_NOTIFY_REFLECT(wNotifyCode, memberFxn) \
-	{ WM_NOTIFY+WM_REFLECT_BASE, (WORD)(int)wNotifyCode, 0, 0, AfxSig_vNMHDRpl, \
-		(AFX_PMSG)(void (AFX_MSG_CALL CCmdTarget::*)(NMHDR*, LRESULT*))&memberFxn },
-
-#define ON_NOTIFY_REFLECT_EX(wNotifyCode, memberFxn) \
-	{ WM_NOTIFY+WM_REFLECT_BASE, (WORD)(int)wNotifyCode, 0, 0, AfxSig_bNMHDRpl, \
-		(AFX_PMSG)(BOOL (AFX_MSG_CALL CCmdTarget::*)(NMHDR*, LRESULT*))&memberFxn },
-
-#define ON_UPDATE_COMMAND_UI_REFLECT(memberFxn) \
-	{ WM_COMMAND+WM_REFLECT_BASE, (WORD)CN_UPDATE_COMMAND_UI, 0, 0, AfxSig_cmdui, \
-		(AFX_PMSG)(void (AFX_MSG_CALL CCmdTarget::*)(CCmdUI*))&memberFxn },
-
-/////////////////////////////////////////////////////////////////////////////
-// Message map tables for Windows messages
-
-#define ON_WM_CREATE() \
-	{ WM_CREATE, 0, 0, 0, AfxSig_is, \
-		(AFX_PMSG)(AFX_PMSGW)(int (AFX_MSG_CALL CWnd::*)(LPCREATESTRUCT))&OnCreate },
-#define ON_WM_COPYDATA() \
-	{ WM_COPYDATA, 0, 0, 0, AfxSig_bWCDS, \
-		(AFX_PMSG)(AFX_PMSGW)(BOOL (AFX_MSG_CALL CWnd::*)(CWnd*, COPYDATASTRUCT*))&OnCopyData },
-#define ON_WM_DESTROY() \
-	{ WM_DESTROY, 0, 0, 0, AfxSig_vv, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(void))&OnDestroy },
-#define ON_WM_MOVE() \
-	{ WM_MOVE, 0, 0, 0, AfxSig_vvii, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(int, int))&OnMove },
-#define ON_WM_SIZE() \
-	{ WM_SIZE, 0, 0, 0, AfxSig_vwii, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, int, int))&OnSize },
-#define ON_WM_ACTIVATE() \
-	{ WM_ACTIVATE, 0, 0, 0, AfxSig_vwWb, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, CWnd*, BOOL))&OnActivate },
-#define ON_WM_SETFOCUS() \
-	{ WM_SETFOCUS, 0, 0, 0, AfxSig_vW, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(CWnd*))&OnSetFocus },
-#define ON_WM_KILLFOCUS() \
-	{ WM_KILLFOCUS, 0, 0, 0, AfxSig_vW, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(CWnd*))&OnKillFocus },
-#define ON_WM_ENABLE() \
-	{ WM_ENABLE, 0, 0, 0, AfxSig_vb, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(BOOL))&OnEnable },
-#define ON_WM_HELPINFO() \
-	{ WM_HELP, 0, 0, 0, AfxSig_bHELPINFO, \
-		(AFX_PMSG)(AFX_PMSGW)(BOOL (AFX_MSG_CALL CWnd::*)(HELPINFO*))&OnHelpInfo },
-#define ON_WM_PAINT() \
-	{ WM_PAINT, 0, 0, 0, AfxSig_vv, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(void))&OnPaint },
-#define ON_WM_CLOSE() \
-	{ WM_CLOSE, 0, 0, 0, AfxSig_vv, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(void))&OnClose },
-#define ON_WM_QUERYENDSESSION() \
-	{ WM_QUERYENDSESSION, 0, 0, 0, AfxSig_bv, \
-		(AFX_PMSG)(AFX_PMSGW)(BOOL (AFX_MSG_CALL CWnd::*)(void))&OnQueryEndSession },
-#define ON_WM_QUERYOPEN() \
-	{ WM_QUERYOPEN, 0, 0, 0, AfxSig_bv, \
-		(AFX_PMSG)(AFX_PMSGW)(BOOL (AFX_MSG_CALL CWnd::*)(void))&OnQueryOpen },
-#define ON_WM_ERASEBKGND() \
-	{ WM_ERASEBKGND, 0, 0, 0, AfxSig_bD, \
-		(AFX_PMSG)(AFX_PMSGW)(BOOL (AFX_MSG_CALL CWnd::*)(CDC*))&OnEraseBkgnd },
-#define ON_WM_SYSCOLORCHANGE() \
-	{ WM_SYSCOLORCHANGE, 0, 0, 0, AfxSig_vv, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(void))&OnSysColorChange },
-#define ON_WM_ENDSESSION() \
-	{ WM_ENDSESSION, 0, 0, 0, AfxSig_vb, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(BOOL))&OnEndSession },
-#define ON_WM_SHOWWINDOW() \
-	{ WM_SHOWWINDOW, 0, 0, 0, AfxSig_vbw, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(BOOL, UINT))&OnShowWindow },
-#define ON_WM_CTLCOLOR() \
-	{ WM_CTLCOLOR, 0, 0, 0, AfxSig_hDWw, \
-		(AFX_PMSG)(AFX_PMSGW)(HBRUSH (AFX_MSG_CALL CWnd::*)(CDC*, CWnd*, UINT))&OnCtlColor },
-#define ON_WM_CTLCOLOR_REFLECT() \
-	{ WM_CTLCOLOR+WM_REFLECT_BASE, 0, 0, 0, AfxSig_hDw, \
-		(AFX_PMSG)(AFX_PMSGW)(HBRUSH (AFX_MSG_CALL CWnd::*)(CDC*, UINT))CtlColor },
-#if (WINVER >= 0x0400)
-#define ON_WM_SETTINGCHANGE() \
-	{ WM_SETTINGCHANGE, 0, 0, 0, AfxSig_vws, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, LPCTSTR))&OnSettingChange },
-#endif
-#define ON_WM_WININICHANGE() \
-	{ WM_WININICHANGE, 0, 0, 0, AfxSig_vs, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(LPCTSTR))&OnWinIniChange },
-#define ON_WM_DEVMODECHANGE() \
-	{ WM_DEVMODECHANGE, 0, 0, 0, AfxSig_vs, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(LPTSTR))&OnDevModeChange },
-#define ON_WM_ACTIVATEAPP() \
-	{ WM_ACTIVATEAPP, 0, 0, 0, AfxSig_vbh, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(BOOL, HTASK))&OnActivateApp },
-#define ON_WM_FONTCHANGE() \
-	{ WM_FONTCHANGE, 0, 0, 0, AfxSig_vv, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(void))&OnFontChange },
-#define ON_WM_TIMECHANGE() \
-	{ WM_TIMECHANGE, 0, 0, 0, AfxSig_vv, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(void))&OnTimeChange },
-#define ON_WM_CANCELMODE() \
-	{ WM_CANCELMODE, 0, 0, 0, AfxSig_vv, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(void))&OnCancelMode },
-#define ON_WM_SETCURSOR() \
-	{ WM_SETCURSOR, 0, 0, 0, AfxSig_bWww, \
-		(AFX_PMSG)(AFX_PMSGW)(BOOL (AFX_MSG_CALL CWnd::*)(CWnd*, UINT, UINT))&OnSetCursor },
-#define ON_WM_MOUSEACTIVATE() \
-	{ WM_MOUSEACTIVATE, 0, 0, 0, AfxSig_iWww, \
-		(AFX_PMSG)(AFX_PMSGW)(int (AFX_MSG_CALL CWnd::*)(CWnd*, UINT, UINT))&OnMouseActivate },
-#define ON_WM_CHILDACTIVATE() \
-	{ WM_CHILDACTIVATE, 0, 0, 0, AfxSig_vv, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(void))&OnChildActivate },
-#define ON_WM_GETMINMAXINFO() \
-	{ WM_GETMINMAXINFO, 0, 0, 0, AfxSig_vs, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(MINMAXINFO*))&OnGetMinMaxInfo },
-#define ON_WM_ICONERASEBKGND() \
-	{ WM_ICONERASEBKGND, 0, 0, 0, AfxSig_vD, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(CDC*))&OnIconEraseBkgnd },
-#define ON_WM_SPOOLERSTATUS() \
-	{ WM_SPOOLERSTATUS, 0, 0, 0, AfxSig_vww, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, UINT))&OnSpoolerStatus },
-#define ON_WM_DRAWITEM() \
-	{ WM_DRAWITEM, 0, 0, 0, AfxSig_vOWNER, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(int, LPDRAWITEMSTRUCT))&OnDrawItem },
-#define ON_WM_DRAWITEM_REFLECT() \
-	{ WM_DRAWITEM+WM_REFLECT_BASE, 0, 0, 0, AfxSig_vs, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(LPDRAWITEMSTRUCT))DrawItem },
-#define ON_WM_MEASUREITEM() \
-	{ WM_MEASUREITEM, 0, 0, 0, AfxSig_vOWNER, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(int, LPMEASUREITEMSTRUCT))&OnMeasureItem },
-#define ON_WM_MEASUREITEM_REFLECT() \
-	{ WM_MEASUREITEM+WM_REFLECT_BASE, 0, 0, 0, AfxSig_vs, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(LPMEASUREITEMSTRUCT))MeasureItem },
-#define ON_WM_DELETEITEM() \
-	{ WM_DELETEITEM, 0, 0, 0, AfxSig_vOWNER, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(int, LPDELETEITEMSTRUCT))&OnDeleteItem },
-#define ON_WM_DELETEITEM_REFLECT() \
-	{ WM_DELETEITEM+WM_REFLECT_BASE, 0, 0, 0, AfxSig_vs, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(LPDELETEITEMSTRUCT))DeleteItem },
-#define ON_WM_CHARTOITEM() \
-	{ WM_CHARTOITEM, 0, 0, 0, AfxSig_iwWw, \
-		(AFX_PMSG)(AFX_PMSGW)(int (AFX_MSG_CALL CWnd::*)(UINT, CListBox*, UINT))&OnCharToItem },
-#define ON_WM_CHARTOITEM_REFLECT() \
-	{ WM_CHARTOITEM+WM_REFLECT_BASE, 0, 0, 0, AfxSig_iww, \
-		(AFX_PMSG)(AFX_PMSGW)(int (AFX_MSG_CALL CWnd::*)(UINT, UINT))CharToItem },
-#define ON_WM_VKEYTOITEM() \
-	{ WM_VKEYTOITEM, 0, 0, 0, AfxSig_iwWw, \
-		(AFX_PMSG)(AFX_PMSGW)(int (AFX_MSG_CALL CWnd::*)(UINT, CListBox*, UINT))&OnVKeyToItem },
-#define ON_WM_VKEYTOITEM_REFLECT() \
-	{ WM_VKEYTOITEM+WM_REFLECT_BASE, 0, 0, 0, AfxSig_iww, \
-		(AFX_PMSG)(AFX_PMSGW)(int (AFX_MSG_CALL CWnd::*)(UINT, UINT))VKeyToItem },
-#define ON_WM_QUERYDRAGICON() \
-	{ WM_QUERYDRAGICON, 0, 0, 0, AfxSig_hv, \
-		(AFX_PMSG)(AFX_PMSGW)(HCURSOR (AFX_MSG_CALL CWnd::*)())&OnQueryDragIcon },
-#define ON_WM_COMPAREITEM() \
-	{ WM_COMPAREITEM, 0, 0, 0, AfxSig_iis, \
-		(AFX_PMSG)(AFX_PMSGW)(int (AFX_MSG_CALL CWnd::*)(int, LPCOMPAREITEMSTRUCT))&OnCompareItem },
-#define ON_WM_COMPAREITEM_REFLECT() \
-	{ WM_COMPAREITEM+WM_REFLECT_BASE, 0, 0, 0, AfxSig_is, \
-		(AFX_PMSG)(AFX_PMSGW)(int (AFX_MSG_CALL CWnd::*)(LPCOMPAREITEMSTRUCT))CompareItem },
-#define ON_WM_COMPACTING() \
-	{ WM_COMPACTING, 0, 0, 0, AfxSig_vw, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT))&OnCompacting },
-#define ON_WM_NCCREATE() \
-	{ WM_NCCREATE, 0, 0, 0, AfxSig_is, \
-		(AFX_PMSG)(AFX_PMSGW)(BOOL (AFX_MSG_CALL CWnd::*)(LPCREATESTRUCT))&OnNcCreate },
-#define ON_WM_NCDESTROY() \
-	{ WM_NCDESTROY, 0, 0, 0, AfxSig_vv, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(void))&OnNcDestroy },
-#define ON_WM_NCCALCSIZE() \
-	{ WM_NCCALCSIZE, 0, 0, 0, AfxSig_vCALC, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(BOOL, NCCALCSIZE_PARAMS*))&OnNcCalcSize },
-#define ON_WM_NCHITTEST() \
-	{ WM_NCHITTEST, 0, 0, 0, AfxSig_wp, \
-		(AFX_PMSG)(AFX_PMSGW)(UINT (AFX_MSG_CALL CWnd::*)(CPoint))&OnNcHitTest },
-#define ON_WM_NCPAINT() \
-	{ WM_NCPAINT, 0, 0, 0, AfxSig_vv, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(void))&OnNcPaint },
-#define ON_WM_NCACTIVATE() \
-	{ WM_NCACTIVATE, 0, 0, 0, AfxSig_bb, \
-		(AFX_PMSG)(AFX_PMSGW)(BOOL (AFX_MSG_CALL CWnd::*)(BOOL))&OnNcActivate },
-#define ON_WM_GETDLGCODE() \
-	{ WM_GETDLGCODE, 0, 0, 0, AfxSig_wv, \
-		(AFX_PMSG)(AFX_PMSGW)(UINT (AFX_MSG_CALL CWnd::*)(void))&OnGetDlgCode },
-#define ON_WM_NCMOUSEMOVE() \
-	{ WM_NCMOUSEMOVE, 0, 0, 0, AfxSig_vwp, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, CPoint))&OnNcMouseMove },
-#define ON_WM_NCLBUTTONDOWN() \
-	{ WM_NCLBUTTONDOWN, 0, 0, 0, AfxSig_vwp, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, CPoint))&OnNcLButtonDown },
-#define ON_WM_NCLBUTTONUP() \
-	{ WM_NCLBUTTONUP, 0, 0, 0, AfxSig_vwp, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, CPoint))&OnNcLButtonUp },
-#define ON_WM_NCLBUTTONDBLCLK() \
-	{ WM_NCLBUTTONDBLCLK, 0, 0, 0, AfxSig_vwp, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, CPoint))&OnNcLButtonDblClk },
-#define ON_WM_NCRBUTTONDOWN() \
-	{ WM_NCRBUTTONDOWN, 0, 0, 0, AfxSig_vwp, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, CPoint))&OnNcRButtonDown },
-#define ON_WM_NCRBUTTONUP() \
-	{ WM_NCRBUTTONUP, 0, 0, 0, AfxSig_vwp, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, CPoint))&OnNcRButtonUp },
-#define ON_WM_NCRBUTTONDBLCLK() \
-	{ WM_NCRBUTTONDBLCLK, 0, 0, 0, AfxSig_vwp, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, CPoint))&OnNcRButtonDblClk },
-#define ON_WM_NCMBUTTONDOWN() \
-	{ WM_NCMBUTTONDOWN, 0, 0, 0, AfxSig_vwp, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, CPoint))&OnNcMButtonDown },
-#define ON_WM_NCMBUTTONUP() \
-	{ WM_NCMBUTTONUP, 0, 0, 0, AfxSig_vwp, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, CPoint))&OnNcMButtonUp },
-#define ON_WM_NCMBUTTONDBLCLK() \
-	{ WM_NCMBUTTONDBLCLK, 0, 0, 0, AfxSig_vwp, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, CPoint))&OnNcMButtonDblClk },
-#define ON_WM_KEYDOWN() \
-	{ WM_KEYDOWN, 0, 0, 0, AfxSig_vwww, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, UINT, UINT))&OnKeyDown },
-#define ON_WM_KEYUP() \
-	{ WM_KEYUP, 0, 0, 0, AfxSig_vwww, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, UINT, UINT))&OnKeyUp },
-#define ON_WM_CHAR() \
-	{ WM_CHAR, 0, 0, 0, AfxSig_vwww, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, UINT, UINT))&OnChar },
-#define ON_WM_DEADCHAR() \
-	{ WM_DEADCHAR, 0, 0, 0, AfxSig_vwww, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, UINT, UINT))&OnDeadChar },
-#define ON_WM_SYSKEYDOWN() \
-	{ WM_SYSKEYDOWN, 0, 0, 0, AfxSig_vwww, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, UINT, UINT))&OnSysKeyDown },
-#define ON_WM_SYSKEYUP() \
-	{ WM_SYSKEYUP, 0, 0, 0, AfxSig_vwww, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, UINT, UINT))&OnSysKeyUp },
-#define ON_WM_SYSCHAR() \
-	{ WM_SYSCHAR, 0, 0, 0, AfxSig_vwww, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, UINT, UINT))&OnSysChar },
-#define ON_WM_SYSDEADCHAR() \
-	{ WM_SYSDEADCHAR, 0, 0, 0, AfxSig_vwww, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, UINT, UINT))&OnSysDeadChar },
-#define ON_WM_SYSCOMMAND() \
-	{ WM_SYSCOMMAND, 0, 0, 0, AfxSig_vwl, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, LPARAM))&OnSysCommand },
-#define ON_WM_TCARD() \
-	{ WM_TCARD, 0, 0, 0, AfxSig_vwl, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, DWORD))&OnTCard },
-#define ON_WM_TIMER() \
-	{ WM_TIMER, 0, 0, 0, AfxSig_vw, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT))&OnTimer },
-#define ON_WM_HSCROLL() \
-	{ WM_HSCROLL, 0, 0, 0, AfxSig_vwwW, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, UINT, CScrollBar*))&OnHScroll },
-#define ON_WM_HSCROLL_REFLECT() \
-	{ WM_HSCROLL+WM_REFLECT_BASE, 0, 0, 0, AfxSig_vwwx, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, UINT))HScroll },
-#define ON_WM_VSCROLL() \
-	{ WM_VSCROLL, 0, 0, 0, AfxSig_vwwW, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, UINT, CScrollBar*))&OnVScroll },
-#define ON_WM_VSCROLL_REFLECT() \
-	{ WM_VSCROLL+WM_REFLECT_BASE, 0, 0, 0, AfxSig_vwwx, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, UINT))VScroll },
-#define ON_WM_INITMENU() \
-	{ WM_INITMENU, 0, 0, 0, AfxSig_vM, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(CMenu*))&OnInitMenu },
-#define ON_WM_INITMENUPOPUP() \
-	{ WM_INITMENUPOPUP, 0, 0, 0, AfxSig_vMwb, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(CMenu*, UINT, BOOL))&OnInitMenuPopup },
-#define ON_WM_MENUSELECT() \
-	{ WM_MENUSELECT, 0, 0, 0, AfxSig_vwwh, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, UINT, HMENU))&OnMenuSelect },
-#define ON_WM_MENUCHAR() \
-	{ WM_MENUCHAR, 0, 0, 0, AfxSig_lwwM, \
-		(AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(UINT, UINT, CMenu*))&OnMenuChar },
-#define ON_WM_ENTERIDLE() \
-	{ WM_ENTERIDLE, 0, 0, 0, AfxSig_vwW, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, CWnd*))&OnEnterIdle },
-#define ON_WM_MOUSEMOVE() \
-	{ WM_MOUSEMOVE, 0, 0, 0, AfxSig_vwp, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, CPoint))&OnMouseMove },
-#define ON_WM_MOUSEWHEEL() \
-	{ WM_MOUSEWHEEL, 0, 0, 0, AfxSig_bwsp, \
-		(AFX_PMSG)(AFX_PMSGW)(BOOL (AFX_MSG_CALL CWnd::*)(UINT, short, CPoint))&OnMouseWheel },
-#define ON_WM_LBUTTONDOWN() \
-	{ WM_LBUTTONDOWN, 0, 0, 0, AfxSig_vwp, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, CPoint))&OnLButtonDown },
-#define ON_WM_LBUTTONUP() \
-	{ WM_LBUTTONUP, 0, 0, 0, AfxSig_vwp, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, CPoint))&OnLButtonUp },
-#define ON_WM_LBUTTONDBLCLK() \
-	{ WM_LBUTTONDBLCLK, 0, 0, 0, AfxSig_vwp, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, CPoint))&OnLButtonDblClk },
-#define ON_WM_RBUTTONDOWN() \
-	{ WM_RBUTTONDOWN, 0, 0, 0, AfxSig_vwp, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, CPoint))&OnRButtonDown },
-#define ON_WM_RBUTTONUP() \
-	{ WM_RBUTTONUP, 0, 0, 0, AfxSig_vwp, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, CPoint))&OnRButtonUp },
-#define ON_WM_RBUTTONDBLCLK() \
-	{ WM_RBUTTONDBLCLK, 0, 0, 0, AfxSig_vwp, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, CPoint))&OnRButtonDblClk },
-#define ON_WM_MBUTTONDOWN() \
-	{ WM_MBUTTONDOWN, 0, 0, 0, AfxSig_vwp, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, CPoint))&OnMButtonDown },
-#define ON_WM_MBUTTONUP() \
-	{ WM_MBUTTONUP, 0, 0, 0, AfxSig_vwp, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, CPoint))&OnMButtonUp },
-#define ON_WM_MBUTTONDBLCLK() \
-	{ WM_MBUTTONDBLCLK, 0, 0, 0, AfxSig_vwp, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, CPoint))&OnMButtonDblClk },
-#define ON_WM_PARENTNOTIFY() \
-	{ WM_PARENTNOTIFY, 0, 0, 0, AfxSig_vwl, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, LPARAM))&OnParentNotify },
-#define ON_WM_PARENTNOTIFY_REFLECT() \
-	{ WM_PARENTNOTIFY+WM_REFLECT_BASE, 0, 0, 0, AfxSig_vwl, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, LPARAM))ParentNotify },
-#define ON_WM_MDIACTIVATE() \
-	{ WM_MDIACTIVATE, 0, 0, 0, AfxSig_vbWW, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(BOOL, CWnd*, CWnd*))&OnMDIActivate },
-#define ON_WM_RENDERFORMAT() \
-	{ WM_RENDERFORMAT, 0, 0, 0, AfxSig_vw, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT))&OnRenderFormat },
-#define ON_WM_RENDERALLFORMATS() \
-	{ WM_RENDERALLFORMATS, 0, 0, 0, AfxSig_vv, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(void))&OnRenderAllFormats },
-#define ON_WM_DESTROYCLIPBOARD() \
-	{ WM_DESTROYCLIPBOARD, 0, 0, 0, AfxSig_vv, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(void))&OnDestroyClipboard },
-#define ON_WM_DRAWCLIPBOARD() \
-	{ WM_DRAWCLIPBOARD, 0, 0, 0, AfxSig_vv, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(void))&OnDrawClipboard },
-#define ON_WM_PAINTCLIPBOARD() \
-	{ WM_PAINTCLIPBOARD, 0, 0, 0, AfxSig_vWh, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(CWnd*, HGLOBAL))&OnPaintClipboard },
-#define ON_WM_VSCROLLCLIPBOARD() \
-	{ WM_VSCROLLCLIPBOARD, 0, 0, 0, AfxSig_vWww, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(CWnd*, UINT, UINT))&OnVScrollClipboard },
-#define ON_WM_CONTEXTMENU() \
-	{ WM_CONTEXTMENU, 0, 0, 0, AfxSig_vWp, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(CWnd*, CPoint))&OnContextMenu },
-#define ON_WM_SIZECLIPBOARD() \
-	{ WM_SIZECLIPBOARD, 0, 0, 0, AfxSig_vWh, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(CWnd*, HGLOBAL))&OnSizeClipboard },
-#define ON_WM_ASKCBFORMATNAME() \
-	{ WM_ASKCBFORMATNAME, 0, 0, 0, AfxSig_vwl, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, LPTSTR))&OnAskCbFormatName },
-#define ON_WM_CHANGECBCHAIN() \
-	{ WM_CHANGECBCHAIN, 0, 0, 0, AfxSig_vhh, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(HWND, HWND))&OnChangeCbChain },
-#define ON_WM_HSCROLLCLIPBOARD() \
-	{ WM_HSCROLLCLIPBOARD, 0, 0, 0, AfxSig_vWww, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(CWnd*, UINT, UINT))&OnHScrollClipboard },
-#define ON_WM_QUERYNEWPALETTE() \
-	{ WM_QUERYNEWPALETTE, 0, 0, 0, AfxSig_bv, \
-		(AFX_PMSG)(AFX_PMSGW)(BOOL (AFX_MSG_CALL CWnd::*)(void))&OnQueryNewPalette },
-#define ON_WM_PALETTECHANGED() \
-	{ WM_PALETTECHANGED, 0, 0, 0, AfxSig_vW, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(CWnd*))&OnPaletteChanged },
-
-#define ON_WM_PALETTEISCHANGING() \
-	{ WM_PALETTEISCHANGING, 0, 0, 0, AfxSig_vW, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(CWnd*))&OnPaletteIsChanging },
-#define ON_WM_DROPFILES() \
-	{ WM_DROPFILES, 0, 0, 0, AfxSig_vh, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(HDROP))&OnDropFiles },
-#define ON_WM_WINDOWPOSCHANGING() \
-	{ WM_WINDOWPOSCHANGING, 0, 0, 0, AfxSig_vPOS, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(WINDOWPOS*))&OnWindowPosChanging },
-#define ON_WM_WINDOWPOSCHANGED() \
-	{ WM_WINDOWPOSCHANGED, 0, 0, 0, AfxSig_vPOS, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(WINDOWPOS*))&OnWindowPosChanged },
-
-#define ON_WM_EXITMENULOOP() \
-	{ WM_EXITMENULOOP, 0, 0, 0, AfxSig_vb, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(BOOL))&OnExitMenuLoop },
-#define ON_WM_ENTERMENULOOP() \
-	{ WM_ENTERMENULOOP, 0, 0, 0, AfxSig_vb, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(BOOL))&OnEnterMenuLoop },
-
-#define ON_WM_STYLECHANGED() \
-	{ WM_STYLECHANGED, 0, 0, 0, AfxSig_viSS, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(int, LPSTYLESTRUCT))&OnStyleChanged },
-#define ON_WM_STYLECHANGING() \
-	{ WM_STYLECHANGING, 0, 0, 0, AfxSig_viSS, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(int, LPSTYLESTRUCT))&OnStyleChanging },
-#define ON_WM_SIZING() \
-	{ WM_SIZING, 0, 0, 0, AfxSig_vwSIZING, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, LPRECT))&OnSizing },
-#define ON_WM_MOVING() \
-	{ WM_MOVING, 0, 0, 0, AfxSig_vwMOVING, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT, LPRECT))&OnMoving },
-#define ON_WM_CAPTURECHANGED() \
-	{ WM_CAPTURECHANGED, 0, 0, 0, AfxSig_vW2, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(CWnd*))&OnCaptureChanged },
-#define ON_WM_DEVICECHANGE() \
-	{ WM_DEVICECHANGE, 0, 0, 0, AfxSig_bwl, \
-		(AFX_PMSG)(AFX_PMSGW)(BOOL (AFX_MSG_CALL CWnd::*)(UINT, DWORD))&OnDeviceChange },
-
-/////////////////////////////////////////////////////////////////////////////
-// Message map tables for Control Notification messages
-
-// Static control notification codes
-#define ON_STN_CLICKED(id, memberFxn) \
-	ON_CONTROL(STN_CLICKED, id, memberFxn)
-#define ON_STN_DBLCLK(id, memberFxn) \
-	ON_CONTROL(STN_DBLCLK, id, memberFxn)
-#define ON_STN_ENABLE(id, memberFxn) \
-	ON_CONTROL(STN_ENABLE, id, memberFxn)
-#define ON_STN_DISABLE(id, memberFxn) \
-	ON_CONTROL(STN_DISABLE, id, memberFxn)
-
-
-// Edit Control Notification Codes
-#define ON_EN_SETFOCUS(id, memberFxn) \
-	ON_CONTROL(EN_SETFOCUS, id, memberFxn)
-#define ON_EN_KILLFOCUS(id, memberFxn) \
-	ON_CONTROL(EN_KILLFOCUS, id, memberFxn)
-#define ON_EN_CHANGE(id, memberFxn) \
-	ON_CONTROL(EN_CHANGE, id, memberFxn)
-#define ON_EN_UPDATE(id, memberFxn) \
-	ON_CONTROL(EN_UPDATE, id, memberFxn)
-#define ON_EN_ERRSPACE(id, memberFxn) \
-	ON_CONTROL(EN_ERRSPACE, id, memberFxn)
-#define ON_EN_MAXTEXT(id, memberFxn) \
-	ON_CONTROL(EN_MAXTEXT, id, memberFxn)
-#define ON_EN_HSCROLL(id, memberFxn) \
-	ON_CONTROL(EN_HSCROLL, id, memberFxn)
-#define ON_EN_VSCROLL(id, memberFxn) \
-	ON_CONTROL(EN_VSCROLL, id, memberFxn)
-
-// User Button Notification Codes
-#define ON_BN_CLICKED(id, memberFxn) \
-	ON_CONTROL(BN_CLICKED, id, memberFxn)
-#define ON_BN_DOUBLECLICKED(id, memberFxn) \
-	ON_CONTROL(BN_DOUBLECLICKED, id, memberFxn)
-#define ON_BN_SETFOCUS(id, memberFxn) \
-	ON_CONTROL(BN_SETFOCUS, id, memberFxn)
-#define ON_BN_KILLFOCUS(id, memberFxn) \
-	ON_CONTROL(BN_KILLFOCUS, id, memberFxn)
-
-// old BS_USERBUTTON button notifications - obsolete in Win31
-#define ON_BN_PAINT(id, memberFxn) \
-	ON_CONTROL(BN_PAINT, id, memberFxn)
-#define ON_BN_HILITE(id, memberFxn) \
-	ON_CONTROL(BN_HILITE, id, memberFxn)
-#define ON_BN_UNHILITE(id, memberFxn) \
-	ON_CONTROL(BN_UNHILITE, id, memberFxn)
-#define ON_BN_DISABLE(id, memberFxn) \
-	ON_CONTROL(BN_DISABLE, id, memberFxn)
-
-// Listbox Notification Codes
-#define ON_LBN_ERRSPACE(id, memberFxn) \
-	ON_CONTROL(LBN_ERRSPACE, id, memberFxn)
-#define ON_LBN_SELCHANGE(id, memberFxn) \
-	ON_CONTROL(LBN_SELCHANGE, id, memberFxn)
-#define ON_LBN_DBLCLK(id, memberFxn) \
-	ON_CONTROL(LBN_DBLCLK, id, memberFxn)
-#define ON_LBN_SELCANCEL(id, memberFxn) \
-	ON_CONTROL(LBN_SELCANCEL, id, memberFxn)
-#define ON_LBN_SETFOCUS(id, memberFxn) \
-	ON_CONTROL(LBN_SETFOCUS, id, memberFxn)
-#define ON_LBN_KILLFOCUS(id, memberFxn) \
-	ON_CONTROL(LBN_KILLFOCUS, id, memberFxn)
-
-// Check Listbox Notification codes
-#define CLBN_CHKCHANGE (40)
-#define ON_CLBN_CHKCHANGE(id, memberFxn) \
-	ON_CONTROL(CLBN_CHKCHANGE, id, memberFxn)
-
-// Combo Box Notification Codes
-#define ON_CBN_ERRSPACE(id, memberFxn) \
-	ON_CONTROL(CBN_ERRSPACE, id, memberFxn)
-#define ON_CBN_SELCHANGE(id, memberFxn) \
-	ON_CONTROL(CBN_SELCHANGE, id, memberFxn)
-#define ON_CBN_DBLCLK(id, memberFxn) \
-	ON_CONTROL(CBN_DBLCLK, id, memberFxn)
-#define ON_CBN_SETFOCUS(id, memberFxn) \
-	ON_CONTROL(CBN_SETFOCUS, id, memberFxn)
-#define ON_CBN_KILLFOCUS(id, memberFxn) \
-	ON_CONTROL(CBN_KILLFOCUS, id, memberFxn)
-#define ON_CBN_EDITCHANGE(id, memberFxn) \
-	ON_CONTROL(CBN_EDITCHANGE, id, memberFxn)
-#define ON_CBN_EDITUPDATE(id, memberFxn) \
-	ON_CONTROL(CBN_EDITUPDATE, id, memberFxn)
-#define ON_CBN_DROPDOWN(id, memberFxn) \
-	ON_CONTROL(CBN_DROPDOWN, id, memberFxn)
-#define ON_CBN_CLOSEUP(id, memberFxn)  \
-	ON_CONTROL(CBN_CLOSEUP, id, memberFxn)
-#define ON_CBN_SELENDOK(id, memberFxn)  \
-	ON_CONTROL(CBN_SELENDOK, id, memberFxn)
-#define ON_CBN_SELENDCANCEL(id, memberFxn)  \
-	ON_CONTROL(CBN_SELENDCANCEL, id, memberFxn)
-
-/////////////////////////////////////////////////////////////////////////////
-// User extensions for message map entries
-
-// for Windows messages
-#define ON_MESSAGE(message, memberFxn) \
-	{ message, 0, 0, 0, AfxSig_lwl, \
-		(AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))&memberFxn },
-
-// for Registered Windows messages
-#define ON_REGISTERED_MESSAGE(nMessageVariable, memberFxn) \
-	{ 0xC000, 0, 0, 0, (UINT)(UINT*)(&nMessageVariable), \
-		/*implied 'AfxSig_lwl'*/ \
-		(AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))&memberFxn },
-
-// for Thread messages
-#define ON_THREAD_MESSAGE(message, memberFxn) \
-	{ message, 0, 0, 0, AfxSig_vwl, \
-		(AFX_PMSG)(AFX_PMSGT)(void (AFX_MSG_CALL CWinThread::*)(WPARAM, LPARAM))&memberFxn },
-
-// for Registered Windows messages
-#define ON_REGISTERED_THREAD_MESSAGE(nMessageVariable, memberFxn) \
-	{ 0xC000, 0, 0, 0, (UINT)(UINT*)(&nMessageVariable), \
-		/*implied 'AfxSig_vwl'*/ \
-		(AFX_PMSG)(AFX_PMSGT)(void (AFX_MSG_CALL CWinThread::*)(WPARAM, LPARAM))&memberFxn },
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 251
libs/mfc/include/afxmt.h

@@ -1,251 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXMT_H__
-#define __AFXMT_H__
-
-#ifndef __AFX_H__
-	#include <afx.h>
-#endif
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, off)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, on)
-#endif
-
-#ifdef _AFX_PACKING
-#pragma pack(push, _AFX_PACKING)
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// AFXMT - MFC Multithreaded Extensions (Syncronization Objects)
-
-// Classes declared in this file
-
-//CObject
-	class CSyncObject;
-		class CSemaphore;
-		class CMutex;
-		class CEvent;
-		class CCriticalSection;
-
-class CSingleLock;
-class CMultiLock;
-
-#undef AFX_DATA
-#define AFX_DATA AFX_CORE_DATA
-
-/////////////////////////////////////////////////////////////////////////////
-// Basic synchronization object
-
-class CSyncObject : public CObject
-{
-	DECLARE_DYNAMIC(CSyncObject)
-
-// Constructor
-public:
-	CSyncObject(LPCTSTR pstrName);
-
-// Attributes
-public:
-	operator HANDLE() const;
-	HANDLE  m_hObject;
-
-// Operations
-	virtual BOOL Lock(DWORD dwTimeout = INFINITE);
-	virtual BOOL Unlock() = 0;
-	virtual BOOL Unlock(LONG /* lCount */, LPLONG /* lpPrevCount=NULL */)
-		{ return TRUE; }
-
-// Implementation
-public:
-	virtual ~CSyncObject();
-#ifdef MFC_DEBUG
-	CString m_strName;
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-	friend class CSingleLock;
-	friend class CMultiLock;
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CSemaphore
-
-class CSemaphore : public CSyncObject
-{
-	DECLARE_DYNAMIC(CSemaphore)
-
-// Constructor
-public:
-	CSemaphore(LONG lInitialCount = 1, LONG lMaxCount = 1,
-		LPCTSTR pstrName=NULL, LPSECURITY_ATTRIBUTES lpsaAttributes = NULL);
-
-// Implementation
-public:
-	virtual ~CSemaphore();
-	virtual BOOL Unlock();
-	virtual BOOL Unlock(LONG lCount, LPLONG lprevCount = NULL);
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CMutex
-
-class CMutex : public CSyncObject
-{
-	DECLARE_DYNAMIC(CMutex)
-
-// Constructor
-public:
-	CMutex(BOOL bInitiallyOwn = FALSE, LPCTSTR lpszName = NULL,
-		LPSECURITY_ATTRIBUTES lpsaAttribute = NULL);
-
-// Implementation
-public:
-	virtual ~CMutex();
-	BOOL Unlock();
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CEvent
-
-class CEvent : public CSyncObject
-{
-	DECLARE_DYNAMIC(CEvent)
-
-// Constructor
-public:
-	CEvent(BOOL bInitiallyOwn = FALSE, BOOL bManualReset = FALSE,
-		LPCTSTR lpszNAme = NULL, LPSECURITY_ATTRIBUTES lpsaAttribute = NULL);
-
-// Operations
-public:
-	BOOL SetEvent();
-	BOOL PulseEvent();
-	BOOL ResetEvent();
-	BOOL Unlock();
-
-// Implementation
-public:
-	virtual ~CEvent();
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CCriticalSection
-
-class CCriticalSection : public CSyncObject
-{
-	DECLARE_DYNAMIC(CCriticalSection)
-
-// Constructor
-public:
-	CCriticalSection();
-
-// Attributes
-public:
-	operator CRITICAL_SECTION*();
-	CRITICAL_SECTION m_sect;
-
-// Operations
-public:
-	BOOL Unlock();
-	BOOL Lock();
-	BOOL Lock(DWORD dwTimeout);
-
-// Implementation
-public:
-	virtual ~CCriticalSection();
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CSingleLock
-
-class CSingleLock
-{
-// Constructors
-public:
-	CSingleLock(CSyncObject* pObject, BOOL bInitialLock = FALSE);
-
-// Operations
-public:
-	BOOL Lock(DWORD dwTimeOut = INFINITE);
-	BOOL Unlock();
-	BOOL Unlock(LONG lCount, LPLONG lPrevCount = NULL);
-	BOOL IsLocked();
-
-// Implementation
-public:
-	~CSingleLock();
-
-protected:
-	CSyncObject* m_pObject;
-	HANDLE  m_hObject;
-	BOOL    m_bAcquired;
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CMultiLock
-
-class CMultiLock
-{
-// Constructor
-public:
-	CMultiLock(CSyncObject* ppObjects[], DWORD dwCount, BOOL bInitialLock = FALSE);
-
-// Operations
-public:
-	DWORD Lock(DWORD dwTimeOut = INFINITE, BOOL bWaitForAll = TRUE,
-		DWORD dwWakeMask = 0);
-	BOOL Unlock();
-	BOOL Unlock(LONG lCount, LPLONG lPrevCount = NULL);
-	BOOL IsLocked(DWORD dwItem);
-
-// Implementation
-public:
-	~CMultiLock();
-
-protected:
-	HANDLE  m_hPreallocated[8];
-	BOOL    m_bPreallocated[8];
-
-	CSyncObject* const * m_ppObjectArray;
-	HANDLE* m_pHandleArray;
-	BOOL*   m_bLockedArray;
-	DWORD   m_dwCount;
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// Inline function declarations
-
-#ifdef _AFX_PACKING
-#pragma pack(pop)
-#endif
-
-#ifdef _AFX_ENABLE_INLINES
-#define _AFXMT_INLINE AFX_INLINE
-#include <afxmt.inl>
-#undef _AFXMT_INLINE
-#endif
-
-#undef AFX_DATA
-#define AFX_DATA
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, on)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, off)
-#endif
-
-#endif  // __AFXMT_H__
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 50
libs/mfc/include/afxmt.inl

@@ -1,50 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-// Inlines for AFXMT.H
-
-#ifdef _AFXMT_INLINE
-
-_AFXMT_INLINE CSyncObject::operator HANDLE() const
-	{ return m_hObject;}
-
-_AFXMT_INLINE BOOL CSemaphore::Unlock()
-	{ return Unlock(1, NULL); }
-
-_AFXMT_INLINE BOOL CEvent::SetEvent()
-	{ ASSERT(m_hObject != NULL); return ::SetEvent(m_hObject); }
-_AFXMT_INLINE BOOL CEvent::PulseEvent()
-	{ ASSERT(m_hObject != NULL); return ::PulseEvent(m_hObject); }
-_AFXMT_INLINE BOOL CEvent::ResetEvent()
-	{ ASSERT(m_hObject != NULL); return ::ResetEvent(m_hObject); }
-
-_AFXMT_INLINE CSingleLock::~CSingleLock()
-	{ Unlock(); }
-_AFXMT_INLINE BOOL CSingleLock::IsLocked()
-	{ return m_bAcquired; }
-
-_AFXMT_INLINE BOOL CMultiLock::IsLocked(DWORD dwObject)
-	{ ASSERT(dwObject >= 0 && dwObject < m_dwCount);
-		 return m_bLockedArray[dwObject]; }
-
-_AFXMT_INLINE CCriticalSection::CCriticalSection() : CSyncObject(NULL)
-	{ ::InitializeCriticalSection(&m_sect); }
-_AFXMT_INLINE CCriticalSection::operator CRITICAL_SECTION*()
-	{ return (CRITICAL_SECTION*) &m_sect; }
-_AFXMT_INLINE CCriticalSection::~CCriticalSection()
-	{ ::DeleteCriticalSection(&m_sect); }
-_AFXMT_INLINE BOOL CCriticalSection::Lock()
-	{ ::EnterCriticalSection(&m_sect); return TRUE; }
-_AFXMT_INLINE BOOL CCriticalSection::Lock(DWORD /* dwTimeout */)
-	{ return Lock(); }
-_AFXMT_INLINE BOOL CCriticalSection::Unlock()
-	{ ::LeaveCriticalSection(&m_sect); return TRUE; }
-
-#endif //_AFXMT_INLINE

+ 0 - 510
libs/mfc/include/afxodlgs.h

@@ -1,510 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXODLGS_H__
-#define __AFXODLGS_H__
-
-#ifdef _AFX_NO_OLE_SUPPORT
-	#error OLE classes not supported in this library variant.
-#endif
-
-#ifndef __AFXOLE_H__
-	#include <afxole.h>
-#endif
-
-#ifndef __AFXDLGS_H__
-	#include <afxdlgs.h>
-#endif
-
-// include OLE dialog/helper APIs
-#ifndef _OLEDLG_H_
-	#include <oledlg.h>
-#endif
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, off)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, on)
-#endif
-
-#ifdef _AFX_PACKING
-#pragma pack(push, _AFX_PACKING)
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// AFXODLGS.H - MFC OLE dialogs
-
-// Classes declared in this file
-
-//CCommonDialog
-	class COleDialog;                   // base class for OLE dialog wrappers
-		class COleInsertDialog;         // insert object dialog
-		class COleConvertDialog;        // convert dialog
-		class COleChangeIconDialog;     // change icon dialog
-		class COlePasteSpecialDialog;   // paste special dialog
-		class COleLinksDialog;          // edit links dialog
-			class COleUpdateDialog;     // update links/embeddings dialog
-		class COleBusyDialog;           // used for
-		class COlePropertiesDialog;
-		class COleChangeSourceDialog;
-
-/////////////////////////////////////////////////////////////////////////////
-
-// AFXDLL support
-#undef AFX_DATA
-#define AFX_DATA AFX_OLE_DATA
-
-/////////////////////////////////////////////////////////////////////////////
-// COleUILinkInfo -- used internally to implement
-// IOleUILinkInfo and IOleUILinkContainer
-// used by COleLinksDialog and COleChangeSourceDialog
-
-class COleUILinkInfo : public IOleUILinkInfo
-{
-public:
-	COleUILinkInfo(COleDocument* pDocument);
-
-// Implementation
-	COleDocument* m_pDocument;          // document being manipulated
-	COleClientItem* m_pSelectedItem;    // primary selected item in m_pDocument
-	POSITION m_pos;                     // used during link enumeration
-	BOOL m_bUpdateLinks;                // update links?
-	BOOL m_bUpdateEmbeddings;           // update embeddings?
-
-	STDMETHOD_(ULONG, AddRef)();
-	STDMETHOD_(ULONG, Release)();
-	STDMETHOD(QueryInterface)(REFIID, LPVOID*);
-
-	// IOleUILinkContainer
-	STDMETHOD_(DWORD,GetNextLink)(DWORD);
-	STDMETHOD(SetLinkUpdateOptions)(DWORD, DWORD);
-	STDMETHOD(GetLinkUpdateOptions)(DWORD, LPDWORD);
-	STDMETHOD(SetLinkSource)(DWORD, LPTSTR, ULONG, ULONG*, BOOL);
-	STDMETHOD(GetLinkSource)(DWORD, LPTSTR*, ULONG*, LPTSTR*, LPTSTR*, BOOL*,
-		BOOL*);
-	STDMETHOD(OpenLinkSource)(DWORD);
-	STDMETHOD(UpdateLink)(DWORD, BOOL, BOOL);
-	STDMETHOD(CancelLink)(DWORD);
-	// IOleUILinkInfo
-	STDMETHOD(GetLastUpdate)(DWORD dwLink, FILETIME* lpLastUpdate);
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// Wrappers for OLE UI dialogs
-
-#ifdef _AFXDLL
-class COleDialog : public CCommonDialog
-#else
-class AFX_NOVTABLE COleDialog : public CCommonDialog
-#endif
-{
-	DECLARE_DYNAMIC(COleDialog)
-
-// Attributes
-public:
-	UINT GetLastError() const;
-
-// Implementation
-public:
-	int MapResult(UINT nResult);
-	COleDialog(CWnd* pParentWnd);
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-protected:
-	UINT m_nLastError;
-
-protected:
-	friend UINT CALLBACK _AfxOleHookProc(HWND, UINT, WPARAM, LPARAM);
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// COleInsertDialog
-
-class COleInsertDialog : public COleDialog
-{
-	DECLARE_DYNAMIC(COleInsertDialog)
-
-// Attributes
-public:
-	OLEUIINSERTOBJECT m_io; // structure for OleUIInsertObject
-
-// Constructors
-	COleInsertDialog(DWORD dwFlags = IOF_SELECTCREATENEW,
-		CWnd* pParentWnd = NULL);
-
-// Operations
-	virtual int DoModal();
-	int DoModal(DWORD dwFlags);
-	BOOL CreateItem(COleClientItem* pItem);
-		// call after DoModal to create item based on dialog data
-
-// Attributes (after DoModal returns IDOK)
-	enum Selection { createNewItem, insertFromFile, linkToFile };
-	UINT GetSelectionType() const;
-		// return type of selection made
-
-	CString GetPathName() const;  // return full path name
-	REFCLSID GetClassID() const;    // get class ID of new item
-
-	DVASPECT GetDrawAspect() const;
-		// DVASPECT_CONTENT or DVASPECT_ICON
-	HGLOBAL GetIconicMetafile() const;
-		// returns HGLOBAL to METAFILEPICT struct with iconic data
-
-// Implementation
-public:
-	virtual ~COleInsertDialog();
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-	enum FilterFlags {
-		DocObjectsOnly = 1,
-		ControlsOnly = 2,
-	};
-
-protected:
-	TCHAR m_szFileName[_MAX_PATH];
-		// contains full path name after return
-
-	void AddClassIDToList(LPCLSID& lpList, int& nListCount,
-		int& nBufferLen, LPCLSID pNewID);
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// COleConvertDialog
-
-class COleConvertDialog : public COleDialog
-{
-	DECLARE_DYNAMIC(COleConvertDialog)
-
-// Attributes
-public:
-	OLEUICONVERT m_cv;  // structure for OleUIConvert
-
-// Constructors
-	COleConvertDialog(COleClientItem* pItem,
-		DWORD dwFlags = CF_SELECTCONVERTTO, CLSID* pClassID = NULL,
-		CWnd* pParentWnd = NULL);
-
-// Operations
-	virtual int DoModal();
-		// just display the dialog and collect convert info
-	BOOL DoConvert(COleClientItem* pItem);
-		// do the conversion on pItem (after DoModal == IDOK)
-
-// Attributes (after DoModal returns IDOK)
-	enum Selection { noConversion, convertItem, activateAs };
-	UINT GetSelectionType() const;
-
-	HGLOBAL GetIconicMetafile() const;  // will return NULL if same as before
-	REFCLSID GetClassID() const;    // get class ID to convert or activate as
-	DVASPECT GetDrawAspect() const; // get new draw aspect
-
-// Implementation
-public:
-	virtual ~COleConvertDialog();
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// COleChangeIconDialog
-
-class COleChangeIconDialog : public COleDialog
-{
-	DECLARE_DYNAMIC(COleChangeIconDialog)
-
-// Attributes
-public:
-	OLEUICHANGEICON m_ci;   // structure for OleUIChangeIcon
-
-// Constructors
-	COleChangeIconDialog(COleClientItem* pItem,
-		DWORD dwFlags = CIF_SELECTCURRENT,
-		CWnd* pParentWnd = NULL);
-
-// Operations
-	virtual int DoModal();
-	BOOL DoChangeIcon(COleClientItem* pItem);
-
-// Attributes
-	HGLOBAL GetIconicMetafile() const;
-
-// Implementation
-public:
-	virtual ~COleChangeIconDialog();
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// COlePasteSpecialDialog
-
-class COlePasteSpecialDialog : public COleDialog
-{
-	DECLARE_DYNAMIC(COlePasteSpecialDialog)
-
-// Attributes
-public:
-	OLEUIPASTESPECIAL m_ps; // structure for OleUIPasteSpecial
-
-// Constructors
-	COlePasteSpecialDialog(DWORD dwFlags = PSF_SELECTPASTE,
-		COleDataObject* pDataObject = NULL, CWnd *pParentWnd = NULL);
-
-// Operations
-	OLEUIPASTEFLAG AddLinkEntry(UINT cf);
-	void AddFormat(const FORMATETC& formatEtc, LPTSTR lpszFormat,
-		LPTSTR lpszResult, DWORD flags);
-	void AddFormat(UINT cf, DWORD tymed, UINT nFormatID, BOOL bEnableIcon,
-		BOOL bLink);
-	void AddStandardFormats(BOOL bEnableLink = TRUE);
-
-	virtual int DoModal();
-	BOOL CreateItem(COleClientItem *pNewItem);
-		// creates a standard OLE item from selection data
-
-// Attributes (after DoModal returns IDOK)
-	int GetPasteIndex() const;      // resulting index to use for paste
-
-	enum Selection { pasteLink = 1, pasteNormal = 2, pasteStatic = 3, pasteOther = 4};
-	UINT GetSelectionType() const;
-		// get selection type (pasteLink, pasteNormal, pasteStatic)
-
-	DVASPECT GetDrawAspect() const;
-		// DVASPECT_CONTENT or DVASPECT_ICON
-	HGLOBAL GetIconicMetafile() const;
-		// returns HGLOBAL to METAFILEPICT struct with iconic data
-
-// Implementation
-public:
-	virtual ~COlePasteSpecialDialog();
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-	virtual void AssertValid() const;
-#endif
-	unsigned int m_arrLinkTypes[8];
-		// size limit imposed by MFCUIx32.DLL library
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// COleLinksDialog
-
-class COleLinksDialog : public COleDialog
-{
-	DECLARE_DYNAMIC(COleLinksDialog)
-
-// Attributes
-public:
-	OLEUIEDITLINKS m_el;    // structure for OleUIEditLinks
-
-// Constructors
-	COleLinksDialog(COleDocument* pDoc, CView* pView, DWORD dwFlags = 0,
-		CWnd* pParentWnd = NULL);
-
-// Operations
-	virtual int DoModal();  // display the dialog and edit links
-
-// Implementation
-public:
-	virtual ~COleLinksDialog();
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-	virtual void AssertValid() const;
-#endif
-
-public:
-	COleUILinkInfo m_xLinkInfo; // implements IOleUILinkContainer
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// COleUpdateDialog
-
-class COleUpdateDialog : public COleLinksDialog
-{
-	DECLARE_DYNAMIC(COleUpdateDialog)
-
-// Constructors
-public:
-	COleUpdateDialog(COleDocument* pDoc,
-		BOOL bUpdateLinks = TRUE, BOOL bUpdateEmbeddings = FALSE,
-		CWnd* pParentWnd = NULL);
-
-// Operations
-	virtual int DoModal();
-
-// Implementation
-public:
-	virtual ~COleUpdateDialog();
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-protected:
-	CString m_strCaption;   // caption for the dialog
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// COleBusyDialog - useful in managing concurrency
-
-class COleBusyDialog : public COleDialog
-{
-	DECLARE_DYNAMIC(COleBusyDialog)
-
-// Attributes
-public:
-	OLEUIBUSY m_bz;
-
-// Constructors
-	COleBusyDialog(HTASK htaskBusy, BOOL bNotResponding = FALSE,
-		DWORD dwFlags = 0, CWnd* pParentWnd = NULL);
-
-// Operations
-	virtual int DoModal();
-
-	enum Selection { switchTo = 1, retry = 2, callUnblocked = 3 };
-	UINT GetSelectionType() const;
-
-// Implementation
-public:
-	~COleBusyDialog();
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-protected:
-	Selection m_selection;  // selection after DoModal returns IDOK
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// COleEditProperties
-
-class COlePropertiesDialog : public COleDialog
-{
-	DECLARE_DYNAMIC(COlePropertiesDialog)
-
-// Attributes
-public:
-	OLEUIOBJECTPROPS m_op;      // structure for OleUIObjectProperties
-	OLEUIGNRLPROPS m_gp;        // specific to "General" page
-	OLEUIVIEWPROPS m_vp;        // specific to "View" page
-	OLEUILINKPROPS m_lp;        // specific to "Link" page
-	PROPSHEETHEADER m_psh;      // PROPSHEETHEADER for customization
-
-// Constructors
-public:
-	COlePropertiesDialog(COleClientItem* pItem,
-		UINT nScaleMin = 10, UINT nScaleMax = 500, CWnd* pParentWnd = NULL);
-
-// Operations
-	virtual int DoModal();
-
-// Overridables
-	virtual BOOL OnApplyScale(
-		COleClientItem* pItem, int nCurrentScale, BOOL bRelativeToOrig);
-
-// Implementation
-public:
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-	virtual void AssertValid() const;
-#endif
-	virtual BOOL OnInitDialog();
-
-	BEGIN_INTERFACE_PART(OleUIObjInfo, IOleUIObjInfo)
-		INIT_INTERFACE_PART(COlePropertiesDialog, OleUIObjInfo)
-		STDMETHOD(GetObjectInfo) (THIS_ DWORD dwObject,
-			DWORD* lpdwObjSize, LPTSTR* lplpszLabel,
-			LPTSTR* lplpszType, LPTSTR* lplpszShortType,
-			LPTSTR* lplpszLocation);
-		STDMETHOD(GetConvertInfo) (THIS_ DWORD dwObject,
-			CLSID* lpClassID, WORD* lpwFormat,
-			CLSID* lpConvertDefaultClassID,
-			LPCLSID* lplpClsidExclude, UINT* lpcClsidExclude);
-		STDMETHOD(ConvertObject) (THIS_ DWORD dwObject, REFCLSID clsidNew);
-		STDMETHOD(GetViewInfo) (THIS_ DWORD dwObject,
-			HGLOBAL* phMetaPict, DWORD* pdvAspect, int* pnCurrentScale);
-		STDMETHOD(SetViewInfo) (THIS_ DWORD dwObject,
-			HGLOBAL hMetaPict, DWORD dvAspect,
-			int nCurrentScale, BOOL bRelativeToOrig);
-	END_INTERFACE_PART(OleUIObjInfo)
-	COleUILinkInfo m_xLinkInfo; // implements IOleUILinkContainer
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// COleChangeSourceDialog
-
-class COleChangeSourceDialog : public COleDialog
-{
-	DECLARE_DYNAMIC(COleChangeSourceDialog)
-
-// Attributes
-public:
-	OLEUICHANGESOURCE m_cs; // structure for OleUIChangeSource
-
-// Constructors
-public:
-	COleChangeSourceDialog(COleClientItem* pItem, CWnd* pParentWnd = NULL);
-
-// Operations
-	virtual int DoModal();
-
-// Attributes (after DoModal returns IDOK)
-	BOOL IsValidSource();
-	CString GetDisplayName();
-	CString GetFileName();
-	CString GetItemName();
-	CString GetFromPrefix();
-	CString GetToPrefix();
-
-// Implementation
-public:
-	COleUILinkInfo m_xLinkInfo;
-
-	virtual ~COleChangeSourceDialog();
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-	virtual void AssertValid() const;
-#endif
-	virtual void PreInitDialog();
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// Inline function declarations
-
-#ifdef _AFX_PACKING
-#pragma pack(pop)
-#endif
-
-#ifdef _AFX_ENABLE_INLINES
-#define _AFXODLGS_INLINE AFX_INLINE
-#include <afxole.inl>
-#undef _AFXODLGS_INLINE
-#endif
-
-#undef AFX_DATA
-#define AFX_DATA
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, on)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, off)
-#endif
-
-#endif //__AFXODLGS_H__
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 1959
libs/mfc/include/afxole.h

@@ -1,1959 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXOLE_H__
-#define __AFXOLE_H__
-
-#ifdef _AFX_NO_OLE_SUPPORT
-	#error OLE classes not supported in this library variant.
-#endif
-
-#ifndef __AFXEXT_H__
-	#include <afxext.h>
-#endif
-
-#ifndef __AFXDISP_H__
-	#include <afxdisp.h>
-#endif
-
-// include OLE Compound Document headers
-#ifndef _OLE2_H_
-	#include <ole2.h>
-#endif
-
-// ActiveX Document support
-#ifndef __docobj_h__
-	#include <docobj.h>
-#endif
-
-// URL Monikers support
-#ifndef __urlmon_h__
-	#include <urlmon.h>
-#endif
-
-#ifndef __AFXCOM_H__
-#include <afxcom_.h>
-#endif
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, off)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, on)
-#endif
-
-#ifdef _AFX_PACKING
-#pragma pack(push, _AFX_PACKING)
-#endif
-
-
-#ifndef _AFX_NOFORCE_LIBS
-
-#pragma comment(lib, "urlmon.lib")
-
-#endif // !_AFX_NOFORCE_LIBS
-
-/////////////////////////////////////////////////////////////////////////////
-// AFXOLE.H - MFC OLE support
-
-// Classes declared in this file
-
-//CDocument
-	class COleDocument;             // OLE container document
-		class COleLinkingDoc;       // supports links to embeddings
-			class COleServerDoc;    // OLE server document
-	class CDocObjectServer;         // might be owned by a COleServerDoc
-
-//CCmdTarget
-	class CDocItem;                 // part of a document
-		class COleClientItem;       // embedded ole object from outside
-			class COleDocObjectItem;// ActiveX Document item
-		class COleServerItem;       // ole object to export
-	class COleDataSource;           // clipboard data source mechanism
-	class COleDropSource;           // drag/drop source
-	class COleDropTarget;           // drag/drop target
-	class COleMessageFilter;        // concurrency management
-
-//CFrameWnd
-	class COleIPFrameWnd;           // frame window for in-place servers
-
-//CControlBar
-	class COleResizeBar;            // implements in-place resizing
-
-//CFile
-	class COleStreamFile;           // CFile wrapper for IStream interface
-		class CMonikerFile;         // bound to via IMoniker
-			class CAsyncMonikerFile;// asynchronous IMoniker
-
-class COleDataObject;               // wrapper for IDataObject interface
-
-/////////////////////////////////////////////////////////////////////////////
-
-// AFXDLL support
-#undef AFX_DATA
-#define AFX_DATA AFX_OLE_DATA
-
-/////////////////////////////////////////////////////////////////////////////
-// backward compatibility
-
-// COleClientDoc is now obsolete -- use COleDocument instead
-#define COleClientDoc COleDocument
-
-// COleServer has been replaced by the more general COleObjectFactory
-#define COleServer  COleObjectFactory
-
-/////////////////////////////////////////////////////////////////////////////
-// Useful OLE specific types (some from OLE 1.0 headers)
-
-// Codes for CallBack events
-enum OLE_NOTIFICATION
-{
-	OLE_CHANGED,        // representation of a draw aspect has changed
-	OLE_SAVED,          // the item has committed its storage
-	OLE_CLOSED,         // the item has closed
-	OLE_RENAMED,        // the item has changed its moniker
-	OLE_CHANGED_STATE,  // the item state (open, active, etc.) has changed
-	OLE_CHANGED_ASPECT, // the item draw aspect has changed
-};
-
-// Object types
-enum OLE_OBJTYPE
-{
-	OT_UNKNOWN = 0,
-
-	// These are OLE 1.0 types and OLE 2.0 types as returned from GetType().
-	OT_LINK = 1,
-	OT_EMBEDDED = 2,
-	OT_STATIC = 3,
-
-	// All OLE2 objects are written with this tag when serialized.  This
-	//  differentiates them from OLE 1.0 objects written with MFC 2.0.
-	//  This value will never be returned from GetType().
-	OT_OLE2 = 256,
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// COleDataObject -- simple wrapper for IDataObject
-
-class COleDataObject
-{
-// Constructors
-public:
-	COleDataObject();
-
-// Operations
-	void Attach(LPDATAOBJECT lpDataObject, BOOL bAutoRelease = TRUE);
-	LPDATAOBJECT Detach();  // detach and get ownership of m_lpDataObject
-	void Release(); // detach and Release ownership of m_lpDataObject
-	BOOL AttachClipboard(); // attach to current clipboard object
-
-// Attributes
-	void BeginEnumFormats();
-	BOOL GetNextFormat(LPFORMATETC lpFormatEtc);
-	CFile* GetFileData(CLIPFORMAT cfFormat, LPFORMATETC lpFormatEtc = NULL);
-	HGLOBAL GetGlobalData(CLIPFORMAT cfFormat, LPFORMATETC lpFormatEtc = NULL);
-	BOOL GetData(CLIPFORMAT cfFormat, LPSTGMEDIUM lpStgMedium,
-		LPFORMATETC lpFormatEtc = NULL);
-	BOOL IsDataAvailable(CLIPFORMAT cfFormat, LPFORMATETC lpFormatEtc = NULL);
-
-// Implementation
-public:
-	LPDATAOBJECT m_lpDataObject;
-	LPENUMFORMATETC m_lpEnumerator;
-	~COleDataObject();
-
-	// advanced use and implementation
-	LPDATAOBJECT GetIDataObject(BOOL bAddRef);
-	void EnsureClipboardObject();
-	BOOL m_bClipboard;      // TRUE if represents the Win32 clipboard
-
-protected:
-	BOOL m_bAutoRelease;    // TRUE if destructor should call Release
-
-private:
-	// Disable the copy constructor and assignment by default so you will get
-	//   compiler errors instead of unexpected behaviour if you pass objects
-	//   by value or assign objects.
-	COleDataObject(const COleDataObject&);  // no implementation
-	void operator=(const COleDataObject&);  // no implementation
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// COleDataSource -- wrapper for implementing IDataObject
-//  (works similar to how data is provided on the clipboard)
-
-struct AFX_DATACACHE_ENTRY;
-class COleDropSource;
-
-class COleDataSource : public CCmdTarget
-{
-// Constructors
-public:
-	COleDataSource();
-
-// Operations
-	void Empty();   // empty cache (similar to ::EmptyClipboard)
-
-	// CacheData & DelayRenderData operations similar to ::SetClipboardData
-	void CacheGlobalData(CLIPFORMAT cfFormat, HGLOBAL hGlobal,
-		LPFORMATETC lpFormatEtc = NULL);    // for HGLOBAL based data
-	void DelayRenderFileData(CLIPFORMAT cfFormat,
-		LPFORMATETC lpFormatEtc = NULL);    // for CFile* based delayed render
-
-	// Clipboard and Drag/Drop access
-	DROPEFFECT DoDragDrop(
-		DWORD dwEffects = DROPEFFECT_COPY|DROPEFFECT_MOVE|DROPEFFECT_LINK,
-		LPCRECT lpRectStartDrag = NULL,
-		COleDropSource* pDropSource = NULL);
-	void SetClipboard();
-	static void PASCAL FlushClipboard();
-	static COleDataSource* PASCAL GetClipboardOwner();
-
-	// Advanced: STGMEDIUM based cached data
-	void CacheData(CLIPFORMAT cfFormat, LPSTGMEDIUM lpStgMedium,
-		LPFORMATETC lpFormatEtc = NULL);    // for LPSTGMEDIUM based data
-	// Advanced: STGMEDIUM or HGLOBAL based delayed render
-	void DelayRenderData(CLIPFORMAT cfFormat, LPFORMATETC lpFormatEtc = NULL);
-
-	// Advanced: support for SetData in COleServerItem
-	//  (not generally useful for clipboard or drag/drop operations)
-	void DelaySetData(CLIPFORMAT cfFormat, LPFORMATETC lpFormatEtc = NULL);
-
-// Overidables
-	virtual BOOL OnRenderGlobalData(LPFORMATETC lpFormatEtc, HGLOBAL* phGlobal);
-	virtual BOOL OnRenderFileData(LPFORMATETC lpFormatEtc, CFile* pFile);
-	virtual BOOL OnRenderData(LPFORMATETC lpFormatEtc, LPSTGMEDIUM lpStgMedium);
-		// OnRenderFileData and OnRenderGlobalData are called by
-		//  the default implementation of OnRenderData.
-
-	virtual BOOL OnSetData(LPFORMATETC lpFormatEtc, LPSTGMEDIUM lpStgMedium,
-		BOOL bRelease);
-		// used only in COleServerItem implementation
-
-// Implementation
-public:
-	virtual ~COleDataSource();
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-protected:
-	AFX_DATACACHE_ENTRY* m_pDataCache;  // data cache itself
-	UINT m_nMaxSize;    // current allocated size
-	UINT m_nSize;       // current size of the cache
-	UINT m_nGrowBy;     // number of cache elements to grow by for new allocs
-
-	AFX_DATACACHE_ENTRY* Lookup(
-		LPFORMATETC lpFormatEtc, DATADIR nDataDir) const;
-	AFX_DATACACHE_ENTRY* GetCacheEntry(
-		LPFORMATETC lpFormatEtc, DATADIR nDataDir);
-
-// Interface Maps
-public:
-	BEGIN_INTERFACE_PART(DataObject, IDataObject)
-		INIT_INTERFACE_PART(COleDataSource, DataObject)
-		STDMETHOD(GetData)(LPFORMATETC, LPSTGMEDIUM);
-		STDMETHOD(GetDataHere)(LPFORMATETC, LPSTGMEDIUM);
-		STDMETHOD(QueryGetData)(LPFORMATETC);
-		STDMETHOD(GetCanonicalFormatEtc)(LPFORMATETC, LPFORMATETC);
-		STDMETHOD(SetData)(LPFORMATETC, LPSTGMEDIUM, BOOL);
-		STDMETHOD(EnumFormatEtc)(DWORD, LPENUMFORMATETC*);
-		STDMETHOD(DAdvise)(LPFORMATETC, DWORD, LPADVISESINK, LPDWORD);
-		STDMETHOD(DUnadvise)(DWORD);
-		STDMETHOD(EnumDAdvise)(LPENUMSTATDATA*);
-	END_INTERFACE_PART(DataObject)
-
-	DECLARE_INTERFACE_MAP()
-
-	friend class COleServerItem;
-};
-
-//////////////////////////////////////////////////////////////////////////////
-// DocItem support
-
-#ifdef _AFXDLL
-class CDocItem : public CCmdTarget
-#else
-class AFX_NOVTABLE CDocItem : public CCmdTarget
-#endif
-{
-	DECLARE_SERIAL(CDocItem)
-
-// Constructors
-protected:      // abstract class
-	CDocItem();
-
-// Attributes
-public:
-	CDocument* GetDocument() const; // return container document
-
-// Overridables
-public:
-	// Raw data access (native format)
-	virtual BOOL IsBlank() const;
-
-// Implementation
-protected:
-	COleDocument* m_pDocument;
-
-public:
-	virtual void Serialize(CArchive& ar);   // for Native data
-	virtual ~CDocItem();
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-	friend class COleDocument;              // for access to back pointer
-};
-
-//////////////////////////////////////////////////////////////////////////////
-// COleDocument - common OLE container behavior (enables server functionality)
-
-class COleDocument : public CDocument
-{
-	DECLARE_DYNAMIC(COleDocument)
-
-// Constructors
-public:
-	COleDocument();
-
-// Attributes
-	BOOL HasBlankItems() const; // check for BLANK items
-	virtual COleClientItem* GetInPlaceActiveItem(CWnd* pWnd);
-		// return in-place active item for this view or NULL if none
-
-// Operations
-	// iterating over existing items
-	virtual POSITION GetStartPosition() const;
-	virtual CDocItem* GetNextItem(POSITION& pos) const;
-
-	// iterator helpers (helpers use virtual GetNextItem above)
-	COleClientItem* GetNextClientItem(POSITION& pos) const;
-	COleServerItem* GetNextServerItem(POSITION& pos) const;
-
-	// adding new items - called from item constructors
-	virtual void AddItem(CDocItem* pItem);
-	virtual void RemoveItem(CDocItem* pItem);
-
-	void EnableCompoundFile(BOOL bEnable = TRUE);
-		// enable compound file support (only call during constructor)
-	virtual void UpdateModifiedFlag();
-		// scan for modified items -- mark document modified
-
-	// printer-device caching/control
-	BOOL ApplyPrintDevice(const DVTARGETDEVICE* ptd);
-	BOOL ApplyPrintDevice(const PRINTDLG* ppd);
-		// these apply the target device to all COleClientItem objects
-
-// Overridables
-	virtual COleClientItem* GetPrimarySelectedItem(CView* pView);
-		// return primary selected item or NULL if none
-	virtual void OnShowViews(BOOL bVisible);
-		// called during app-idle when visibility of a document has changed
-
-// Implementation
-public:
-	CObList m_docItemList;  // not owned items
-
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-	CFrameWnd* GetFirstFrame();
-
-	// document handling overrides
-	virtual void SetPathName(LPCTSTR lpszPathName, BOOL bAddToMRU = TRUE);
-	virtual ~COleDocument();
-	virtual void DeleteContents(); // delete client items in list
-	virtual void Serialize(CArchive& ar);   // serialize items to file
-	virtual void PreCloseFrame(CFrameWnd* pFrame);
-	virtual BOOL SaveModified();
-	virtual void OnIdle();
-
-	// compound file implementation
-	virtual BOOL OnNewDocument();
-	virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
-	virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
-	virtual void OnCloseDocument();
-	void CommitItems(BOOL bSuccess);    // called during File.Save & File.Save As
-
-	// minimal linking protocol
-	virtual LPMONIKER GetMoniker(OLEGETMONIKER nAssign);
-	virtual LPOLEITEMCONTAINER GetContainer();
-
-protected:
-	// document state implementation
-	UINT m_dwNextItemNumber;// serial number for next item in this document
-	BOOL m_bLastVisible;    // TRUE if one or more views was last visible
-
-	// 'docfile' support
-	BOOL m_bCompoundFile;   // TRUE if use compound files
-	LPSTORAGE m_lpRootStg;  // root storage for the document
-	BOOL m_bSameAsLoad;     // TRUE = file-save, FALSE = Save [Copy] As
-	BOOL m_bRemember;       // if FALSE, indicates Save Copy As
-
-	DVTARGETDEVICE* m_ptd;  // current document target device
-
-	// implementation helpers
-	virtual void LoadFromStorage();
-	virtual void SaveToStorage(CObject* pObject = NULL);
-	CDocItem* GetNextItemOfKind(POSITION& pos, CRuntimeClass* pClass) const;
-
-	// command handling
-public:
-	virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra,
-		AFX_CMDHANDLERINFO* pHandlerInfo);
-
-protected:
-	afx_msg void OnUpdatePasteMenu(CCmdUI* pCmdUI);
-	afx_msg void OnUpdatePasteLinkMenu(CCmdUI* pCmdUI);
-	afx_msg void OnUpdateEditLinksMenu(CCmdUI* pCmdUI);
-	afx_msg void OnEditLinks();
-	afx_msg void OnEditConvert();
-	afx_msg void OnUpdateEditChangeIcon(CCmdUI* pCmdUI);
-	afx_msg void OnEditChangeIcon();
-	afx_msg void OnUpdateObjectVerbMenu(CCmdUI* pCmdUI);
-	afx_msg void OnFileSendMail();
-
-	friend class COleClientItem;
-	friend class COleServerItem;
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// COleClientItem - Supports OLE2 non-inplace editing.
-//      implements IOleClientSite, IAdviseSink, and IOleInPlaceSite
-
-class COleFrameHook;    // forward reference (see ..\src\oleimpl2.h)
-
-class COleClientItem : public CDocItem
-{
-	DECLARE_DYNAMIC(COleClientItem)
-
-// Constructors
-public:
-	COleClientItem(COleDocument* pContainerDoc = NULL);
-
-	// create from the clipboard
-	BOOL CreateFromClipboard(OLERENDER render = OLERENDER_DRAW,
-		CLIPFORMAT cfFormat = 0, LPFORMATETC lpFormatEtc = NULL);
-	BOOL CreateLinkFromClipboard(OLERENDER render = OLERENDER_DRAW,
-		CLIPFORMAT cfFormat = 0, LPFORMATETC lpFormatEtc = NULL);
-	BOOL CreateStaticFromClipboard(OLERENDER render = OLERENDER_DRAW,
-		CLIPFORMAT cfFormat = 0, LPFORMATETC lpFormatEtc = NULL);
-
-	// create from a class ID (Insert New Object dialog)
-	BOOL CreateNewItem(REFCLSID clsid, OLERENDER render = OLERENDER_DRAW,
-		CLIPFORMAT cfFormat = 0, LPFORMATETC lpFormatEtc = NULL);
-
-	// create from COleDataObject
-	BOOL CreateFromData(COleDataObject* pDataObject,
-		OLERENDER render = OLERENDER_DRAW,
-		CLIPFORMAT cfFormat = 0, LPFORMATETC lpFormatEtc = NULL);
-	BOOL CreateLinkFromData(COleDataObject* pDataObject,
-		OLERENDER render = OLERENDER_DRAW,
-		CLIPFORMAT cfFormat = 0, LPFORMATETC lpFormatEtc = NULL);
-	BOOL CreateStaticFromData(COleDataObject* pDataObject,
-		OLERENDER render = OLERENDER_DRAW,
-		CLIPFORMAT cfFormat = 0, LPFORMATETC lpFormatEtc = NULL);
-
-	// create from file (package support)
-	BOOL CreateFromFile(LPCTSTR lpszFileName, REFCLSID clsid = CLSID_NULL,
-		OLERENDER render = OLERENDER_DRAW,
-		CLIPFORMAT cfFormat = 0, LPFORMATETC lpFormatEtc = NULL);
-	BOOL CreateLinkFromFile(LPCTSTR lpszFileName,
-		OLERENDER render = OLERENDER_DRAW,
-		CLIPFORMAT cfFormat = 0, LPFORMATETC lpFormatEtc = NULL);
-
-	// create a copy
-	BOOL CreateCloneFrom(const COleClientItem* pSrcItem);
-
-// General Attributes
-public:
-	HICON GetIconFromRegistry() const;
-	static HICON GetIconFromRegistry(CLSID& clsid);
-	SCODE GetLastStatus() const;
-	OLE_OBJTYPE GetType() const; // OT_LINK, OT_EMBEDDED, OT_STATIC
-	void GetClassID(CLSID* pClassID) const;
-	void GetUserType(USERCLASSTYPE nUserClassType, CString& rString);
-	BOOL GetExtent(LPSIZE lpSize, DVASPECT nDrawAspect = (DVASPECT)-1);
-		// will return FALSE if item is BLANK
-	BOOL GetCachedExtent(LPSIZE lpSize, DVASPECT nDrawAspect = (DVASPECT)-1);
-
-	// getting/setting iconic cache
-	HGLOBAL GetIconicMetafile();
-	BOOL SetIconicMetafile(HGLOBAL hMetaPict);
-
-	// setting/getting default display aspect
-	DVASPECT GetDrawAspect() const;
-	virtual void SetDrawAspect(DVASPECT nDrawAspect);
-
-	// for printer presentation cache
-	BOOL SetPrintDevice(const DVTARGETDEVICE* ptd);
-	BOOL SetPrintDevice(const PRINTDLG* ppd);
-
-	// Item state
-	enum ItemState
-		{ emptyState, loadedState, openState, activeState, activeUIState };
-	UINT GetItemState() const;
-
-	BOOL IsModified() const;
-	BOOL IsRunning() const;
-	BOOL IsInPlaceActive() const;
-	BOOL IsOpen() const;
-	CView* GetActiveView() const;
-
-	// Data access
-	void AttachDataObject(COleDataObject& rDataObject) const;
-
-	// other rare access information
-	COleDocument* GetDocument() const; // return container
-
-	// helpers for checking clipboard data availability
-	static BOOL PASCAL CanPaste();
-	static BOOL PASCAL CanPasteLink();
-
-	// helpers for checking COleDataObject, useful in drag drop
-	static BOOL PASCAL CanCreateFromData(const COleDataObject* pDataObject);
-	static BOOL PASCAL CanCreateLinkFromData(const COleDataObject* pDataObject);
-
-// General Operations
-	virtual void Release(OLECLOSE dwCloseOption = OLECLOSE_NOSAVE);
-		// cleanup, detach (close if needed)
-	void Close(OLECLOSE dwCloseOption = OLECLOSE_SAVEIFDIRTY);
-		// close without releasing the item
-	void Delete(BOOL bAutoDelete = TRUE);
-		// logically delete from file -- not part of the document anymore
-	void Run(); // insure item is in running state
-
-	// Drawing
-	BOOL Draw(CDC* pDC, LPCRECT lpBounds,
-		DVASPECT nDrawAspect = (DVASPECT)-1);   // defaults to m_nDrawAspect
-
-	// Activation
-	virtual BOOL DoVerb(LONG nVerb, CView* pView, LPMSG lpMsg = NULL);
-	void Activate(LONG nVerb, CView* pView, LPMSG lpMsg = NULL);
-
-	// In-place Activation
-	void Deactivate();          // completely deactivate
-	void DeactivateUI();        // deactivate the user interface
-	BOOL ReactivateAndUndo();   // reactivate then perform undo command
-	BOOL SetItemRects(LPCRECT lpPosRect = NULL, LPCRECT lpClipRect = NULL);
-	CWnd* GetInPlaceWindow();
-
-	// Clipboard operations
-	void CopyToClipboard(BOOL bIncludeLink = FALSE);
-	DROPEFFECT DoDragDrop(LPCRECT lpItemRect, CPoint ptOffset,
-		BOOL bIncludeLink = FALSE,
-		DWORD dwEffects = DROPEFFECT_COPY|DROPEFFECT_MOVE,
-		LPCRECT lpRectStartDrag = NULL);
-	void GetClipboardData(COleDataSource* pDataSource,
-		BOOL bIncludeLink = FALSE, LPPOINT lpOffset = NULL,
-		LPSIZE lpSize = NULL);
-
-	// called for creating a COleDataSource by CopyToClipboard and DoDragDrop
-	virtual COleDataSource* OnGetClipboardData(BOOL bIncludeLink,
-		LPPOINT lpOffset, LPSIZE lpSize);
-
-	// Operations that apply to embedded items only
-	void SetHostNames(LPCTSTR lpszHost, LPCTSTR lpszHostObj);
-	void SetExtent(const CSize& size, DVASPECT nDrawAspect = DVASPECT_CONTENT);
-
-	// Operations that apply to linked items only
-	//  (link options are rarely changed, except through Links dialog)
-	OLEUPDATE GetLinkUpdateOptions();
-	void SetLinkUpdateOptions(OLEUPDATE dwUpdateOpt);
-
-	// Link-source update status (also useful for embeddings that contain links)
-	BOOL UpdateLink();  // make up-to-date
-	BOOL IsLinkUpToDate() const;    // is link up-to-date
-
-	// object conversion
-	virtual BOOL ConvertTo(REFCLSID clsidNew);
-	virtual BOOL ActivateAs(LPCTSTR lpszUserType, REFCLSID clsidOld, REFCLSID clsidNew);
-	BOOL Reload();  // for lazy reload after ActivateAs
-
-// Overridables (notifications of IAdviseSink, IOleClientSite and IOleInPlaceSite)
-	// Callbacks/notifications from the server you must/should implement
-	virtual void OnChange(OLE_NOTIFICATION nCode, DWORD dwParam);
-		// implement OnChange to invalidate when item changes
-
-protected:
-	virtual void OnGetItemPosition(CRect& rPosition);
-		// implement OnGetItemPosition if you support in-place activation
-
-	// Common overrides for in-place activation
-	virtual BOOL OnScrollBy(CSize sizeExtent);
-
-	// Common overrides for applications supporting undo
-	virtual void OnDiscardUndoState();
-	virtual void OnDeactivateAndUndo();
-
-public:
-	virtual void OnDeactivateUI(BOOL bUndoable);
-
-protected:
-	// Common overrides for applications supporting links to embeddings
-	virtual void OnShowItem();
-
-	// Advanced overrides for in-place activation
-	virtual void OnGetClipRect(CRect& rClipRect);
-	virtual BOOL CanActivate();
-
-public:
-	virtual void OnActivate();
-	virtual void OnActivateUI();
-	virtual void OnDeactivate();
-
-protected:
-	virtual BOOL OnGetWindowContext(CFrameWnd** ppMainFrame,
-		CFrameWnd** ppDocFrame, LPOLEINPLACEFRAMEINFO lpFrameInfo);
-	virtual BOOL OnChangeItemPosition(const CRect& rectPos);
-		// default calls SetItemRects and caches the pos rect
-
-public:
-	// Advanced overrides for menu/title handling (rarely overridden)
-	virtual void OnInsertMenus(CMenu* pMenuShared,
-		LPOLEMENUGROUPWIDTHS lpMenuWidths);
-	virtual void OnSetMenu(CMenu* pMenuShared, HOLEMENU holemenu,
-		HWND hwndActiveObject);
-	virtual void OnRemoveMenus(CMenu* pMenuShared);
-	virtual BOOL OnUpdateFrameTitle();
-
-	// Advanced override for control bar handling
-	virtual BOOL OnShowControlBars(CFrameWnd* pFrameWnd, BOOL bShow);
-
-// Implementation
-public:
-	// data to support non-inplace activated items
-	LPOLEOBJECT m_lpObject; // in case you want direct access to the OLE object
-	LPVIEWOBJECT2 m_lpViewObject;// IViewObject for IOleObject above
-	DWORD m_dwItemNumber;   // serial number for this item in this document
-	DVASPECT m_nDrawAspect; // current default display aspect
-	SCODE m_scLast;         // last error code encountered
-	LPSTORAGE m_lpStorage;  // provides storage for m_lpObject
-	LPLOCKBYTES m_lpLockBytes;  // part of implementation of m_lpStorage
-	DWORD m_dwConnection;   // advise connection to the m_lpObject
-	BYTE m_bLinkUnavail;    // TRUE if link is currently unavailable
-	BYTE m_bMoniker;        // TRUE if moniker is assigned
-	BYTE m_bLocked;         // TRUE if object has external lock
-	BYTE m_bNeedCommit;     // TRUE if need CommitItem
-	BYTE m_bClosing;        // TRUE if currently doing COleClientItem::Close
-	BYTE m_bReserved[3];    // (reserved for future use)
-
-	// for compound file support
-	LPSTORAGE m_lpNewStorage;   // used during Save As situations
-
-	// item state & item type
-	ItemState m_nItemState; // item state (see ItemState enumeration)
-	OLE_OBJTYPE m_nItemType;    // item type (depends on how created)
-
-	// data valid when in-place activated
-	CView* m_pView; // view when object is in-place activated
-	DWORD m_dwContainerStyle;   // style of the container wnd before activation
-	COleFrameHook* m_pInPlaceFrame;// frame window when in-place active
-	COleFrameHook* m_pInPlaceDoc;   // doc window when in-place (may be NULL)
-	HWND m_hWndServer;  // HWND of in-place server window
-
-public:
-	virtual ~COleClientItem();
-	virtual void Serialize(CArchive& ar);
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-// Implementation
-public:
-	virtual BOOL ReportError(SCODE sc) const;
-	virtual BOOL FreezeLink();  // converts to static: for edit links dialog
-
-	DWORD GetNewItemNumber();   // generates new item number
-	void GetItemName(LPTSTR lpszItemName) const; // gets readable item name
-
-	void UpdateItemType();  // update m_nItemType
-
-protected:
-	// clipboard helpers
-	void GetEmbeddedItemData(LPSTGMEDIUM lpStgMedium);
-	void AddCachedData(COleDataSource* pDataSource);
-	BOOL GetLinkSourceData(LPSTGMEDIUM lpStgMedium);
-	void GetObjectDescriptorData(LPPOINT lpOffset, LPSIZE lpSize,
-		LPSTGMEDIUM lpStgMedium);
-
-	// interface helpers
-	virtual LPOLECLIENTSITE GetClientSite();
-
-	// helpers for printer-cached representation
-	BOOL GetPrintDeviceInfo(LPOLECACHE* plpOleCache,
-		DVTARGETDEVICE** pptd, DWORD* pdwConnection);
-
-// Advanced Overridables for implementation
-protected:
-	virtual BOOL FinishCreate(SCODE sc);
-	virtual void CheckGeneral(SCODE sc);
-
-	virtual void OnDataChange(LPFORMATETC lpFormatEtc,
-		LPSTGMEDIUM lpStgMedium);
-
-public:
-	// for storage hookability (override to use 'docfiles')
-	virtual void GetItemStorage();  // allocate storage for new item
-	virtual void ReadItem(CArchive& ar);    // read item from archive
-	virtual void WriteItem(CArchive& ar);   // write item to archive
-	virtual void CommitItem(BOOL bSuccess); // commit item's storage
-
-	// compound & flat file implementations of above
-	void GetItemStorageFlat();
-	void ReadItemFlat(CArchive& ar);
-	void WriteItemFlat(CArchive& ar);
-	void GetItemStorageCompound();
-	void ReadItemCompound(CArchive& ar);
-	void WriteItemCompound(CArchive& ar);
-
-// Interface Maps
-public:
-	BEGIN_INTERFACE_PART(OleClientSite, IOleClientSite)
-		INIT_INTERFACE_PART(COleClientItem, OleClientSite)
-		STDMETHOD(SaveObject)();
-		STDMETHOD(GetMoniker)(DWORD, DWORD, LPMONIKER*);
-		STDMETHOD(GetContainer)(LPOLECONTAINER*);
-		STDMETHOD(ShowObject)();
-		STDMETHOD(OnShowWindow)(BOOL);
-		STDMETHOD(RequestNewObjectLayout)();
-	END_INTERFACE_PART(OleClientSite)
-
-	BEGIN_INTERFACE_PART(AdviseSink, IAdviseSink)
-		INIT_INTERFACE_PART(COleClientItem, AdviseSink)
-		STDMETHOD_(void,OnDataChange)(LPFORMATETC, LPSTGMEDIUM);
-		STDMETHOD_(void,OnViewChange)(DWORD, LONG);
-		STDMETHOD_(void,OnRename)(LPMONIKER);
-		STDMETHOD_(void,OnSave)();
-		STDMETHOD_(void,OnClose)();
-	END_INTERFACE_PART(AdviseSink)
-
-	BEGIN_INTERFACE_PART(OleIPSite, IOleInPlaceSite)
-		INIT_INTERFACE_PART(COleClientItem, OleIPSite)
-		STDMETHOD(GetWindow)(HWND*);
-		STDMETHOD(ContextSensitiveHelp)(BOOL);
-		STDMETHOD(CanInPlaceActivate)();
-		STDMETHOD(OnInPlaceActivate)();
-		STDMETHOD(OnUIActivate)();
-		STDMETHOD(GetWindowContext)(LPOLEINPLACEFRAME*,
-			LPOLEINPLACEUIWINDOW*, LPRECT, LPRECT, LPOLEINPLACEFRAMEINFO);
-		STDMETHOD(Scroll)(SIZE);
-		STDMETHOD(OnUIDeactivate)(BOOL);
-		STDMETHOD(OnInPlaceDeactivate)();
-		STDMETHOD(DiscardUndoState)();
-		STDMETHOD(DeactivateAndUndo)();
-		STDMETHOD(OnPosRectChange)(LPCRECT);
-	END_INTERFACE_PART(OleIPSite)
-
-	DECLARE_INTERFACE_MAP()
-
-// Friendship declarations (to avoid many public members)
-	friend class COleUIWindow;
-	friend class COleFrameWindow;
-	friend class COleLinkingDoc;
-};
-
-class COleDocObjectItem : public COleClientItem
-{
-	friend class COleFrameHook;
-	DECLARE_DYNAMIC(COleDocObjectItem)
-
-// Constructors
-public:
-	COleDocObjectItem(COleDocument* pContainerDoc = NULL);
-
-//Overridables
-public:
-	LPOLEDOCUMENTVIEW GetActiveView() const;
-	virtual void Release(OLECLOSE dwCloseOption = OLECLOSE_NOSAVE);
-	virtual void OnInsertMenus(CMenu* pMenuShared,
-		LPOLEMENUGROUPWIDTHS lpMenuWidths);
-	virtual void OnRemoveMenus(CMenu *pMenuShared);
-
-// Operations
-public:
-	static BOOL OnPreparePrinting(CView* pCaller, CPrintInfo* pInfo,
-		BOOL bPrintAll = TRUE);
-	static void OnPrint(CView* pCaller, CPrintInfo* pInfo,
-		BOOL bPrintAll = TRUE);
-	BOOL GetPageCount(LPLONG pnFirstPage, LPLONG pcPages);
-	HRESULT ExecCommand(DWORD nCmdID,
-		DWORD nCmdExecOpt = OLECMDEXECOPT_DONTPROMPTUSER,
-		const GUID* pguidCmdGroup = NULL);
-
-// Implementation
-public:
-	virtual ~COleDocObjectItem();
-	CMenu* m_pHelpPopupMenu;
-
-protected:
-	virtual void OnGetItemPosition(CRect& rPosition);
-	virtual CMenu* GetHelpMenu(UINT& nPosition);
-	void ActivateAndShow();
-	LPOLEDOCUMENTVIEW m_pActiveView;
-	LPPRINT m_pIPrint;
-	BOOL SupportsIPrint();
-	BOOL m_bInHelpMenu;
-
-	BEGIN_INTERFACE_PART(OleDocumentSite, IOleDocumentSite)
-		INIT_INTERFACE_PART(COleDocObjectItem, OleDocumentSite)
-		STDMETHOD(ActivateMe)(LPOLEDOCUMENTVIEW pViewToActivate);
-	END_INTERFACE_PART(OleDocumentSite)
-
-	DECLARE_INTERFACE_MAP()
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// COleServerItem - IOleObject & IDataObject OLE component
-
-#ifdef _AFXDLL
-class COleServerItem : public CDocItem
-#else
-class AFX_NOVTABLE COleServerItem : public CDocItem
-#endif
-{
-	DECLARE_DYNAMIC(COleServerItem)
-protected:
-	// NOTE: many members in this class are protected - since everything
-	//   in this class is designed for implementing an OLE server.
-	// Requests will come from OLE containers through non-C++ mechanisms,
-	//   which will result in virtual functions in this class being called.
-
-// Constructors
-	COleServerItem(COleServerDoc* pServerDoc, BOOL bAutoDelete);
-		// If your COleServerItem is an integral part of your data,
-		//  bAutoDelete should be FALSE.  If your COleServerItem can be
-		//  deleted when a link is released, it can be TRUE.
-
-	COleDataSource* GetDataSource();
-		// Use this data source to add conversion formats that your
-		//  server should support.  Usually such formats are
-		//  added in the item's constructor.
-
-// Public Attributes
-public:
-	COleServerDoc* GetDocument() const; // return server document
-
-	// naming (for links only)
-	const CString& GetItemName() const; // get name of linked item
-	void SetItemName(LPCTSTR lpszItemName);  // set name of linked item
-
-	// link state
-	BOOL IsConnected() const;   // returns TRUE if item has a client
-	BOOL IsLinkedItem() const;  // returns TRUE if item is not embedded item
-
-	// extents
-	CSize m_sizeExtent;
-		// HIMETRIC size -- the default implementation of OnSetExtent
-		//  updates this member variable.  This member tells the server how
-		//  much of the object is visible in the container document.
-
-// Operations
-public:
-	void NotifyChanged(DVASPECT nDrawAspect = DVASPECT_CONTENT);
-		// call this after you change item
-	void CopyToClipboard(BOOL bIncludeLink = FALSE);
-		// helper for implementing server 'copy to clipboard'
-	DROPEFFECT DoDragDrop(LPCRECT lpRectItem, CPoint ptOffset,
-		BOOL bIncludeLink = FALSE,
-		DWORD dwEffects = DROPEFFECT_COPY|DROPEFFECT_MOVE,
-		LPCRECT lpRectStartDrag = NULL);
-	void GetClipboardData(COleDataSource* pDataSource,
-		BOOL bIncludeLink = FALSE, LPPOINT lpOffset = NULL,
-		LPSIZE lpSize = NULL);
-
-// Overridables
-	// overridables you must implement for yourself
-	virtual BOOL OnDraw(CDC* pDC, CSize& rSize) = 0;
-		// drawing for metafile format (return FALSE if not supported or error)
-		//  (called for DVASPECT_CONTENT only)
-
-	// overridables you may want to implement yourself
-	virtual void OnUpdate(COleServerItem* pSender,
-		LPARAM lHint, CObject* pHint, DVASPECT nDrawAspect);
-		// the default implementation always calls NotifyChanged
-
-	virtual BOOL OnDrawEx(CDC* pDC, DVASPECT nDrawAspect, CSize& rSize);
-		// advanced drawing -- called for DVASPECT other than DVASPECT_CONTENT
-	virtual BOOL OnSetExtent(DVASPECT nDrawAspect, const CSize& size);
-	virtual BOOL OnGetExtent(DVASPECT nDrawAspect, CSize& rSize);
-		// default implementation uses m_sizeExtent
-
-	// overridables you do not have to implement
-	virtual void OnDoVerb(LONG iVerb);
-		// default routes to OnShow &/or OnOpen
-	virtual BOOL OnSetColorScheme(const LOGPALETTE* lpLogPalette);
-		// default does nothing
-	virtual COleDataSource* OnGetClipboardData(BOOL bIncludeLink,
-		LPPOINT lpOffset, LPSIZE lpSize);
-		// called for access to clipboard data
-	virtual BOOL OnQueryUpdateItems();
-		// called to determine if there are any contained out-of-date links
-	virtual void OnUpdateItems();
-		// called to update any out-of-date links
-
-protected:
-	virtual void OnShow();
-		// show item in the user interface (may edit in-place)
-	virtual void OnOpen();
-		// show item in the user interface (must open fully)
-	virtual void OnHide();
-		// hide document (and sometimes application)
-
-	// very advanced overridables
-public:
-	virtual BOOL OnInitFromData(COleDataObject* pDataObject, BOOL bCreation);
-		// initialize object from IDataObject
-
-	// see COleDataSource for a description of these overridables
-	virtual BOOL OnRenderGlobalData(LPFORMATETC lpFormatEtc, HGLOBAL* phGlobal);
-	virtual BOOL OnRenderFileData(LPFORMATETC lpFormatEtc, CFile* pFile);
-	virtual BOOL OnRenderData(LPFORMATETC lpFormatEtc, LPSTGMEDIUM lpStgMedium);
-		// HGLOBAL version will be called first, then CFile* version
-
-	virtual BOOL OnSetData(LPFORMATETC lpFormatEtc, LPSTGMEDIUM lpStgMedium,
-		BOOL bRelease);
-		// Rare -- only if you support SetData (programmatic paste)
-
-	// advanced helpers for CopyToClipboard
-	void GetEmbedSourceData(LPSTGMEDIUM lpStgMedium);
-	void AddOtherClipboardData(COleDataSource* pDataSource);
-	BOOL GetLinkSourceData(LPSTGMEDIUM lpStgMedium);
-	void GetObjectDescriptorData(LPPOINT lpOffset, LPSIZE lpSize,
-		LPSTGMEDIUM lpStgMedium);
-
-// Implementation
-public:
-	BOOL m_bNeedUnlock;             // if TRUE need to pDoc->LockExternal(FALSE)
-	BOOL m_bAutoDelete;             // if TRUE will OnRelease will 'delete this'
-
-	// special version of OnFinalRelease to implement document locking
-	virtual void OnFinalRelease();
-
-protected:
-	CString m_strItemName;          // simple item name
-
-public:
-	LPOLEADVISEHOLDER m_lpOleAdviseHolder;  // may be NULL
-	LPDATAADVISEHOLDER m_lpDataAdviseHolder;    // may be NULL
-
-	virtual ~COleServerItem();
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-	// implementation helpers
-	void NotifyClient(OLE_NOTIFICATION wNotification, DWORD dwParam);
-	LPDATAOBJECT GetDataObject();
-	LPOLEOBJECT GetOleObject();
-	LPMONIKER GetMoniker(OLEGETMONIKER nAssign);
-
-protected:
-	virtual BOOL GetMetafileData(LPFORMATETC lpFormatEtc, LPSTGMEDIUM pmedium);
-		// calls OnDraw or OnDrawEx
-	virtual void OnSaveEmbedding(LPSTORAGE lpStorage);
-	virtual BOOL IsBlank() const;
-
-	// CItemDataSource implements OnRender reflections to COleServerItem
-	class CItemDataSource : public COleDataSource
-	{
-	protected:
-		// the GetData and SetData interfaces forward to m_pItem
-		virtual BOOL OnRenderGlobalData(LPFORMATETC lpFormatEtc, HGLOBAL* phGlobal);
-		virtual BOOL OnRenderFileData(LPFORMATETC lpFormatEtc, CFile* pFile);
-		virtual BOOL OnRenderData(LPFORMATETC lpFormatEtc, LPSTGMEDIUM lpStgMedium);
-			// HGLOBAL version will be called first, then CFile* version
-
-		virtual BOOL OnSetData(LPFORMATETC lpFormatEtc, LPSTGMEDIUM lpStgMedium,
-			BOOL bRelease);
-	};
-	CItemDataSource m_dataSource;
-		// data source used to implement IDataObject
-
-// Interface Maps
-//  (Note: these interface maps are used just for link implementation)
-public:
-	BEGIN_INTERFACE_PART(OleObject, IOleObject)
-		INIT_INTERFACE_PART(COleServerItem, OleObject)
-		STDMETHOD(SetClientSite)(LPOLECLIENTSITE);
-		STDMETHOD(GetClientSite)(LPOLECLIENTSITE*);
-		STDMETHOD(SetHostNames)(LPCOLESTR, LPCOLESTR);
-		STDMETHOD(Close)(DWORD);
-		STDMETHOD(SetMoniker)(DWORD, LPMONIKER);
-		STDMETHOD(GetMoniker)(DWORD, DWORD, LPMONIKER*);
-		STDMETHOD(InitFromData)(LPDATAOBJECT, BOOL, DWORD);
-		STDMETHOD(GetClipboardData)(DWORD, LPDATAOBJECT*);
-		STDMETHOD(DoVerb)(LONG, LPMSG, LPOLECLIENTSITE, LONG, HWND, LPCRECT);
-		STDMETHOD(EnumVerbs)(LPENUMOLEVERB*);
-		STDMETHOD(Update)();
-		STDMETHOD(IsUpToDate)();
-		STDMETHOD(GetUserClassID)(LPCLSID);
-		STDMETHOD(GetUserType)(DWORD, LPOLESTR*);
-		STDMETHOD(SetExtent)(DWORD, LPSIZEL);
-		STDMETHOD(GetExtent)(DWORD, LPSIZEL);
-		STDMETHOD(Advise)(LPADVISESINK, LPDWORD);
-		STDMETHOD(Unadvise)(DWORD);
-		STDMETHOD(EnumAdvise)(LPENUMSTATDATA*);
-		STDMETHOD(GetMiscStatus)(DWORD, LPDWORD);
-		STDMETHOD(SetColorScheme)(LPLOGPALETTE);
-	END_INTERFACE_PART(OleObject)
-
-	BEGIN_INTERFACE_PART(DataObject, IDataObject)
-		INIT_INTERFACE_PART(COleServerItem, DataObject)
-		STDMETHOD(GetData)(LPFORMATETC, LPSTGMEDIUM);
-		STDMETHOD(GetDataHere)(LPFORMATETC, LPSTGMEDIUM);
-		STDMETHOD(QueryGetData)(LPFORMATETC);
-		STDMETHOD(GetCanonicalFormatEtc)(LPFORMATETC, LPFORMATETC);
-		STDMETHOD(SetData)(LPFORMATETC, LPSTGMEDIUM, BOOL);
-		STDMETHOD(EnumFormatEtc)(DWORD, LPENUMFORMATETC*);
-		STDMETHOD(DAdvise)(LPFORMATETC, DWORD, LPADVISESINK, LPDWORD);
-		STDMETHOD(DUnadvise)(DWORD);
-		STDMETHOD(EnumDAdvise)(LPENUMSTATDATA*);
-	END_INTERFACE_PART(DataObject)
-
-	DECLARE_INTERFACE_MAP()
-
-	friend class CItemDataSource;
-	friend class COleServerDoc;
-	friend class COleLinkingDoc;
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// COleLinkingDoc -
-//  (enables linking to embeddings - beginnings of server fuctionality)
-
-class COleLinkingDoc : public COleDocument
-{
-	DECLARE_DYNAMIC(COleLinkingDoc)
-
-// Constructors
-public:
-	COleLinkingDoc();
-
-// Operations
-	BOOL Register(COleObjectFactory* pFactory, LPCTSTR lpszPathName);
-		// notify the running object table and connect to pServer
-	void Revoke();
-		// revoke from running object table
-
-// Overridables
-protected:
-	virtual COleServerItem* OnGetLinkedItem(LPCTSTR lpszItemName);
-		// return item for the named linked item (for supporting links)
-	virtual COleClientItem* OnFindEmbeddedItem(LPCTSTR lpszItemName);
-		// return item for the named embedded item (for links to embeddings)
-
-// Implementation
-public:
-	COleObjectFactory* m_pFactory;  // back-pointer to server
-
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-	virtual ~COleLinkingDoc();
-
-	// overrides for updating of monikers & running object table registration
-	virtual BOOL OnNewDocument();
-	virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
-	virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
-	virtual void OnCloseDocument();
-	virtual LPOLEITEMCONTAINER GetContainer();
-	virtual LPMONIKER GetMoniker(OLEGETMONIKER nAssign);
-
-	// special handling of error messages during save/load
-	virtual void ReportSaveLoadException(LPCTSTR lpszPathName,
-		CException* e, BOOL bSaving, UINT nIDPDefault);
-	void BeginDeferErrors();
-	SCODE EndDeferErrors(SCODE sc);
-
-protected:
-	BOOL m_bDeferErrors;    // TRUE if in non-interactive OLE mode
-	CException* m_pLastException;
-
-	DWORD m_dwRegister;     // file moniker's registration in the ROT
-	LPMONIKER m_lpMonikerROT; // file moniker that is registered
-	CString m_strMoniker;   // filename used to create moniker
-	BOOL m_bVisibleLock;    // TRUE if user is holding lock on document
-
-	// implementation helpers
-	virtual BOOL RegisterIfServerAttached(LPCTSTR lpszPathName, BOOL bMessage);
-	void LockExternal(BOOL bLock, BOOL bRemoveRefs);
-	void UpdateVisibleLock(BOOL bVisible, BOOL bRemoveRefs);
-	virtual void OnShowViews(BOOL bVisible);
-
-	virtual void SaveToStorage(CObject* pObject = NULL);
-
-// Interface Maps
-public:
-	BEGIN_INTERFACE_PART(PersistFile, IPersistFile)
-		INIT_INTERFACE_PART(COleLinkingDoc, PersistFile)
-		STDMETHOD(GetClassID)(LPCLSID);
-		STDMETHOD(IsDirty)();
-		STDMETHOD(Load)(LPCOLESTR, DWORD);
-		STDMETHOD(Save)(LPCOLESTR, BOOL);
-		STDMETHOD(SaveCompleted)(LPCOLESTR);
-		STDMETHOD(GetCurFile)(LPOLESTR*);
-	END_INTERFACE_PART(PersistFile)
-
-	BEGIN_INTERFACE_PART(OleItemContainer, IOleItemContainer)
-		INIT_INTERFACE_PART(COleLinkingDoc, OleItemContainer)
-		STDMETHOD(ParseDisplayName)(LPBC, LPOLESTR, ULONG*, LPMONIKER*);
-		STDMETHOD(EnumObjects)(DWORD, LPENUMUNKNOWN*);
-		STDMETHOD(LockContainer)(BOOL);
-		STDMETHOD(GetObject)(LPOLESTR, DWORD, LPBINDCTX, REFIID, LPVOID*);
-		STDMETHOD(GetObjectStorage)(LPOLESTR, LPBINDCTX, REFIID, LPVOID*);
-		STDMETHOD(IsRunning)(LPOLESTR);
-	END_INTERFACE_PART(OleItemContainer)
-
-	DECLARE_INTERFACE_MAP()
-
-	friend class COleClientItem;
-	friend class COleClientItem::XOleClientSite;
-	friend class COleServerItem::XOleObject;
-};
-
-//////////////////////////////////////////////////////////////////////////////
-// COleServerDoc - registered server document containing COleServerItems
-
-#ifdef _AFXDLL
-class COleServerDoc : public COleLinkingDoc
-#else
-class AFX_NOVTABLE COleServerDoc : public COleLinkingDoc
-#endif
-{
-	DECLARE_DYNAMIC(COleServerDoc)
-
-// Constructors and Destructors
-public:
-	COleServerDoc();
-
-// Attributes
-	BOOL IsEmbedded() const;    // TRUE if document is an embedding
-	BOOL IsDocObject() const;   // TRUE if document is a DocObject
-	COleServerItem* GetEmbeddedItem();
-		// return embedded item for document (will allocate if necessary)
-
-	// attributes specific to in-place activation
-	BOOL IsInPlaceActive() const;
-	void GetItemPosition(LPRECT lpPosRect) const;
-		// get current position rectangle of in-place edit
-	void GetItemClipRect(LPRECT lpClipRect) const;
-		// get current clipping rectangle of in-place edit
-	BOOL GetZoomFactor(LPSIZE lpSizeNum = NULL, LPSIZE lpSizeDenom = NULL,
-		LPCRECT lpPosRect = NULL) const;
-		// returns the zoom factor in pixels
-
-// Operations
-	void NotifyChanged();
-		// call this after you change some global attribute like
-		//  document dimensions
-	void UpdateAllItems(COleServerItem* pSender,
-		LPARAM lHint = 0L, CObject* pHint = NULL,
-		DVASPECT nDrawAspect = DVASPECT_CONTENT);
-
-	// changes to the entire document (automatically notifies clients)
-	void NotifyRename(LPCTSTR lpszNewName);
-	void NotifySaved();
-	void NotifyClosed();        // call this after you close document
-
-	// specific operations for embedded documents
-	void SaveEmbedding();       // call this to save embedded (before closing)
-
-	// specific to in-place activation
-	BOOL ActivateInPlace();
-	void ActivateDocObject();
-	void RequestPositionChange(LPCRECT lpPosRect);
-	BOOL ScrollContainerBy(CSize sizeScroll);
-	BOOL DeactivateAndUndo();
-	BOOL DiscardUndoState();
-
-public:
-// Overridables for standard user interface (full server)
-	virtual BOOL OnUpdateDocument(); // implementation of embedded update
-
-protected:
-// Overridables you must implement for yourself
-	virtual COleServerItem* OnGetEmbeddedItem() = 0;
-		// return item representing entire (embedded) document
-
-// Overridables you do not have to implement
-	virtual void OnClose(OLECLOSE dwCloseOption);
-	virtual void OnSetHostNames(LPCTSTR lpszHost, LPCTSTR lpszHostObj);
-	virtual HRESULT OnExecOleCmd(const GUID* pguidCmdGroup, DWORD nCmdID,
-		DWORD nCmdExecOpt, VARIANTARG* pvarargIn, VARIANTARG* pvarargOut);
-	virtual CDocObjectServer* GetDocObjectServer(LPOLEDOCUMENTSITE pDocSite);
-
-// Advanced overridables
-	LPUNKNOWN GetInterfaceHook(const void* piid);
-	virtual void OnShowDocument(BOOL bShow);
-		// show first frame for document or hide all frames for document
-
-// Advanced overridables for in-place activation
-public:
-	virtual void OnDeactivate();
-	virtual void OnDeactivateUI(BOOL bUndoable);
-
-protected:
-	virtual void OnSetItemRects(LPCRECT lpPosRect, LPCRECT lpClipRect);
-	virtual BOOL OnReactivateAndUndo();
-
-	virtual void OnFrameWindowActivate(BOOL bActivate);
-	virtual void OnDocWindowActivate(BOOL bActivate);
-	virtual void OnShowControlBars(CFrameWnd* pFrameWnd, BOOL bShow);
-	virtual COleIPFrameWnd* CreateInPlaceFrame(CWnd* pParentWnd);
-	virtual void DestroyInPlaceFrame(COleIPFrameWnd* pFrameWnd);
-public:
-	virtual void OnResizeBorder(LPCRECT lpRectBorder,
-		LPOLEINPLACEUIWINDOW lpUIWindow, BOOL bFrame);
-
-// Implementation
-protected:
-	LPOLECLIENTSITE m_lpClientSite;     // for embedded item
-	CString m_strHostObj;               // name of document in container
-	BOOL m_bCntrVisible;                // TRUE if OnShowWindow(TRUE) called
-	BOOL m_bClosing;                    // TRUE if shutting down
-	COleServerItem* m_pEmbeddedItem;    // pointer to embedded item for document
-
-	COleIPFrameWnd* m_pInPlaceFrame;    // not NULL if in-place activated
-	CWnd* m_pOrigParent;                // not NULL if existing view used
-	DWORD m_dwOrigStyle;                // original style of in-place view
-	DWORD m_dwOrigStyleEx;              // original extended style
-
-	CDocObjectServer* m_pDocObjectServer;  // if DocObject, ptr to doc site
-
-public:
-	virtual ~COleServerDoc();
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-	// overridables for implementation
-	virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
-	virtual void OnCloseDocument();
-	virtual void DeleteContents(); // delete auto-delete server items
-	virtual LPMONIKER GetMoniker(OLEGETMONIKER nAssign);
-	virtual COleServerItem* OnGetLinkedItem(LPCTSTR lpszItemName);
-		// return item for the named linked item (only if supporting links)
-	virtual BOOL CanCloseFrame(CFrameWnd* pFrame);
-
-protected:
-	// overrides to handle server user-interface
-	virtual BOOL SaveModified();        // return TRUE if ok to continue
-	virtual HMENU GetDefaultMenu();     // return menu based on doc type
-	virtual HACCEL GetDefaultAccelerator(); // return accel table based on doc type
-	virtual BOOL GetFileTypeString(CString& rString);
-
-	// IPersistStorage implementation
-	virtual void OnNewEmbedding(LPSTORAGE lpStorage);
-	virtual void OnOpenEmbedding(LPSTORAGE lpStorage);
-	virtual void OnSaveEmbedding(LPSTORAGE lpStorage);
-
-	// Implementation helpers
-	void NotifyAllItems(OLE_NOTIFICATION wNotification, DWORD dwParam);
-	BOOL SaveModifiedPrompt();
-	void ConnectView(CWnd* pParentWnd, CView* pView);
-	void UpdateUsingHostObj(UINT nIDS, CCmdUI* pCmdUI);
-
-// Message Maps
-	//{{AFX_MSG(COleServerDoc)
-	afx_msg void OnFileUpdate();
-	afx_msg void OnFileSaveCopyAs();
-	afx_msg void OnUpdateFileUpdate(CCmdUI* pCmdUI);
-	afx_msg void OnUpdateFileExit(CCmdUI* pCmdUI);
-	//}}AFX_MSG
-	DECLARE_MESSAGE_MAP()
-
-// Interface Maps
-public:
-	BEGIN_INTERFACE_PART(PersistStorage, IPersistStorage)
-		INIT_INTERFACE_PART(COleServerDoc, PersistStorage)
-		STDMETHOD(GetClassID)(LPCLSID);
-		STDMETHOD(IsDirty)();
-		STDMETHOD(InitNew)(LPSTORAGE);
-		STDMETHOD(Load)(LPSTORAGE);
-		STDMETHOD(Save)(LPSTORAGE, BOOL);
-		STDMETHOD(SaveCompleted)(LPSTORAGE);
-		STDMETHOD(HandsOffStorage)();
-	END_INTERFACE_PART(PersistStorage)
-
-	BEGIN_INTERFACE_PART(OleObject, IOleObject)
-		INIT_INTERFACE_PART(COleServerDoc, OleObject)
-		STDMETHOD(SetClientSite)(LPOLECLIENTSITE);
-		STDMETHOD(GetClientSite)(LPOLECLIENTSITE*);
-		STDMETHOD(SetHostNames)(LPCOLESTR, LPCOLESTR);
-		STDMETHOD(Close)(DWORD);
-		STDMETHOD(SetMoniker)(DWORD, LPMONIKER);
-		STDMETHOD(GetMoniker)(DWORD, DWORD, LPMONIKER*);
-		STDMETHOD(InitFromData)(LPDATAOBJECT, BOOL, DWORD);
-		STDMETHOD(GetClipboardData)(DWORD, LPDATAOBJECT*);
-		STDMETHOD(DoVerb)(LONG, LPMSG, LPOLECLIENTSITE, LONG, HWND, LPCRECT);
-		STDMETHOD(EnumVerbs)(IEnumOLEVERB**);
-		STDMETHOD(Update)();
-		STDMETHOD(IsUpToDate)();
-		STDMETHOD(GetUserClassID)(CLSID*);
-		STDMETHOD(GetUserType)(DWORD, LPOLESTR*);
-		STDMETHOD(SetExtent)(DWORD, LPSIZEL);
-		STDMETHOD(GetExtent)(DWORD, LPSIZEL);
-		STDMETHOD(Advise)(LPADVISESINK, LPDWORD);
-		STDMETHOD(Unadvise)(DWORD);
-		STDMETHOD(EnumAdvise)(LPENUMSTATDATA*);
-		STDMETHOD(GetMiscStatus)(DWORD, LPDWORD);
-		STDMETHOD(SetColorScheme)(LPLOGPALETTE);
-	END_INTERFACE_PART(OleObject)
-
-	BEGIN_INTERFACE_PART(DataObject, IDataObject)
-		INIT_INTERFACE_PART(COleServerDoc, DataObject)
-		STDMETHOD(GetData)(LPFORMATETC, LPSTGMEDIUM);
-		STDMETHOD(GetDataHere)(LPFORMATETC, LPSTGMEDIUM);
-		STDMETHOD(QueryGetData)(LPFORMATETC);
-		STDMETHOD(GetCanonicalFormatEtc)(LPFORMATETC, LPFORMATETC);
-		STDMETHOD(SetData)(LPFORMATETC, LPSTGMEDIUM, BOOL);
-		STDMETHOD(EnumFormatEtc)(DWORD, LPENUMFORMATETC*);
-		STDMETHOD(DAdvise)(LPFORMATETC, DWORD, LPADVISESINK, LPDWORD);
-		STDMETHOD(DUnadvise)(DWORD);
-		STDMETHOD(EnumDAdvise)(LPENUMSTATDATA*);
-	END_INTERFACE_PART(DataObject)
-
-	BEGIN_INTERFACE_PART(OleInPlaceObject, IOleInPlaceObject)
-		INIT_INTERFACE_PART(COleServerDoc, OleInPlaceObject)
-		STDMETHOD(GetWindow)(HWND*);
-		STDMETHOD(ContextSensitiveHelp)(BOOL);
-		STDMETHOD(InPlaceDeactivate)();
-		STDMETHOD(UIDeactivate)();
-		STDMETHOD(SetObjectRects)(LPCRECT, LPCRECT);
-		STDMETHOD(ReactivateAndUndo)();
-	END_INTERFACE_PART(OleInPlaceObject)
-
-	BEGIN_INTERFACE_PART(OleInPlaceActiveObject, IOleInPlaceActiveObject)
-		INIT_INTERFACE_PART(COleServerDoc, OleInPlaceActiveObject)
-		STDMETHOD(GetWindow)(HWND*);
-		STDMETHOD(ContextSensitiveHelp)(BOOL);
-		STDMETHOD(TranslateAccelerator)(LPMSG);
-		STDMETHOD(OnFrameWindowActivate)(BOOL);
-		STDMETHOD(OnDocWindowActivate)(BOOL);
-		STDMETHOD(ResizeBorder)(LPCRECT, LPOLEINPLACEUIWINDOW, BOOL);
-		STDMETHOD(EnableModeless)(BOOL);
-	END_INTERFACE_PART(OleInPlaceActiveObject)
-
-	DECLARE_INTERFACE_MAP()
-
-	friend class COleServer;
-	friend class COleServerItem;
-	friend class CDocObjectServer;
-};
-
-//////////////////////////////////////////////////////////////////////////////
-// COleIPFrameWnd
-
-class COleCntrFrameWnd;
-
-class COleIPFrameWnd : public CFrameWnd
-{
-	DECLARE_DYNCREATE(COleIPFrameWnd)
-
-// Constructors
-public:
-	COleIPFrameWnd();
-
-// Overridables
-public:
-	virtual BOOL OnCreateControlBars(CWnd* pWndFrame, CWnd* pWndDoc);
-		// create control bars on container windows (pWndDoc can be NULL)
-	virtual BOOL OnCreateControlBars(CFrameWnd* pWndFrame, CFrameWnd* pWndDoc);
-		// create control bars on container windows (pWndDoc can be NULL)
-
-	virtual void RepositionFrame(LPCRECT lpPosRect, LPCRECT lpClipRect);
-		// Advanced: reposition frame to wrap around new lpPosRect
-
-// Implementation
-public:
-	BOOL m_bUIActive;   // TRUE if currently in uiacitve state
-
-	virtual BOOL LoadFrame(UINT nIDResource,
-		DWORD dwDefaultStyle = WS_CHILD|WS_BORDER|WS_CLIPSIBLINGS,
-		CWnd* pParentWnd = NULL,
-		CCreateContext* pContext = NULL);
-	virtual void RecalcLayout(BOOL bNotify = TRUE);
-	virtual BOOL PreTranslateMessage(MSG* pMsg);
-	virtual LRESULT OnSetMessageString(WPARAM wParam, LPARAM lParam);
-	virtual ~COleIPFrameWnd();
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-protected:
-	// in-place state
-	OLEINPLACEFRAMEINFO m_frameInfo;
-	LPOLEINPLACEFRAME m_lpFrame;
-	LPOLEINPLACEUIWINDOW m_lpDocFrame;
-	COleCntrFrameWnd* m_pMainFrame;
-	COleCntrFrameWnd* m_pDocFrame;
-
-	HMENU m_hSharedMenu;
-	OLEMENUGROUPWIDTHS m_menuWidths;
-	HOLEMENU m_hOleMenu;
-	CRect m_rectPos;            // client area rect of the item
-	CRect m_rectClip;           // area to which frame should be clipped
-	BOOL m_bInsideRecalc;
-
-	HMENU _m_Reserved;
-
-	// Advanced: in-place activation virtual implementation
-	virtual BOOL BuildSharedMenu();
-	virtual void DestroySharedMenu();
-	virtual HMENU GetInPlaceMenu();
-
-	// Advanced: possible override to change in-place sizing behavior
-	virtual void OnRequestPositionChange(LPCRECT lpRect);
-
-protected:
-	//{{AFX_MSG(COleIPFrameWnd)
-	afx_msg void OnSize(UINT nType, int cx, int cy);
-	afx_msg LRESULT OnRecalcParent(WPARAM wParam, LPARAM lParam);
-	afx_msg void OnIdleUpdateCmdUI();
-	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
-	afx_msg void OnDestroy();
-	afx_msg LRESULT OnResizeChild(WPARAM wParam, LPARAM lParam);
-	afx_msg void OnContextHelp();
-	afx_msg void OnUpdateControlBarMenu(CCmdUI* pCmdUI);
-	afx_msg BOOL OnBarCheck(UINT nID);
-	afx_msg void OnWindowPosChanging(LPWINDOWPOS lpWndPos);
-	//}}AFX_MSG
-	DECLARE_MESSAGE_MAP()
-
-	friend class COleServerDoc;
-	friend class COleCntrFrameWnd;
-	friend class CDocObjectServer;
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// COleResizeBar - supports in-place resizing in server applications
-
-class COleResizeBar : public CControlBar
-{
-	DECLARE_DYNAMIC(COleResizeBar)
-
-// Constructors
-public:
-	COleResizeBar();
-	BOOL Create(CWnd* pParentWnd, DWORD dwStyle = WS_CHILD | WS_VISIBLE,
-		UINT nID = AFX_IDW_RESIZE_BAR);
-
-// Implementation
-public:
-	virtual ~COleResizeBar();
-	virtual void OnUpdateCmdUI(CFrameWnd* pTarget, BOOL bDisableIfNoHndler);
-
-protected:
-	CRectTracker m_tracker;     // implemented with a tracker
-
-protected:
-	//{{AFX_MSG(COleResizeBar)
-	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
-	afx_msg void OnPaint();
-	afx_msg void OnSize(UINT nType, int cx, int cy);
-	afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
-	afx_msg void OnLButtonDown(UINT, CPoint point);
-	afx_msg LRESULT OnSizeParent(WPARAM wParam, LPARAM lParam);
-	//}}AFX_MSG
-	DECLARE_MESSAGE_MAP()
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// COleStreamFile - implementation of CFile which uses an IStream
-
-class COleStreamFile : public CFile
-{
-	DECLARE_DYNAMIC(COleStreamFile)
-
-// Constructors and Destructors
-public:
-	COleStreamFile(LPSTREAM lpStream = NULL);
-
-// Operations
-	// Note: OpenStream and CreateStream can accept eith STGM_ flags or
-	//  CFile::OpenFlags bits since common values are guaranteed to have
-	//  the same semantics.
-	BOOL OpenStream(LPSTORAGE lpStorage, LPCTSTR lpszStreamName,
-		DWORD nOpenFlags = modeReadWrite|shareExclusive,
-		CFileException* pError = NULL);
-	BOOL CreateStream(LPSTORAGE lpStorage, LPCTSTR lpszStreamName,
-		DWORD nOpenFlags = modeReadWrite|shareExclusive|modeCreate,
-		CFileException* pError = NULL);
-
-	BOOL CreateMemoryStream(CFileException* pError = NULL);
-
-	// attach & detach can be used when Open/Create functions aren't adequate
-	void Attach(LPSTREAM lpStream);
-	LPSTREAM Detach();
-
-	IStream* GetStream() const;
-	// Returns the current stream
-
-// Implementation
-public:
-	LPSTREAM m_lpStream;
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-	virtual ~COleStreamFile();
-
-	// attributes for implementation
-	BOOL GetStatus(CFileStatus& rStatus) const;
-	virtual DWORD GetPosition() const;
-
-	virtual const CString GetStorageName() const;
-
-	// overrides for implementation
-	virtual CFile* Duplicate() const;
-	virtual LONG Seek(LONG lOff, UINT nFrom);
-	virtual void SetLength(DWORD dwNewLen);
-	virtual DWORD GetLength() const;
-	virtual UINT Read(void* lpBuf, UINT nCount);
-	virtual void Write(const void* lpBuf, UINT nCount);
-	virtual void LockRange(DWORD dwPos, DWORD dwCount);
-	virtual void UnlockRange(DWORD dwPos, DWORD dwCount);
-	virtual void Abort();
-	virtual void Flush();
-	virtual void Close();
-
-protected:
-	CString m_strStorageName;
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CMonikerFile - implementation of COleStreamFile that uses an IMoniker to
-//                get the IStream
-
-class CMonikerFile: public COleStreamFile
-{
-	DECLARE_DYNAMIC(CMonikerFile)
-
-public:
-	CMonikerFile();
-
-	virtual BOOL Open(LPCTSTR lpszURL, CFileException* pError=NULL);
-	// Uses synchronous URLMonikers to create a moniker.
-	// Opens the URL specified.
-	// If provided, pError will be set in case of error.
-	// Return value: TRUE if successful, FALSE otherwise.
-
-	virtual BOOL Open(IMoniker* pMoniker, CFileException* pError=NULL);
-	// Binds to the provided moniker to obtain a stream.
-	// If provided, pError will be set in case of error.
-	// Return value: TRUE if successful, FALSE otherwise.
-
-	virtual void Close();
-	// Detaches the stream, Release()s it, and the moniker.  Close may be
-	// called on unopened, or already closed streams.
-
-	BOOL Detach(CFileException* pError = NULL);
-	// Closes the stream.  If there is an error when closing, then the
-	// error code will be placed in pError and the function will return FALSE.
-
-	IMoniker* GetMoniker() const;
-	// Returns the current moniker.  The moniker returned is not AddRef()'ed.
-
-protected:
-// Overidables
-	IBindCtx* CreateBindContext(CFileException* pError);
-	// A hook so users can provide a particular IBindCtx, potentially one
-	// on which the user has registered one or more objects.
-
-// Implementation
-protected:
-	virtual BOOL Open(LPCTSTR lpszUrl, IBindHost* pBindHost,
-		IBindStatusCallback* pBSC, IBindCtx* pBindCtx, CFileException* pError);
-	BOOL Attach(LPCTSTR lpszUrl, IBindHost* pBindHost,
-		IBindStatusCallback* pBSC, IBindCtx* pBindCtx, CFileException* pError);
-	virtual BOOL Open(IMoniker* pMoniker, IBindHost* pBindHost,
-		IBindStatusCallback* pBSC, IBindCtx* pBindCtx, CFileException* pError);
-
-	BOOL Attach(IMoniker* pMoniker, IBindHost* pBindHost,
-		IBindStatusCallback* pBSC, IBindCtx* pBindCtx, CFileException* pError);
-
-	virtual BOOL PostBindToStream(CFileException* pError);
-
-	static IBindHost* CreateBindHost();
-public:
-	virtual ~CMonikerFile();
-	// Closes the stream, and releases the moniker if needed.
-
-	virtual void Flush();
-
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-	// Calls COleStreamFile::Dump(), and prints out moniker value.
-#endif
-
-protected:
-	IPTR(IMoniker) m_Moniker;
-	// The moniker provided or created to which this class is bound.
-
-	CMonikerFile(const CMonikerFile&);
-	// Prevents copying.
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CAsyncMonikerFile - implementation of COleStreamFile that uses an
-//                     asynchronous IMoniker to get the IStream
-
-class _AfxBindStatusCallback; // Forward declaration
-
-class CAsyncMonikerFile: public CMonikerFile
-{
-	DECLARE_DYNAMIC(CAsyncMonikerFile)
-
-public:
-	CAsyncMonikerFile();
-	// Creates the IBindStatusCallback used internally to provide asynchronous
-	// operation.
-
-	//All Open overloads call one of these two.
-	virtual BOOL Open(LPCTSTR lpszURL, IBindHost* pBindHost,
-		CFileException* pError=NULL);
-	virtual BOOL Open(IMoniker* pMoniker, IBindHost* pBindHost,
-		CFileException* pError=NULL);
-
-	//Open overloads that take monikers
-	virtual BOOL Open(IMoniker* pMoniker, CFileException* pError=NULL);
-	virtual BOOL Open(IMoniker* pMoniker, IServiceProvider* pServiceProvider,
-		CFileException* pError=NULL);
-	virtual BOOL Open(IMoniker* pMoniker, IUnknown* pUnknown,
-		CFileException* pError=NULL);
-
-	//Open overloads that take strings
-	virtual BOOL Open(LPCTSTR lpszURL, CFileException* pError=NULL);
-	virtual BOOL Open(LPCTSTR lpszURL, IServiceProvider* pServiceProvider,
-		CFileException* pError=NULL);
-	virtual BOOL Open(LPCTSTR lpszURL, IUnknown* pUnknown,
-		CFileException* pError=NULL);
-
-	virtual void Close();
-
-	IBinding* GetBinding() const;
-	// Returns the binding provided when the asychronous transfer begins.
-	// With the IBinding*, the user may abort, or pause the transfer.
-	// NULL may be returned if for any reason the transfer could not be
-	// made asynchronous, or if the IBinding* has not yet been provided by
-	// the system.
-
-	FORMATETC* GetFormatEtc() const;
-	// Returns the FORMATETC for the currently opened stream.  NULL will be
-	// returned if this is called from outside the context of OnDataAvailable.
-	// If you want to keep the FORMATETC beyond this call, make a copy of it.
-	// The FORMATETC indicates the format of the data in the stream.
-
-protected:
-// Overidables
-	virtual IUnknown* CreateBindStatusCallback(IUnknown* pUnkControlling);
-
-	virtual DWORD GetBindInfo() const;
-	// Returns the settings returned by IBindStatusCallback::GetBindInfo.
-	// The default values returned should work for most cases and should not
-	// be changed lightly.
-
-	virtual LONG GetPriority() const;
-	// Returns the priority at which the asynchronous transfer will take
-	// place.  The value is one of the standard thread priority flags.
-	// By default THREAD_PRIORITY_NORMAL is returned.
-
-	virtual void OnDataAvailable(DWORD dwSize, DWORD bscfFlag);
-	// Called when there is data available to be read.  dwSize indicates
-	// the cumulative number of bytes which can be read.  The bscfFlag may be used
-	// to identify first, last, and intermediate blocks of data.
-
-	virtual void OnLowResource();
-	// This is called when resources are low.
-
-	virtual void OnStartBinding();
-	// Called when the binding is starting up.
-
-	virtual void OnProgress(ULONG ulProgress, ULONG ulProgressMax,
-		ULONG ulStatusCode, LPCTSTR szStatusText);
-
-	virtual void OnStopBinding(HRESULT hresult, LPCTSTR szError);
-	// Called when the transfer is stopped.  This function releases the
-	// IBinding and should nearly always be call when overidden.
-
-// Implementation
-public:
-	virtual ~CAsyncMonikerFile();
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-	// Calls CMonikerFile::Dump(), and prints out IBinding,
-	// IBindStatusCallback, and m_pFormatEtc values.
-#endif
-	virtual UINT Read(void* lpBuf, UINT nCount);
-
-protected:
-	friend class _AfxBindStatusCallback;
-	_AfxBindStatusCallback* m_pAfxBSCCurrent;
-	BOOL m_bStopBindingReceived;
-	void EndCallbacks();
-
-	IPTR(IBinding) m_Binding;
-	FORMATETC* m_pFormatEtc;
-
-	void SetBinding(IBinding* pBinding);
-	// Sets and AddRefs m_Binding
-
-	void SetFormatEtc(FORMATETC* pFormatEtc);
-	// Sets the FORMATETC for the current stream.
-
-	virtual BOOL PostBindToStream(CFileException* pError);
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// COleDropSource (advanced drop source support)
-
-class COleDropSource : public CCmdTarget
-{
-// Constructors
-public:
-	COleDropSource();
-
-// Overridables
-	virtual SCODE QueryContinueDrag(BOOL bEscapePressed, DWORD dwKeyState);
-	virtual SCODE GiveFeedback(DROPEFFECT dropEffect);
-	virtual BOOL OnBeginDrag(CWnd* pWnd);
-
-// Implementation
-public:
-#ifdef MFC_DEBUG
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-public:
-	BEGIN_INTERFACE_PART(DropSource, IDropSource)
-		INIT_INTERFACE_PART(COleDropSource, DropSource)
-		STDMETHOD(QueryContinueDrag)(BOOL, DWORD);
-		STDMETHOD(GiveFeedback)(DWORD);
-	END_INTERFACE_PART(DropSource)
-
-	DECLARE_INTERFACE_MAP()
-
-	CRect m_rectStartDrag;  // when mouse leaves this rect, drag drop starts
-	BOOL m_bDragStarted;    // has drag really started yet?
-	DWORD m_dwButtonCancel; // which button will cancel (going down)
-	DWORD m_dwButtonDrop;   // which button will confirm (going up)
-
-	// metrics for drag start determination
-	static AFX_DATA UINT nDragMinDist;  // min. amount mouse must move for drag
-	static AFX_DATA UINT nDragDelay;    // delay before drag starts
-
-	friend class COleDataSource;
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// COleDropTarget (advanced drop target support)
-
-class COleDropTarget : public CCmdTarget
-{
-// Constructors
-public:
-	COleDropTarget();
-
-// Operations
-	BOOL Register(CWnd* pWnd);
-	virtual void Revoke();  // virtual for implementation
-
-// Overridables
-	virtual DROPEFFECT OnDragEnter(CWnd* pWnd, COleDataObject* pDataObject,
-		DWORD dwKeyState, CPoint point);
-	virtual DROPEFFECT OnDragOver(CWnd* pWnd, COleDataObject* pDataObject,
-		DWORD dwKeyState, CPoint point);
-	virtual BOOL OnDrop(CWnd* pWnd, COleDataObject* pDataObject,
-		DROPEFFECT dropEffect, CPoint point);
-	virtual DROPEFFECT OnDropEx(CWnd* pWnd, COleDataObject* pDataObject,
-		DROPEFFECT dropDefault, DROPEFFECT dropList, CPoint point);
-	virtual void OnDragLeave(CWnd* pWnd);
-	virtual DROPEFFECT OnDragScroll(CWnd* pWnd, DWORD dwKeyState,
-		CPoint point);
-
-// Implementation
-public:
-	virtual ~COleDropTarget();
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-protected:
-	HWND m_hWnd;            // HWND this IDropTarget is attached to
-	LPDATAOBJECT m_lpDataObject;    // != NULL between OnDragEnter, OnDragLeave
-	UINT m_nTimerID;        // != MAKEWORD(-1, -1) when in scroll area
-	DWORD m_dwLastTick;     // only valid when m_nTimerID valid
-	UINT m_nScrollDelay;    // time to next scroll
-
-	// metrics for drag-scrolling
-	static AFX_DATA int nScrollInset;
-	static AFX_DATA UINT nScrollDelay;
-	static AFX_DATA UINT nScrollInterval;
-
-	// implementation helpers
-	void SetupTimer(CView* pView, UINT nTimerID);
-	void CancelTimer(CWnd* pWnd);
-
-// Interface Maps
-public:
-	BEGIN_INTERFACE_PART(DropTarget, IDropTarget)
-		INIT_INTERFACE_PART(COleDropTarget, DropTarget)
-		STDMETHOD(DragEnter)(LPDATAOBJECT, DWORD, POINTL, LPDWORD);
-		STDMETHOD(DragOver)(DWORD, POINTL, LPDWORD);
-		STDMETHOD(DragLeave)();
-		STDMETHOD(Drop)(LPDATAOBJECT, DWORD, POINTL pt, LPDWORD);
-	END_INTERFACE_PART(DropTarget)
-
-	DECLARE_INTERFACE_MAP()
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// COleMessageFilter (implements IMessageFilter)
-
-class COleMessageFilter : public CCmdTarget
-{
-// Constructors
-public:
-	COleMessageFilter();
-
-// Operations
-	BOOL Register();
-	void Revoke();
-
-	// for controlling the busy state of the server application (called app)
-	virtual void BeginBusyState();
-	virtual void EndBusyState();
-	void SetBusyReply(SERVERCALL nBusyReply);
-
-	// for controlling actions taken against rejected/retried calls
-	void SetRetryReply(DWORD nRetryReply = 0);
-		// only used when the "not responding" dialog is disabled
-	void SetMessagePendingDelay(DWORD nTimeout = 5000);
-		// used to determine amount of time before significant message
-	void EnableBusyDialog(BOOL bEnableBusy = TRUE);
-	void EnableNotRespondingDialog(BOOL bEnableNotResponding = TRUE);
-		// used to enable/disable the two types of busy dialogs
-
-// Overridables
-	virtual BOOL OnMessagePending(const MSG* pMsg);
-		// return TRUE to eat the message (usually only if processed)
-
-// Implementation
-public:
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-	virtual ~COleMessageFilter();
-	virtual BOOL IsSignificantMessage(MSG* pMsg);
-		// determine if any significant messages are present in the queue
-	virtual int OnBusyDialog(HTASK htaskBusy);
-	virtual int OnNotRespondingDialog(HTASK htaskBusy);
-		// these functions display the busy dialog
-
-protected:
-	BOOL m_bRegistered;
-	LONG m_nBusyCount;  // for BeginBusyState & EndBusyState
-	BOOL m_bEnableBusy;
-	BOOL m_bEnableNotResponding;
-	BOOL m_bUnblocking;
-	DWORD m_nRetryReply;    // only used if m_bEnableNotResponding == FALSE
-	DWORD m_nBusyReply;
-	DWORD m_nTimeout;
-
-// Interface Maps
-public:
-	BEGIN_INTERFACE_PART(MessageFilter, IMessageFilter)
-		INIT_INTERFACE_PART(COleMessageFilter, MessageFilter)
-		STDMETHOD_(DWORD, HandleInComingCall)(DWORD, HTASK, DWORD,
-			LPINTERFACEINFO);
-		STDMETHOD_(DWORD, RetryRejectedCall)(HTASK, DWORD, DWORD);
-		STDMETHOD_(DWORD, MessagePending)(HTASK, DWORD, DWORD);
-	END_INTERFACE_PART(MessageFilter)
-
-	DECLARE_INTERFACE_MAP()
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// message map entries for OLE verbs
-
-#define ON_STDOLEVERB(iVerb, memberFxn) \
-	{ 0xC002, 0, (UINT)iVerb, (UINT)iVerb, (UINT)-1, \
-		(AFX_PMSG)(BOOL (AFX_MSG_CALL CCmdTarget::*)(LPMSG, HWND, LPCRECT))&memberFxn },
-
-#define ON_OLEVERB(idsVerbName, memberFxn) \
-	{ 0xC002, 0, 1, 1, idsVerbName, \
-		(AFX_PMSG)(BOOL (AFX_MSG_CALL CCmdTarget::*)(LPMSG, HWND, LPCRECT))&memberFxn },
-
-/////////////////////////////////////////////////////////////////////////////
-// global helpers and debugging
-
-void AFXAPI AfxOleSetEditMenu(COleClientItem* pClient, CMenu* pMenu,
-	UINT iMenuItem, UINT nIDVerbMin, UINT nIDVerbMax = 0, UINT nIDConvert = 0);
-
-#ifdef MFC_DEBUG
-// Mapping SCODEs to readable text
-LPCTSTR AFXAPI AfxGetFullScodeString(SCODE sc);
-LPCTSTR AFXAPI AfxGetScodeString(SCODE sc);
-LPCTSTR AFXAPI AfxGetScodeRangeString(SCODE sc);
-LPCTSTR AFXAPI AfxGetSeverityString(SCODE sc);
-LPCTSTR AFXAPI AfxGetFacilityString(SCODE sc);
-
-// Mapping IIDs to readable text
-LPCTSTR AFXAPI AfxGetIIDString(REFIID iid);
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// Inline function declarations
-
-#ifdef _AFX_PACKING
-#pragma pack(pop)
-#endif
-
-#ifdef _AFX_ENABLE_INLINES
-#define _AFXOLE_INLINE AFX_INLINE
-#define _AFXOLECLI_INLINE AFX_INLINE
-#define _AFXOLESVR_INLINE AFX_INLINE
-#define _AFXOLEDOBJ_INLINE AFX_INLINE
-#define _AFXOLEMONIKER_INLINE AFX_INLINE
-#include <afxole.inl>
-#undef _AFXOLE_INLINE
-#undef _AFXOLECLI_INLINE
-#undef _AFXOLESVR_INLINE
-#undef _AFXOLEDOBJ_INLINE
-#undef _AFXOLEMONIKER_INLINE
-#endif
-
-#undef AFX_DATA
-#define AFX_DATA
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, on)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, off)
-#endif
-
-#endif //__AFXOLE_H__
-
-/////////////////////////////////////////////////////////////////////////////x

+ 0 - 425
libs/mfc/include/afxole.inl

@@ -1,425 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-// Inlines for AFXOLE.H
-
-/////////////////////////////////////////////////////////////////////////////
-// General OLE inlines (CDocItem, COleDocument)
-
-#ifdef _AFXOLE_INLINE
-
-// CDocItem
-_AFXOLE_INLINE CDocument* CDocItem::GetDocument() const
-	{ return m_pDocument; }
-
-// COleDocument
-_AFXOLE_INLINE void COleDocument::EnableCompoundFile(BOOL bEnable)
-	{ m_bCompoundFile = bEnable; }
-
-// COleMessageFilter
-_AFXOLE_INLINE void COleMessageFilter::SetBusyReply(SERVERCALL nBusyReply)
-	{ ASSERT_VALID(this); m_nBusyReply = nBusyReply; }
-_AFXOLE_INLINE void COleMessageFilter::SetRetryReply(DWORD nRetryReply)
-	{ ASSERT_VALID(this); m_nRetryReply = nRetryReply; }
-_AFXOLE_INLINE void COleMessageFilter::SetMessagePendingDelay(DWORD nTimeout)
-	{ ASSERT_VALID(this); m_nTimeout = nTimeout; }
-_AFXOLE_INLINE void COleMessageFilter::EnableBusyDialog(BOOL bEnable)
-	{ ASSERT_VALID(this); m_bEnableBusy = bEnable; }
-_AFXOLE_INLINE void COleMessageFilter::EnableNotRespondingDialog(BOOL bEnable)
-	{ ASSERT_VALID(this); m_bEnableNotResponding = bEnable; }
-
-#endif //_AFXOLE_INLINE
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Moniker inlines
-
-#ifdef _AFXOLEMONIKER_INLINE
-
-// CMonikerFile
-_AFXOLEMONIKER_INLINE CMonikerFile::CMonikerFile() { }
-_AFXOLEMONIKER_INLINE IMoniker* CMonikerFile::GetMoniker() const
-	{ ASSERT_VALID(this); return m_Moniker; }
-
-// CAsyncMonikerFile
-_AFXOLEMONIKER_INLINE IBinding* CAsyncMonikerFile::GetBinding() const
-	{ ASSERT_VALID(this); return m_Binding; }
-_AFXOLEMONIKER_INLINE void CAsyncMonikerFile::SetBinding(IBinding* pBinding)
-	{ ASSERT_VALID(this); m_Binding=pBinding; }
-_AFXOLEMONIKER_INLINE void CAsyncMonikerFile::SetFormatEtc(FORMATETC* pFormatEtc)
-	{ ASSERT_VALID(this); m_pFormatEtc=pFormatEtc; }
-_AFXOLEMONIKER_INLINE FORMATETC* CAsyncMonikerFile::GetFormatEtc() const
-	{ ASSERT_VALID(this); return m_pFormatEtc; }
-
-#endif //_AFXOLEMONIKER_INLINE
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE automation inlines
-
-#ifdef _AFXDISP_INLINE
-
-// COleException
-_AFXDISP_INLINE COleException::COleException()
-	{ m_sc = S_OK; }
-_AFXDISP_INLINE COleException::~COleException()
-	{ }
-
-// CCmdTarget
-_AFXDISP_INLINE DWORD CCmdTarget::InternalAddRef()
-	{ ASSERT(GetInterfaceMap() != NULL); return InterlockedIncrement(&m_dwRef); }
-
-// CObjectFactory
-_AFXDISP_INLINE BOOL COleObjectFactory::IsRegistered() const
-	{ ASSERT_VALID(this); return m_dwRegister != 0; }
-_AFXDISP_INLINE REFCLSID COleObjectFactory::GetClassID() const
-	{ ASSERT_VALID(this); return m_clsid; }
-
-// COleDispatchDriver
-_AFXDISP_INLINE COleDispatchDriver::~COleDispatchDriver()
-	{ ReleaseDispatch(); }
-_AFXDISP_INLINE COleDispatchDriver::operator LPDISPATCH()
-	{ return m_lpDispatch; }
-
-// COleVariant
-_AFXDISP_INLINE COleVariant::COleVariant()
-	{ AfxVariantInit(this); }
-_AFXDISP_INLINE COleVariant::~COleVariant()
-	{ VERIFY(::VariantClear(this) == NOERROR); }
-_AFXDISP_INLINE void COleVariant::Clear()
-	{ VERIFY(::VariantClear(this) == NOERROR); }
-_AFXDISP_INLINE COleVariant::COleVariant(LPCTSTR lpszSrc)
-	{ vt = VT_EMPTY; *this = lpszSrc; }
-_AFXDISP_INLINE COleVariant::COleVariant(CString& strSrc)
-	{ vt = VT_EMPTY; *this = strSrc; }
-_AFXDISP_INLINE COleVariant::COleVariant(BYTE nSrc)
-	{ vt = VT_UI1; bVal = nSrc; }
-_AFXDISP_INLINE COleVariant::COleVariant(const COleCurrency& curSrc)
-	{ vt = VT_CY; cyVal = curSrc.m_cur; }
-_AFXDISP_INLINE COleVariant::COleVariant(float fltSrc)
-	{ vt = VT_R4; fltVal = fltSrc; }
-_AFXDISP_INLINE COleVariant::COleVariant(double dblSrc)
-	{ vt = VT_R8; dblVal = dblSrc; }
-_AFXDISP_INLINE COleVariant::COleVariant(const COleDateTime& dateSrc)
-	{ vt = VT_DATE; date = dateSrc.m_dt; }
-_AFXDISP_INLINE COleVariant::COleVariant(const CByteArray& arrSrc)
-	{ vt = VT_EMPTY; *this = arrSrc; }
-_AFXDISP_INLINE COleVariant::COleVariant(const CLongBinary& lbSrc)
-	{ vt = VT_EMPTY; *this = lbSrc; }
-_AFXDISP_INLINE BOOL COleVariant::operator==(LPCVARIANT pSrc) const
-	{ return *this == *pSrc; }
-_AFXDISP_INLINE COleVariant::operator LPVARIANT()
-	{ return this; }
-_AFXDISP_INLINE COleVariant::operator LPCVARIANT() const
-	{ return this; }
-
-// COleCurrency
-_AFXDISP_INLINE COleCurrency::COleCurrency()
-	{ m_cur.Hi = 0; m_cur.Lo = 0; SetStatus(valid); }
-_AFXDISP_INLINE COleCurrency::COleCurrency(CURRENCY cySrc)
-	{ m_cur = cySrc; SetStatus(valid); }
-_AFXDISP_INLINE COleCurrency::COleCurrency(const COleCurrency& curSrc)
-	{ m_cur = curSrc.m_cur; m_status = curSrc.m_status; }
-_AFXDISP_INLINE COleCurrency::COleCurrency(const VARIANT& varSrc)
-	{ *this = varSrc; }
-_AFXDISP_INLINE COleCurrency::CurrencyStatus COleCurrency::GetStatus() const
-	{ return m_status; }
-_AFXDISP_INLINE void COleCurrency::SetStatus(CurrencyStatus status)
-	{ m_status = status; }
-_AFXDISP_INLINE const COleCurrency& COleCurrency::operator+=(const COleCurrency& cur)
-	{ *this = *this + cur; return *this; }
-_AFXDISP_INLINE const COleCurrency& COleCurrency::operator-=(const COleCurrency& cur)
-	{ *this = *this - cur; return *this; }
-_AFXDISP_INLINE const COleCurrency& COleCurrency::operator*=(long nOperand)
-	{ *this = *this * nOperand; return *this; }
-_AFXDISP_INLINE const COleCurrency& COleCurrency::operator/=(long nOperand)
-	{ *this = *this / nOperand; return *this; }
-_AFXDISP_INLINE BOOL COleCurrency::operator==(const COleCurrency& cur) const
-	{ return(m_status == cur.m_status && m_cur.Hi == cur.m_cur.Hi &&
-		m_cur.Lo == cur.m_cur.Lo); }
-_AFXDISP_INLINE BOOL COleCurrency::operator!=(const COleCurrency& cur) const
-	{ return(m_status != cur.m_status || m_cur.Hi != cur.m_cur.Hi ||
-		m_cur.Lo != cur.m_cur.Lo); }
-_AFXDISP_INLINE COleCurrency::operator CURRENCY() const
-	{ return m_cur; }
-
-// COleDateTime
-_AFXDISP_INLINE COleDateTime::COleDateTime()
-	{ m_dt = 0; SetStatus(valid); }
-_AFXDISP_INLINE COleDateTime::COleDateTime(const COleDateTime& dateSrc)
-	{ m_dt = dateSrc.m_dt; m_status = dateSrc.m_status; }
-_AFXDISP_INLINE COleDateTime::COleDateTime(const VARIANT& varSrc)
-	{ *this = varSrc; }
-_AFXDISP_INLINE COleDateTime::COleDateTime(DATE dtSrc)
-	{ m_dt = dtSrc; SetStatus(valid); }
-_AFXDISP_INLINE COleDateTime::COleDateTime(time_t timeSrc)
-	{ *this = timeSrc; }
-_AFXDISP_INLINE COleDateTime::COleDateTime(const SYSTEMTIME& systimeSrc)
-	{ *this = systimeSrc; }
-_AFXDISP_INLINE COleDateTime::COleDateTime(const FILETIME& filetimeSrc)
-	{ *this = filetimeSrc; }
-_AFXDISP_INLINE COleDateTime::COleDateTime(int nYear, int nMonth, int nDay,
-	int nHour, int nMin, int nSec)
-	{ SetDateTime(nYear, nMonth, nDay, nHour, nMin, nSec); }
-_AFXDISP_INLINE COleDateTime::COleDateTime(WORD wDosDate, WORD wDosTime)
-	{ m_status = DosDateTimeToVariantTime(wDosDate, wDosTime, &m_dt) ?
-		valid : invalid; }
-_AFXDISP_INLINE const COleDateTime& COleDateTime::operator=(const COleDateTime& dateSrc)
-	{ m_dt = dateSrc.m_dt; m_status = dateSrc.m_status; return *this; }
-_AFXDISP_INLINE COleDateTime::DateTimeStatus COleDateTime::GetStatus() const
-	{ return m_status; }
-_AFXDISP_INLINE void COleDateTime::SetStatus(DateTimeStatus status)
-	{ m_status = status; }
-_AFXDISP_INLINE BOOL COleDateTime::operator==(const COleDateTime& date) const
-	{ return (m_status == date.m_status && m_dt == date.m_dt); }
-_AFXDISP_INLINE BOOL COleDateTime::operator!=(const COleDateTime& date) const
-	{ return (m_status != date.m_status || m_dt != date.m_dt); }
-_AFXDISP_INLINE const COleDateTime& COleDateTime::operator+=(
-	const COleDateTimeSpan dateSpan)
-	{ *this = *this + dateSpan; return *this; }
-_AFXDISP_INLINE const COleDateTime& COleDateTime::operator-=(
-	const COleDateTimeSpan dateSpan)
-	{ *this = *this - dateSpan; return *this; }
-_AFXDISP_INLINE COleDateTime::operator DATE() const
-	{ return m_dt; }
-_AFXDISP_INLINE int COleDateTime::SetDate(int nYear, int nMonth, int nDay)
-	{ return SetDateTime(nYear, nMonth, nDay, 0, 0, 0); }
-_AFXDISP_INLINE int COleDateTime::SetTime(int nHour, int nMin, int nSec)
-	// Set date to zero date - 12/30/1899
-	{ return SetDateTime(1899, 12, 30, nHour, nMin, nSec); }
-
-// COleDateTimeSpan
-_AFXDISP_INLINE COleDateTimeSpan::COleDateTimeSpan()
-	{ m_span = 0; SetStatus(valid); }
-_AFXDISP_INLINE COleDateTimeSpan::COleDateTimeSpan(double dblSpanSrc)
-	{ m_span = dblSpanSrc; SetStatus(valid); }
-_AFXDISP_INLINE COleDateTimeSpan::COleDateTimeSpan(
-	const COleDateTimeSpan& dateSpanSrc)
-	{ m_span = dateSpanSrc.m_span; m_status = dateSpanSrc.m_status; }
-_AFXDISP_INLINE COleDateTimeSpan::COleDateTimeSpan(
-	long lDays, int nHours, int nMins, int nSecs)
-	{ SetDateTimeSpan(lDays, nHours, nMins, nSecs); }
-_AFXDISP_INLINE COleDateTimeSpan::DateTimeSpanStatus COleDateTimeSpan::GetStatus() const
-	{ return m_status; }
-_AFXDISP_INLINE void COleDateTimeSpan::SetStatus(DateTimeSpanStatus status)
-	{ m_status = status; }
-_AFXDISP_INLINE double COleDateTimeSpan::GetTotalDays() const
-	{ ASSERT(GetStatus() == valid); return m_span; }
-_AFXDISP_INLINE double COleDateTimeSpan::GetTotalHours() const
-	{ ASSERT(GetStatus() == valid);
-		long lReturns = (long)(m_span * 24 + AFX_OLE_DATETIME_HALFSECOND);
-		return lReturns;
-	}
-_AFXDISP_INLINE double COleDateTimeSpan::GetTotalMinutes() const
-	{ ASSERT(GetStatus() == valid);
-		long lReturns = (long)(m_span * 24 * 60 + AFX_OLE_DATETIME_HALFSECOND);
-		return lReturns;
-	}
-_AFXDISP_INLINE double COleDateTimeSpan::GetTotalSeconds() const
-	{ ASSERT(GetStatus() == valid);
-		long lReturns = (long)(m_span * 24 * 60 * 60 + AFX_OLE_DATETIME_HALFSECOND);
-		return lReturns;
-	}
-
-_AFXDISP_INLINE long COleDateTimeSpan::GetDays() const
-	{ ASSERT(GetStatus() == valid); return (long)m_span; }
-_AFXDISP_INLINE BOOL COleDateTimeSpan::operator==(
-	const COleDateTimeSpan& dateSpan) const
-	{ return (m_status == dateSpan.m_status &&
-		m_span == dateSpan.m_span); }
-_AFXDISP_INLINE BOOL COleDateTimeSpan::operator!=(
-	const COleDateTimeSpan& dateSpan) const
-	{ return (m_status != dateSpan.m_status ||
-		m_span != dateSpan.m_span); }
-_AFXDISP_INLINE BOOL COleDateTimeSpan::operator<(
-	const COleDateTimeSpan& dateSpan) const
-	{ ASSERT(GetStatus() == valid);
-		ASSERT(dateSpan.GetStatus() == valid);
-		return m_span < dateSpan.m_span; }
-_AFXDISP_INLINE BOOL COleDateTimeSpan::operator>(
-	const COleDateTimeSpan& dateSpan) const
-	{ ASSERT(GetStatus() == valid);
-		ASSERT(dateSpan.GetStatus() == valid);
-		return m_span > dateSpan.m_span; }
-_AFXDISP_INLINE BOOL COleDateTimeSpan::operator<=(
-	const COleDateTimeSpan& dateSpan) const
-	{ ASSERT(GetStatus() == valid);
-		ASSERT(dateSpan.GetStatus() == valid);
-		return m_span <= dateSpan.m_span; }
-_AFXDISP_INLINE BOOL COleDateTimeSpan::operator>=(
-	const COleDateTimeSpan& dateSpan) const
-	{ ASSERT(GetStatus() == valid);
-		ASSERT(dateSpan.GetStatus() == valid);
-		return m_span >= dateSpan.m_span; }
-_AFXDISP_INLINE const COleDateTimeSpan& COleDateTimeSpan::operator+=(
-	const COleDateTimeSpan dateSpan)
-	{ *this = *this + dateSpan; return *this; }
-_AFXDISP_INLINE const COleDateTimeSpan& COleDateTimeSpan::operator-=(
-	const COleDateTimeSpan dateSpan)
-	{ *this = *this - dateSpan; return *this; }
-_AFXDISP_INLINE COleDateTimeSpan COleDateTimeSpan::operator-() const
-	{ return -this->m_span; }
-_AFXDISP_INLINE COleDateTimeSpan::operator double() const
-	{ return m_span; }
-
-// COleSafeArray
-_AFXDISP_INLINE COleSafeArray::COleSafeArray()
-	{ AfxSafeArrayInit(this);
-		vt = VT_EMPTY; }
-_AFXDISP_INLINE COleSafeArray::~COleSafeArray()
-	{ Clear(); }
-_AFXDISP_INLINE void COleSafeArray::Clear()
-	{ VERIFY(::VariantClear(this) == NOERROR); }
-_AFXDISP_INLINE COleSafeArray::operator LPVARIANT()
-	{ return this; }
-_AFXDISP_INLINE COleSafeArray::operator LPCVARIANT() const
-	{ return this; }
-_AFXDISP_INLINE DWORD COleSafeArray::GetDim()
-	{ return ::SafeArrayGetDim(parray); }
-_AFXDISP_INLINE DWORD COleSafeArray::GetElemSize()
-	{ return ::SafeArrayGetElemsize(parray); }
-
-#endif //_AFXDISP_INLINE
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Container inlines
-
-#ifdef _AFXOLECLI_INLINE
-
-// COleClientItem
-_AFXOLECLI_INLINE SCODE COleClientItem::GetLastStatus() const
-	{ ASSERT_VALID(this); return m_scLast; }
-_AFXOLECLI_INLINE COleDocument* COleClientItem::GetDocument() const
-	{ ASSERT_VALID(this); return (COleDocument*)m_pDocument; }
-_AFXOLECLI_INLINE OLE_OBJTYPE COleClientItem::GetType() const
-	{ ASSERT_VALID(this); return m_nItemType; }
-_AFXOLECLI_INLINE DVASPECT COleClientItem::GetDrawAspect() const
-	{ ASSERT_VALID(this); return m_nDrawAspect; }
-_AFXOLECLI_INLINE BOOL COleClientItem::IsRunning() const
-	{ ASSERT_VALID(this);
-		ASSERT(m_lpObject != NULL);
-		return ::OleIsRunning(m_lpObject); }
-_AFXOLECLI_INLINE UINT COleClientItem::GetItemState() const
-	{ ASSERT_VALID(this); return m_nItemState; }
-_AFXOLECLI_INLINE BOOL COleClientItem::IsInPlaceActive() const
-	{ ASSERT_VALID(this);
-		return m_nItemState == activeState || m_nItemState == activeUIState; }
-_AFXOLECLI_INLINE BOOL COleClientItem::IsOpen() const
-	{ ASSERT_VALID(this); return m_nItemState == openState; }
-_AFXOLECLI_INLINE BOOL COleClientItem::IsLinkUpToDate() const
-	{ ASSERT_VALID(this);
-		ASSERT(m_lpObject != NULL);
-		// TRUE if result is S_OK (aka S_TRUE)
-		return m_lpObject->IsUpToDate() == NOERROR; }
-_AFXOLECLI_INLINE CView* COleClientItem::GetActiveView() const
-	{ return m_pView; }
-
-// COleLinkingDoc
-_AFXOLECLI_INLINE void COleLinkingDoc::BeginDeferErrors()
-	{ ASSERT(m_pLastException == NULL); ++m_bDeferErrors; }
-
-#endif //_AFXOLECLI_INLINE
-
-#ifdef _AFXOLEDOBJ_INLINE
-
-// COleDataObject
-_AFXOLEDOBJ_INLINE COleDataObject::~COleDataObject()
-	{ Release(); }
-
-#endif //_AFXOLECTL_INLINE
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE dialog inlines
-
-#ifdef _AFXODLGS_INLINE
-
-_AFXODLGS_INLINE UINT COleDialog::GetLastError() const
-	{ return m_nLastError; }
-_AFXODLGS_INLINE CString COleInsertDialog::GetPathName() const
-	{ ASSERT_VALID(this);
-		ASSERT(GetSelectionType() != createNewItem); return m_szFileName; }
-_AFXODLGS_INLINE REFCLSID COleInsertDialog::GetClassID() const
-	{ ASSERT_VALID(this); return m_io.clsid; }
-_AFXODLGS_INLINE HGLOBAL COleInsertDialog::GetIconicMetafile() const
-	{ ASSERT_VALID(this); return m_io.hMetaPict; }
-_AFXODLGS_INLINE DVASPECT COleInsertDialog::GetDrawAspect() const
-	{ ASSERT_VALID(this); return m_io.dwFlags & IOF_CHECKDISPLAYASICON ?
-		DVASPECT_ICON : DVASPECT_CONTENT; }
-_AFXODLGS_INLINE HGLOBAL COleConvertDialog::GetIconicMetafile() const
-	{ ASSERT_VALID(this); return m_cv.hMetaPict; }
-_AFXODLGS_INLINE DVASPECT COleConvertDialog::GetDrawAspect() const
-	{ ASSERT_VALID(this); return (DVASPECT)m_cv.dvAspect; }
-_AFXODLGS_INLINE REFCLSID COleConvertDialog::GetClassID() const
-	{ ASSERT_VALID(this); return m_cv.clsidNew; }
-_AFXODLGS_INLINE HGLOBAL COleChangeIconDialog::GetIconicMetafile() const
-	{ ASSERT_VALID(this); return m_ci.hMetaPict; }
-_AFXODLGS_INLINE int COlePasteSpecialDialog::GetPasteIndex() const
-	{ ASSERT_VALID(this); return m_ps.nSelectedIndex; }
-_AFXODLGS_INLINE DVASPECT COlePasteSpecialDialog::GetDrawAspect() const
-	{ ASSERT_VALID(this); return m_ps.dwFlags & PSF_CHECKDISPLAYASICON ?
-		DVASPECT_ICON : DVASPECT_CONTENT; }
-_AFXODLGS_INLINE HGLOBAL COlePasteSpecialDialog::GetIconicMetafile() const
-	{ ASSERT_VALID(this); return m_ps.hMetaPict; }
-_AFXODLGS_INLINE UINT COleBusyDialog::GetSelectionType() const
-	{ ASSERT_VALID(this); return m_selection; }
-
-_AFXODLGS_INLINE BOOL COleChangeSourceDialog::IsValidSource()
-	{ return m_cs.dwFlags & CSF_VALIDSOURCE; }
-_AFXODLGS_INLINE CString COleChangeSourceDialog::GetDisplayName()
-	{ return m_cs.lpszDisplayName; }
-_AFXODLGS_INLINE CString COleChangeSourceDialog::GetFileName()
-	{ return CString(m_cs.lpszDisplayName, m_cs.nFileLength); }
-_AFXODLGS_INLINE CString COleChangeSourceDialog::GetItemName()
-	{ return m_cs.lpszDisplayName+m_cs.nFileLength; }
-_AFXODLGS_INLINE CString COleChangeSourceDialog::GetFromPrefix()
-	{ return m_cs.lpszFrom; }
-_AFXODLGS_INLINE CString COleChangeSourceDialog::GetToPrefix()
-	{ return m_cs.lpszTo; }
-
-#endif //_AFXODLGS_INLINE
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Server inlines
-
-#ifdef _AFXOLESVR_INLINE
-
-// COleServerItem
-_AFXOLESVR_INLINE COleServerDoc* COleServerItem::GetDocument() const
-	{ ASSERT_VALID(this); return (COleServerDoc*)m_pDocument; }
-_AFXOLESVR_INLINE void COleServerItem::NotifyChanged(DVASPECT nDrawAspect)
-	{ ASSERT_VALID(this); NotifyClient(OLE_CHANGED, nDrawAspect); }
-_AFXOLESVR_INLINE const CString& COleServerItem::GetItemName() const
-	{ ASSERT_VALID(this); return m_strItemName; }
-_AFXOLESVR_INLINE void COleServerItem::SetItemName(LPCTSTR lpszItemName)
-{
-	ASSERT_VALID(this);
-	ASSERT(lpszItemName != NULL);
-	ASSERT(AfxIsValidString(lpszItemName));
-	m_strItemName = lpszItemName;
-}
-_AFXOLESVR_INLINE BOOL COleServerItem::IsLinkedItem() const
-	{ ASSERT_VALID(this); return GetDocument()->m_pEmbeddedItem != this; }
-_AFXOLESVR_INLINE COleDataSource* COleServerItem::GetDataSource()
-	{ ASSERT_VALID(this); return &m_dataSource; }
-
-// COleServerDoc
-_AFXOLESVR_INLINE void COleServerDoc::NotifyChanged()
-	{ ASSERT_VALID(this); NotifyAllItems(OLE_CHANGED, DVASPECT_CONTENT); }
-_AFXOLESVR_INLINE void COleServerDoc::NotifyClosed()
-	{ ASSERT_VALID(this); NotifyAllItems(OLE_CLOSED, 0); }
-_AFXOLESVR_INLINE void COleServerDoc::NotifySaved()
-	{ ASSERT_VALID(this); NotifyAllItems(OLE_SAVED, 0); }
-_AFXOLESVR_INLINE BOOL COleServerDoc::IsEmbedded() const
-	{ ASSERT_VALID(this); return m_bEmbedded; }
-_AFXOLESVR_INLINE BOOL COleServerDoc::IsDocObject() const
-	{ ASSERT_VALID(this); return m_pDocObjectServer != NULL; }
-_AFXOLESVR_INLINE BOOL COleServerDoc::IsInPlaceActive() const
-	{ ASSERT_VALID(this); return m_pInPlaceFrame != NULL; }
-#endif //_AFXOLESVR_INLINE
-
-/////////////////////////////////////////////////////////////////////////////

+ 0 - 66
libs/mfc/include/afxolecl.rc

@@ -1,66 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXOLECL_RC__
-#define __AFXOLECL_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifndef _INC_DLGS
-	#include <dlgs.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< Cannot change standard MFC resources! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Client Resources
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE strings
-
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_STATIC_OBJECT           "Can not activate a static ActiveX object."
-	AFX_IDP_FAILED_TO_CONNECT       "Failed to connect.\nLink may be broken."
-	AFX_IDP_SERVER_BUSY             "Unable to process command, server busy."
-	AFX_IDP_BAD_VERB                "Failed to perform server operation."
-	AFX_IDP_FAILED_TO_LAUNCH        "Failed to launch server application."
-	AFX_IDS_UPDATING_ITEMS          "Updating ActiveX objects"
-	AFX_IDP_FAILED_TO_CONVERT       "Failed to convert ActiveX object."
-	AFX_IDP_ASK_TO_DISCARD          "ActiveX objects cannot be saved while exiting Windows!\nDiscard all changes to %1?"
-	AFX_IDP_FAILED_TO_CREATE        "Failed to create object.  Make sure the application is entered in the system registry."
-
-	AFX_IDS_METAFILE_FORMAT         "Picture (Metafile)\na picture"
-	AFX_IDS_DIB_FORMAT              "Device Independent Bitmap\na device independent bitmap"
-	AFX_IDS_BITMAP_FORMAT           "Bitmap\na bitmap"
-	AFX_IDS_LINKSOURCE_FORMAT       "%s\n%s"
-	AFX_IDS_EMBED_FORMAT            "%s\n%s"
-	AFX_IDS_RTF_FORMAT              "Rich Text (RTF)\ntext with font and paragraph formatting"
-	AFX_IDS_TEXT_FORMAT             "Unformatted Text\ntext without any formatting"
-
-	AFX_IDS_INVALID_CURRENCY        "Invalid Currency."
-	AFX_IDS_INVALID_DATETIME        "Invalid DateTime."
-	AFX_IDS_INVALID_DATETIMESPAN    "Invalid DateTimeSpan."
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXOLECL_RC__

+ 0 - 137
libs/mfc/include/afxoledb.h

@@ -1,137 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXOLEDB_H__
-#define __AFXOLEDB_H__
-
-#ifdef _AFX_NO_DAO_SUPPORT
-	#error OLE DB classes not supported in this library variant.
-#endif
-
-#ifndef __AFXEXT_H__
-	#include <afxext.h>
-#endif
-
-#include <atlbase.h>
-
-// application is expected to provide a _Module
-extern CComModule _Module;
-
-#include <atlcom.h>
-#include <atldbcli.h>
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, off)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, on)
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// Win32 libraries
-
-#ifndef _AFX_NOFORCE_LIBS
-#ifdef _AFXDLL
-	#if defined(MFC_DEBUG) && !defined(_AFX_MONOLITHIC)
-		#ifndef _UNICODE
-			#pragma comment(lib, "mfco42d.lib")
-			#pragma comment(lib, "mfcd42d.lib")
-		#else
-			#pragma comment(lib, "mfco42ud.lib")
-			#pragma comment(lib, "mfcd42ud.lib")
-		#endif
-	#endif
-#endif
-#endif
-
-#ifdef _AFX_PACKING
-#pragma pack(push, _AFX_PACKING)
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-
-//CObject
-	//CCmdTarget;
-		//CWnd
-			//CView
-				//CScrollView
-					//CFormView
-						class COleDBRecordView; // view records with a form
-
-/////////////////////////////////////////////////////////////////////////////
-
-#undef AFX_DATA
-#define AFX_DATA AFX_DB_DATA
-
-/////////////////////////////////////////////////////////////////////////////
-// CRecordView - form for viewing data records
-
-class COleDBRecordView : public CFormView
-{
-	DECLARE_DYNAMIC(COleDBRecordView)
-
-// Construction
-protected:  // must derive your own class
-	COleDBRecordView(LPCTSTR lpszTemplateName)
-		: CFormView(lpszTemplateName)
-	{
-		m_bOnFirstRecord = TRUE;
-		m_bOnLastRecord = FALSE;
-	}
-	COleDBRecordView(UINT nIDTemplate)
-		: CFormView(nIDTemplate)
-	{
-		m_bOnFirstRecord = TRUE;
-		m_bOnLastRecord = FALSE;
-	}
-
-// Attributes
-public:
-	virtual CRowset* OnGetRowset() = 0;
-
-// Operations
-public:
-	virtual BOOL OnMove(UINT nIDMoveCommand);
-
-// Implementation
-public:
-	virtual void OnInitialUpdate();
-
-protected:
-	BOOL m_bOnFirstRecord;
-	BOOL m_bOnLastRecord;
-
-	//{{AFX_MSG(CRecordView)
-	afx_msg void OnUpdateRecordFirst(CCmdUI* pCmdUI);
-	afx_msg void OnUpdateRecordPrev(CCmdUI* pCmdUI);
-	afx_msg void OnUpdateRecordNext(CCmdUI* pCmdUI);
-	afx_msg void OnUpdateRecordLast(CCmdUI* pCmdUI);
-	//}}AFX_MSG
-
-	DECLARE_MESSAGE_MAP()
-};
-
-/////////////////////////////////////////////////////////////////////////////
-
-#ifdef _AFX_PACKING
-#pragma pack(pop)
-#endif
-
-#undef AFX_DATA
-#define AFX_DATA
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, on)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, off)
-#endif
-
-#endif __AFXOLEDB_H__

+ 0 - 53
libs/mfc/include/afxolesv.rc

@@ -1,53 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXOLESV_RC__
-#define __AFXOLESV_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< Cannot change standard MFC resources! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Server Resources
-
-// OLE strings
-STRINGTABLE DISCARDABLE
-BEGIN
-	AFX_IDP_ASK_TO_UPDATE,              "Update %1 before proceeding?"
-	AFX_IDP_FAILED_TO_UPDATE,           "Could not update client."
-
-	AFX_IDP_FAILED_TO_REGISTER,         "Failed to register. ActiveX features may not work properly."
-	AFX_IDP_FAILED_TO_AUTO_REGISTER,    "Failed to update the system registry.\nPlease try using REGEDIT."
-END
-
-STRINGTABLE PRELOAD
-BEGIN
-	AFX_IDS_APP_TITLE_EMBEDDING,        "%1 in %2"
-	AFX_IDS_OBJ_TITLE_INPLACE,          "%1 - %2"
-	AFX_IDS_EXIT_MENU,                  "E&xit && Return to %1"
-	AFX_IDS_UPDATE_MENU,                "&Update %1"
-	AFX_IDS_SAVEFILECOPY,               "Save Copy As"
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXOLESV_RC__

+ 0 - 90
libs/mfc/include/afxprint.rc

@@ -1,90 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-#ifndef __AFXPRINT_RC__
-#define __AFXPRINT_RC__
-
-#ifndef __AFXRES_H__
-	#include <afxres.h>
-#endif
-
-#ifdef APSTUDIO_INVOKED
-// This will prevent the VC++ Resource Editor user from saving this file
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
-"< Cannot change standard MFC resources! >\0"
-END
-#endif    // APSTUDIO_INVOKED
-
-#ifndef _AFXDLL
-
-/////////////////////////////////////////////////////////////////////////////
-// Printing Resources
-
-AFX_IDC_MAGNIFY         CURSOR  DISCARDABLE     "res\\magnify.cur"
-
-AFX_IDD_PRINTDLG DIALOG DISCARDABLE  6, 18, 133, 95
-STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | 0x04
-FONT 8, "MS Shell Dlg"
-BEGIN
-	CTEXT           "Printing",IDC_STATIC,0,9,133,8
-	CTEXT           "",AFX_IDC_PRINT_DOCNAME,0,19,133,8
-	CTEXT           "on the",IDC_STATIC,0,29,133,8
-	CTEXT           "",AFX_IDC_PRINT_PRINTERNAME,0,39,133,8
-	CTEXT           "",AFX_IDC_PRINT_PORTNAME,0,49,133,8
-	CTEXT           "",AFX_IDC_PRINT_PAGENUM,0,59,133,8
-	PUSHBUTTON      "Cancel",IDCANCEL,46,74,40,14
-END
-
-// Preview Toolbar Dialog
-AFX_IDD_PREVIEW_TOOLBAR DIALOG PRELOAD DISCARDABLE  0, 0, 330, 16
-STYLE WS_CHILD | 0x04
-FONT 8, "MS Shell Dlg"
-BEGIN
-	PUSHBUTTON      "&Print...",AFX_ID_PREVIEW_PRINT,2,2,44,12
-	PUSHBUTTON      "&Next Page",AFX_ID_PREVIEW_NEXT,48,2,44,12
-	PUSHBUTTON      "Pre&v Page",AFX_ID_PREVIEW_PREV,94,2,44,12
-	PUSHBUTTON      "",AFX_ID_PREVIEW_NUMPAGE,140,2,44,12
-	PUSHBUTTON      "Zoom &In",AFX_ID_PREVIEW_ZOOMIN,186,2,44,12
-	PUSHBUTTON      "Zoom &Out",AFX_ID_PREVIEW_ZOOMOUT,232,2,44,12
-	PUSHBUTTON      "&Close",AFX_ID_PREVIEW_CLOSE,278,2,44,12
-END
-
-// Printing strings
-STRINGTABLE DISCARDABLE
-BEGIN
-	// print progress dialog strings
-	AFX_IDS_PRINTONPORT,            "on %1"         // for print output
-	AFX_IDS_ONEPAGE,                "&One Page"     // for preview button
-	AFX_IDS_TWOPAGE,                "&Two Page"     // for preview button
-	AFX_IDS_PRINTPAGENUM,           "Page %u"       // for print output
-	AFX_IDS_PREVIEWPAGEDESC,        "Page %u\nPages %u-%u\n"
-
-	// print to file dialog strings
-	AFX_IDS_PRINTDEFAULTEXT,        "prn"           // default extension
-	AFX_IDS_PRINTDEFAULT,           "Output.prn"    // default file
-	AFX_IDS_PRINTFILTER,
-		"Printer Files (*.prn)|*.prn|All Files (*.*)|*.*||"
-	AFX_IDS_PRINTCAPTION,           "Print to File" // caption for browse dlg
-	AFX_IDS_PRINTTOFILE,            "to %1"         // to file
-END
-
-// Print Preview Accelerator Table
-AFX_IDR_PREVIEW_ACCEL ACCELERATORS LOADONCALL MOVEABLE
-BEGIN
-	VK_NEXT,    AFX_ID_PREVIEW_NEXT,    VIRTKEY, NOINVERT
-	VK_PRIOR,   AFX_ID_PREVIEW_PREV,    VIRTKEY, NOINVERT
-	VK_ESCAPE,  AFX_ID_PREVIEW_CLOSE,   VIRTKEY, NOINVERT
-END
-
-/////////////////////////////////////////////////////////////////////////////
-
-#endif //!_AFXDLL
-#endif //__AFXPRINT_RC__

+ 0 - 787
libs/mfc/include/afxpriv.h

@@ -1,787 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-// Note: This header file contains useful classes that are documented only
-//  in the MFC Technical Notes.  These classes may change from version to
-//  version, so be prepared to change your code accordingly if you utilize
-//  this header.  In the future, commonly used portions of this header
-//  may be moved and officially documented.
-
-#ifndef __AFXPRIV_H__
-#define __AFXPRIV_H__
-
-#ifndef __AFXADV_H__
-	#include <afxadv.h>
-#endif
-
-#ifndef _INC_MALLOC
-	#include <malloc.h>
-#endif
-
-#ifndef __AFXEXT_H__
-	#include <afxext.h>
-#endif
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, off)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, on)
-#endif
-
-#ifdef _AFX_PACKING
-#pragma pack(push, _AFX_PACKING)
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// AFXPRIV - MFC Private Classes
-
-// Implementation structures
-struct AFX_SIZEPARENTPARAMS;    // Control bar implementation
-struct AFX_CMDHANDLERINFO;      // Command routing implementation
-
-// Classes declared in this file
-
-	//CDC
-		class CPreviewDC;               // Virtual DC for print preview
-
-	//CCmdTarget
-		//CWnd
-			//CView
-				class CPreviewView;     // Print preview view
-		//CFrameWnd
-			class COleCntrFrameWnd;
-			//CMiniFrameWnd
-				class CMiniDockFrameWnd;
-
-class CDockContext;                     // for dragging control bars
-
-/////////////////////////////////////////////////////////////////////////////
-
-#undef AFX_DATA
-#define AFX_DATA AFX_CORE_DATA
-
-/////////////////////////////////////////////////////////////////////////////
-// Global ID ranges (see Technical note TN020 for more details)
-
-// 8000 -> FFFF command IDs (used for menu items, accelerators and controls)
-#define IS_COMMAND_ID(nID)  ((nID) & 0x8000)
-
-// 8000 -> DFFF : user commands
-// E000 -> EFFF : AFX commands and other things
-// F000 -> FFFF : standard windows commands and other things etc
-	// E000 -> E7FF standard commands
-	// E800 -> E8FF control bars (first 32 are special)
-	// E900 -> EEFF standard window controls/components
-	// EF00 -> EFFF SC_ menu help
-	// F000 -> FFFF standard strings
-#define ID_COMMAND_FROM_SC(sc)  (((sc - 0xF000) >> 4) + AFX_IDS_SCFIRST)
-
-// 0000 -> 7FFF IDR range
-// 0000 -> 6FFF : user resources
-// 7000 -> 7FFF : AFX (and standard windows) resources
-// IDR ranges (NOTE: IDR_ values must be <32768)
-#define ASSERT_VALID_IDR(nIDR) ASSERT((nIDR) != 0 && (nIDR) < 0x8000)
-
-/////////////////////////////////////////////////////////////////////////////
-// Context sensitive help support (see Technical note TN028 for more details)
-
-// Help ID bases
-#define HID_BASE_COMMAND    0x00010000UL        // ID and IDM
-#define HID_BASE_RESOURCE   0x00020000UL        // IDR and IDD
-#define HID_BASE_PROMPT     0x00030000UL        // IDP
-#define HID_BASE_NCAREAS    0x00040000UL
-#define HID_BASE_CONTROL    0x00050000UL        // IDC
-#define HID_BASE_DISPATCH   0x00060000UL        // IDispatch help codes
-
-/////////////////////////////////////////////////////////////////////////////
-// Internal AFX Windows messages (see Technical note TN024 for more details)
-// (0x0360 - 0x037F are reserved for MFC)
-
-#define WM_QUERYAFXWNDPROC  0x0360  // lResult = 1 if processed by AfxWndProc
-#define WM_SIZEPARENT       0x0361  // lParam = &AFX_SIZEPARENTPARAMS
-#define WM_SETMESSAGESTRING 0x0362  // wParam = nIDS (or 0),
-									// lParam = lpszOther (or NULL)
-#define WM_IDLEUPDATECMDUI  0x0363  // wParam == bDisableIfNoHandler
-#define WM_INITIALUPDATE    0x0364  // (params unused) - sent to children
-#define WM_COMMANDHELP      0x0365  // lResult = TRUE/FALSE,
-									// lParam = dwContext
-#define WM_HELPHITTEST      0x0366  // lResult = dwContext,
-									// lParam = MAKELONG(x,y)
-#define WM_EXITHELPMODE     0x0367  // (params unused)
-#define WM_RECALCPARENT     0x0368  // force RecalcLayout on frame window
-									//  (only for inplace frame windows)
-#define WM_SIZECHILD        0x0369  // special notify from COleResizeBar
-									// wParam = ID of child window
-									// lParam = lpRectNew (new position/size)
-#define WM_KICKIDLE         0x036A  // (params unused) causes idles to kick in
-#define WM_QUERYCENTERWND   0x036B  // lParam = HWND to use as centering parent
-#define WM_DISABLEMODAL     0x036C  // lResult = 0, disable during modal state
-									// lResult = 1, don't disable
-#define WM_FLOATSTATUS      0x036D  // wParam combination of FS_* flags below
-
-// WM_ACTIVATETOPLEVEL is like WM_ACTIVATEAPP but works with hierarchies
-//   of mixed processes (as is the case with OLE in-place activation)
-#define WM_ACTIVATETOPLEVEL 0x036E  // wParam = nState (like WM_ACTIVATE)
-									// lParam = pointer to HWND[2]
-									//  lParam[0] = hWnd getting WM_ACTIVATE
-									//  lParam[1] = hWndOther
-
-#define WM_QUERY3DCONTROLS  0x036F  // lResult != 0 if 3D controls wanted
-
-// Note: Messages 0x0370, 0x0371, and 0x372 were incorrectly used by
-//  some versions of Windows.  To remain compatible, MFC does not
-//  use messages in that range.
-#define WM_RESERVED_0370    0x0370
-#define WM_RESERVED_0371    0x0371
-#define WM_RESERVED_0372    0x0372
-
-// WM_SOCKET_NOTIFY and WM_SOCKET_DEAD are used internally by MFC's
-// Windows sockets implementation.  For more information, see sockcore.cpp
-#define WM_SOCKET_NOTIFY    0x0373
-#define WM_SOCKET_DEAD      0x0374
-
-// same as WM_SETMESSAGESTRING except not popped if IsTracking()
-#define WM_POPMESSAGESTRING 0x0375
-
-// WM_HELPPROMPTADDR is used internally to get the address of
-//  m_dwPromptContext from the associated frame window. This is used
-//  during message boxes to setup for F1 help while that msg box is
-//  displayed. lResult is the address of m_dwPromptContext.
-#define WM_HELPPROMPTADDR   0x0376
-
-// Constants used in DLGINIT resources for OLE control containers
-// NOTE: These are NOT real Windows messages they are simply tags
-// used in the control resource and are never used as 'messages'
-#define WM_OCC_LOADFROMSTREAM           0x0376
-#define WM_OCC_LOADFROMSTORAGE          0x0377
-#define WM_OCC_INITNEW                  0x0378
-#define WM_OCC_LOADFROMSTREAM_EX        0x037A
-#define WM_OCC_LOADFROMSTORAGE_EX       0x037B
-
-// Marker used while rearranging the message queue
-#define WM_QUEUE_SENTINEL   0x0379
-
-// Note: Messages 0x037C - 0x37E reserved for future MFC use.
-#define WM_RESERVED_037C    0x037C
-#define WM_RESERVED_037D    0x037D
-#define WM_RESERVED_037E    0x037E
-
-// WM_FORWARDMSG - used by ATL to forward a message to another window for processing
-//  WPARAM - DWORD dwUserData - defined by user
-//  LPARAM - LPMSG pMsg - a pointer to the MSG structure
-//  return value - 0 if the message was not processed, nonzero if it was
-#define WM_FORWARDMSG       0x037F
-
-// like ON_MESSAGE but no return value
-#define ON_MESSAGE_VOID(message, memberFxn) \
-	{ message, 0, 0, 0, AfxSig_vv, \
-		(AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(void))&memberFxn },
-
-// special struct for WM_SIZEPARENT
-struct AFX_SIZEPARENTPARAMS
-{
-	HDWP hDWP;       // handle for DeferWindowPos
-	RECT rect;       // parent client rectangle (trim as appropriate)
-	SIZE sizeTotal;  // total size on each side as layout proceeds
-	BOOL bStretch;   // should stretch to fill all space
-};
-
-// flags for wParam in the WM_FLOATSTATUS message
-enum {  FS_SHOW = 0x01, FS_HIDE = 0x02,
-		FS_ACTIVATE = 0x04, FS_DEACTIVATE = 0x08,
-		FS_ENABLE = 0x10, FS_DISABLE = 0x20,
-		FS_SYNCACTIVE = 0x40 };
-
-void AFXAPI AfxRepositionWindow(AFX_SIZEPARENTPARAMS* lpLayout,
-	HWND hWnd, LPCRECT lpRect);
-
-/////////////////////////////////////////////////////////////////////////////
-// Implementation of command routing
-
-struct AFX_CMDHANDLERINFO
-{
-	CCmdTarget* pTarget;
-	void (AFX_MSG_CALL CCmdTarget::*pmf)(void);
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// Robust file save support
-// opens a temp file if modeCreate specified and enough free space
-// renaming, etc occurs automatically if everything succeeds
-
-class CMirrorFile : public CFile
-{
-// Implementation
-public:
-	virtual void Abort();
-	virtual void Close();
-	virtual BOOL Open(LPCTSTR lpszFileName, UINT nOpenFlags,
-		CFileException* pError = NULL);
-	static CString GetTempName(LPCTSTR pstrOriginalFile, BOOL bCreate);
-
-protected:
-	CString m_strMirrorName;
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// Implementation of PrintPreview
-
-class CPreviewDC : public CDC
-{
-	DECLARE_DYNAMIC(CPreviewDC)
-
-public:
-	virtual void SetAttribDC(HDC hDC);  // Set the Attribute DC
-	virtual void SetOutputDC(HDC hDC);
-
-	virtual void ReleaseOutputDC();
-
-// Constructors
-	CPreviewDC();
-
-// Implementation
-public:
-	virtual ~CPreviewDC();
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-
-	void SetScaleRatio(int nNumerator, int nDenominator);
-	void SetTopLeftOffset(CSize TopLeft);
-	void ClipToPage();
-
-	// These conversion functions can be used without an output DC
-
-	void PrinterDPtoScreenDP(LPPOINT lpPoint) const;
-
-// Device-Context Functions
-	virtual int SaveDC();
-	virtual BOOL RestoreDC(int nSavedDC);
-
-public:
-	virtual CGdiObject* SelectStockObject(int nIndex);
-	virtual CFont* SelectObject(CFont* pFont);
-
-// Drawing-Attribute Functions
-	virtual COLORREF SetBkColor(COLORREF crColor);
-	virtual COLORREF SetTextColor(COLORREF crColor);
-
-// Mapping Functions
-	virtual int SetMapMode(int nMapMode);
-	virtual CPoint SetViewportOrg(int x, int y);
-	virtual CPoint OffsetViewportOrg(int nWidth, int nHeight);
-	virtual CSize SetViewportExt(int x, int y);
-	virtual CSize ScaleViewportExt(int xNum, int xDenom, int yNum, int yDenom);
-	virtual CSize SetWindowExt(int x, int y);
-	virtual CSize ScaleWindowExt(int xNum, int xDenom, int yNum, int yDenom);
-
-// Text Functions
-	virtual BOOL TextOut(int x, int y, LPCTSTR lpszString, int nCount);
-	virtual BOOL ExtTextOut(int x, int y, UINT nOptions, LPCRECT lpRect,
-				LPCTSTR lpszString, UINT nCount, LPINT lpDxWidths);
-	virtual CSize TabbedTextOut(int x, int y, LPCTSTR lpszString, int nCount,
-				int nTabPositions, LPINT lpnTabStopPositions, int nTabOrigin);
-	virtual int DrawText(LPCTSTR lpszString, int nCount, LPRECT lpRect,
-				UINT nFormat);
-	virtual BOOL GrayString(CBrush* pBrush,
-				BOOL (CALLBACK* lpfnOutput)(HDC, LPARAM, int),
-					LPARAM lpData, int nCount,
-					int x, int y, int nWidth, int nHeight);
-
-// Printer Escape Functions
-	virtual int Escape(int nEscape, int nCount, LPCSTR lpszInData, LPVOID lpOutData);
-
-// Implementation
-protected:
-	void MirrorMappingMode(BOOL bCompute);
-	void MirrorViewportOrg();
-	void MirrorFont();
-	void MirrorAttributes();
-
-	CSize ComputeDeltas(int& x, LPCTSTR lpszString, UINT& nCount, BOOL bTabbed,
-					UINT nTabStops, LPINT lpnTabStops, int nTabOrigin,
-					LPTSTR lpszOutputString, int* pnDxWidths, int& nRightFixup);
-
-protected:
-	int m_nScaleNum;    // Scale ratio Numerator
-	int m_nScaleDen;    // Scale ratio Denominator
-	int m_nSaveDCIndex; // DC Save index when Screen DC Attached
-	int m_nSaveDCDelta; // delta between Attrib and output restore indices
-	CSize m_sizeTopLeft;// Offset for top left corner of page
-	HFONT m_hFont;      // Font selected into the screen DC (NULL if none)
-	HFONT m_hPrinterFont; // Font selected into the print DC
-
-	CSize m_sizeWinExt; // cached window extents computed for screen
-	CSize m_sizeVpExt;  // cached viewport extents computed for screen
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CPreviewView
-
-class CDialogBar;
-
-class CPreviewView : public CScrollView
-{
-	DECLARE_DYNCREATE(CPreviewView)
-
-// Constructors
-public:
-	CPreviewView();
-	BOOL SetPrintView(CView* pPrintView);
-
-// Attributes
-protected:
-	CView* m_pOrigView;
-	CView* m_pPrintView;
-	CPreviewDC* m_pPreviewDC;  // Output and attrib DCs Set, not created
-	CDC m_dcPrint;             // Actual printer DC
-
-// Operations
-	void SetZoomState(UINT nNewState, UINT nPage, CPoint point);
-	void SetCurrentPage(UINT nPage, BOOL bClearRatios);
-
-	// Returns TRUE if in a page rect. Returns the page index
-	// in nPage and the point converted to 1:1 screen device coordinates
-	BOOL FindPageRect(CPoint& point, UINT& nPage);
-
-
-// Overridables
-	virtual void OnActivateView(BOOL bActivate,
-			CView* pActivateView, CView* pDeactiveView);
-
-	// Returns .cx/.cy as the numerator/denominator pair for the ratio
-	// using CSize for convenience
-	virtual CSize CalcScaleRatio(CSize windowSize, CSize actualSize);
-
-	virtual void PositionPage(UINT nPage);
-	virtual void OnDisplayPageNumber(UINT nPage, UINT nPagesDisplayed);
-
-// Implementation
-public:
-	virtual ~CPreviewView();
-	virtual void OnPrepareDC(CDC* pDC, CPrintInfo* pInfo = NULL);
-#ifdef MFC_DEBUG
-	void AssertValid() const;
-	void Dump(CDumpContext& dc) const;
-#endif
-
-protected:
-	//{{AFX_MSG(CPreviewView)
-	afx_msg void OnPreviewClose();
-	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
-	afx_msg void OnSize(UINT nType, int cx, int cy);
-	afx_msg void OnDraw(CDC* pDC);
-	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
-	afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
-	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
-	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
-	afx_msg void OnNumPageChange();
-	afx_msg void OnNextPage();
-	afx_msg void OnPrevPage();
-	afx_msg void OnPreviewPrint();
-	afx_msg void OnZoomIn();
-	afx_msg void OnZoomOut();
-	afx_msg void OnUpdateNumPageChange(CCmdUI* pCmdUI);
-	afx_msg void OnUpdateNextPage(CCmdUI* pCmdUI);
-	afx_msg void OnUpdatePrevPage(CCmdUI* pCmdUI);
-	afx_msg void OnUpdateZoomIn(CCmdUI* pCmdUI);
-	afx_msg void OnUpdateZoomOut(CCmdUI* pCmdUI);
-	afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
-	//}}AFX_MSG
-
-	void DoZoom(UINT nPage, CPoint point);
-	void SetScaledSize(UINT nPage);
-	CSize CalcPageDisplaySize();
-
-	CPrintPreviewState* m_pPreviewState; // State to restore
-	CDialogBar* m_pToolBar; // Toolbar for preview
-
-	struct PAGE_INFO
-	{
-		PAGE_INFO();
-		CRect rectScreen; // screen rect (screen device units)
-		CSize sizeUnscaled; // unscaled screen rect (screen device units)
-		CSize sizeScaleRatio; // scale ratio (cx/cy)
-		CSize sizeZoomOutRatio; // scale ratio when zoomed out (cx/cy)
-	};
-
-	PAGE_INFO* m_pPageInfo; // Array of page info structures
-	PAGE_INFO m_pageInfoArray[2]; // Embedded array for the default implementation
-
-	BOOL m_bPageNumDisplayed;// Flags whether or not page number has yet
-								// been displayed on status line
-	UINT m_nZoomOutPages; // number of pages when zoomed out
-	UINT m_nZoomState;
-	UINT m_nMaxPages; // for sanity checks
-	UINT m_nCurrentPage;
-	UINT m_nPages;
-	int m_nSecondPageOffset; // used to shift second page position
-
-	HCURSOR m_hMagnifyCursor;
-
-	CSize m_sizePrinterPPI; // printer pixels per inch
-	CPoint m_ptCenterPoint;
-	CPrintInfo* m_pPreviewInfo;
-
-	DECLARE_MESSAGE_MAP()
-
-	friend class CView;
-	friend BOOL CALLBACK _AfxPreviewCloseProc(CFrameWnd* pFrameWnd);
-};
-
-// Zoom States
-#define ZOOM_OUT    0
-#define ZOOM_MIDDLE 1
-#define ZOOM_IN     2
-
-/////////////////////////////////////////////////////////////////////////////
-// mirroring support
-
-//WINBUG: some mirroring stuff will be in wingdi.h someday
-
-// __BORLANDC__ BUG: wingdi.h doesn't contain LAYOUT_LTR, so we'll add it here
-#ifndef LAYOUT_LTR
-#define LAYOUT_LTR                         0x00000000
-#endif
-
-#ifndef LAYOUT_RTL
-#define LAYOUT_LTR                               0x00000000
-#define LAYOUT_RTL                         0x00000001
-#define NOMIRRORBITMAP                     0x80000000
-#endif
-
-//WINBUG: some mirroring stuff will be in winuser.h someday
-#ifndef WS_EX_LAYOUTRTL
-#define WS_EX_LAYOUTRTL                    0x00400000L
-#endif
-
-
-/////////////////////////////////////////////////////////////////////////////
-// toolbar docking support
-
-class CDockContext
-{
-public:
-// Construction
-	CDockContext(CControlBar* pBar);
-
-// Attributes
-	CPoint m_ptLast;            // last mouse position during drag
-	CRect m_rectLast;
-	CSize m_sizeLast;
-	BOOL m_bDitherLast;
-
-	// Rectangles used during dragging or resizing
-	CRect m_rectDragHorz;
-	CRect m_rectDragVert;
-	CRect m_rectFrameDragHorz;
-	CRect m_rectFrameDragVert;
-
-	CControlBar* m_pBar;        // the toolbar that created this context
-	CFrameWnd* m_pDockSite;     // the controlling frame of the CControlBar
-	DWORD m_dwDockStyle;        // allowable dock styles for bar
-	DWORD m_dwOverDockStyle;    // style of dock that rect is over
-	DWORD m_dwStyle;            // style of control bar
-	BOOL m_bFlip;               // if shift key is down
-	BOOL m_bForceFrame;         // if ctrl key is down
-
-	CDC* m_pDC;                 // where to draw during drag
-	BOOL m_bDragging;
-	int m_nHitTest;
-
-	UINT m_uMRUDockID;
-	CRect m_rectMRUDockPos;
-
-	DWORD m_dwMRUFloatStyle;
-	CPoint m_ptMRUFloatPos;
-
-// Drag Operations
-	virtual void StartDrag(CPoint pt);
-	void Move(CPoint pt);       // called when mouse has moved
-	void EndDrag();             // drop
-	void OnKey(int nChar, BOOL bDown);
-
-// Resize Operations
-	virtual void StartResize(int nHitTest, CPoint pt);
-	void Stretch(CPoint pt);
-	void EndResize();
-
-// Double Click Operations
-	virtual void ToggleDocking();
-
-// Operations
-	void InitLoop();
-	void CancelLoop();
-
-// Implementation
-public:
-	~CDockContext();
-	BOOL Track();
-	void DrawFocusRect(BOOL bRemoveRect = FALSE);
-		// draws the correct outline
-	void UpdateState(BOOL* pFlag, BOOL bNewValue);
-	DWORD CanDock();
-	CDockBar* GetDockBar(DWORD dwOverDockStyle);
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CControlBarInfo - used for docking serialization
-
-class CControlBarInfo
-{
-public:
-// Implementation
-	CControlBarInfo();
-
-// Attributes
-	UINT m_nBarID;      // ID of this bar
-	BOOL m_bVisible;    // visibility of this bar
-	BOOL m_bFloating;   // whether floating or not
-	BOOL m_bHorz;       // orientation of floating dockbar
-	BOOL m_bDockBar;    // TRUE if a dockbar
-	CPoint m_pointPos;  // topleft point of window
-
-	UINT m_nMRUWidth;   // MRUWidth for Dynamic Toolbars
-	BOOL m_bDocking;    // TRUE if this bar has a DockContext
-	UINT m_uMRUDockID;  // most recent docked dockbar
-	CRect m_rectMRUDockPos; // most recent docked position
-	DWORD m_dwMRUFloatStyle; // most recent floating orientation
-	CPoint m_ptMRUFloatPos; // most recent floating position
-
-	CPtrArray m_arrBarID;   // bar IDs for bars contained within this one
-	CControlBar* m_pBar;    // bar which this refers to (transient)
-
-	void Serialize(CArchive& ar, CDockState* pDockState);
-	BOOL LoadState(LPCTSTR lpszProfileName, int nIndex, CDockState* pDockState);
-	BOOL SaveState(LPCTSTR lpszProfileName, int nIndex);
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CDockBar - used for docking
-
-class CDockBar : public CControlBar
-{
-	DECLARE_DYNAMIC(CDockBar)
-
-// Construction
-public:
-	CDockBar(BOOL bFloating = FALSE);   // TRUE if attached to CMiniDockFrameWnd
-	BOOL Create(CWnd* pParentWnd, DWORD dwStyle, UINT nID);
-
-// Attributes
-	BOOL m_bFloating;
-
-	virtual BOOL IsDockBar() const;
-	int GetDockedCount() const;
-	virtual int GetDockedVisibleCount() const;
-
-// Operations
-	void DockControlBar(CControlBar* pBar, LPCRECT lpRect = NULL);
-	void ReDockControlBar(CControlBar* pBar, LPCRECT lpRect = NULL);
-	BOOL RemoveControlBar(CControlBar*, int nPosExclude = -1, int nAddPlaceHolder = 0);
-	void RemovePlaceHolder(CControlBar* pBar);
-
-// Implementation
-public:
-	virtual ~CDockBar();
-#ifdef MFC_DEBUG
-	virtual void AssertValid() const;
-	virtual void Dump(CDumpContext& dc) const;
-#endif
-	virtual CSize CalcFixedLayout(BOOL bStretch, BOOL bHorz);
-	virtual void DoPaint(CDC* pDC);
-
-	// public implementation helpers
-	void GetBarInfo(CControlBarInfo* pInfo);
-	void SetBarInfo(CControlBarInfo* pInfo, CFrameWnd* pFrameWnd);
-	int FindBar(CControlBar* pBar, int nPosExclude = -1);
-	void ShowAll(BOOL bShow);
-
-	CPtrArray m_arrBars;    // each element is a CControlBar
-protected:
-	BOOL m_bLayoutQuery;
-	CRect m_rectLayout;
-
-	CControlBar* GetDockedControlBar(int nPos) const;
-
-	// implementation helpers
-	int Insert(CControlBar* pBar, CRect rect, CPoint ptMid);
-	virtual void OnUpdateCmdUI(CFrameWnd* pTarget, BOOL bDisableIfNoHndler);
-
-	//{{AFX_MSG(CDockBar)
-	afx_msg void OnNcCalcSize(BOOL bCalcValidRects, NCCALCSIZE_PARAMS* lpncsp);
-	afx_msg void OnNcPaint();
-	afx_msg void OnWindowPosChanging(LPWINDOWPOS lpWndPos);
-	afx_msg void OnPaint();
-	afx_msg LRESULT OnSizeParent(WPARAM, LPARAM);
-	//}}AFX_MSG
-	DECLARE_MESSAGE_MAP()
-
-	friend class CMiniDockFrameWnd;
-};
-
-class CMiniDockFrameWnd : public CMiniFrameWnd
-{
-	DECLARE_DYNCREATE(CMiniDockFrameWnd)
-
-public:
-// Construction
-	CMiniDockFrameWnd();
-	virtual BOOL Create(CWnd* pParent, DWORD dwBarStyle);
-
-// Operations
-	virtual void RecalcLayout(BOOL bNotify = TRUE);
-
-// Implementation
-public:
-	CDockBar m_wndDockBar;
-
-	//{{AFX_MSG(CMiniFrameWnd)
-	afx_msg void OnClose();
-	afx_msg void OnNcLButtonDown(UINT nHitTest, CPoint point);
-	afx_msg void OnNcLButtonDblClk(UINT nHitTest, CPoint point);
-	//}}AFX_MSG
-	afx_msg int OnMouseActivate(CWnd* pDesktopWnd, UINT nHitTest, UINT message);
-	DECLARE_MESSAGE_MAP()
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// COleCntrFrameWnd
-
-class COleIPFrameWnd;
-
-class COleCntrFrameWnd : public CFrameWnd
-{
-// Constructor
-public:
-	COleCntrFrameWnd(COleIPFrameWnd* pInPlaceFrame);
-
-// Implementation
-protected:
-	COleIPFrameWnd* m_pInPlaceFrame;
-	virtual void PostNcDestroy();
-
-public:
-	virtual ~COleCntrFrameWnd();
-	virtual void RecalcLayout(BOOL bNotify = TRUE);
-	void OnIdleUpdateCmdUI();
-	virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra,
-		AFX_CMDHANDLERINFO* pHandlerInfo);
-#ifdef MFC_DEBUG
-	void AssertValid() const;
-#endif
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// CDialogTemplate
-
-class CDialogTemplate
-{
-// Constructors
-public:
-	CDialogTemplate(const DLGTEMPLATE* pTemplate = NULL);
-	CDialogTemplate(HGLOBAL hGlobal);
-
-// Attributes
-	BOOL HasFont() const;
-	BOOL SetFont(LPCTSTR lpFaceName, WORD nFontSize);
-	BOOL SetSystemFont(WORD nFontSize = 0);
-	BOOL GetFont(CString& strFaceName, WORD& nFontSize) const;
-	void GetSizeInDialogUnits(SIZE* pSize) const;
-	void GetSizeInPixels(SIZE* pSize) const;
-
-	static BOOL AFX_CDECL GetFont(const DLGTEMPLATE* pTemplate,
-		CString& strFaceName, WORD& nFontSize);
-
-// Operations
-	BOOL Load(LPCTSTR lpDialogTemplateID);
-	HGLOBAL Detach();
-
-// Implementation
-public:
-	~CDialogTemplate();
-
-	HGLOBAL m_hTemplate;
-	DWORD m_dwTemplateSize;
-	BOOL m_bSystemFont;
-
-protected:
-	static BYTE* AFX_CDECL GetFontSizeField(const DLGTEMPLATE* pTemplate);
-	static UINT AFX_CDECL GetTemplateSize(const DLGTEMPLATE* pTemplate);
-	BOOL SetTemplate(const DLGTEMPLATE* pTemplate, UINT cb);
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// WM_NOTIFY support
-
-struct AFX_NOTIFY
-{
-	LRESULT* pResult;
-	NMHDR* pNMHDR;
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// Global implementation helpers
-
-// window creation hooking
-void AFXAPI AfxHookWindowCreate(CWnd* pWnd);
-BOOL AFXAPI AfxUnhookWindowCreate();
-void AFXAPI AfxResetMsgCache();
-
-// for backward compatibility to previous versions
-#define _AfxHookWindowCreate    AfxHookWindowCreate
-#define _AfxUnhookWindowCreate  AfxUnhookWindowCreate
-
-// string helpers
-void AFXAPI AfxSetWindowText(HWND hWndCtrl, LPCTSTR lpszNew);
-int AFXAPI AfxLoadString(UINT nIDS, LPTSTR lpszBuf, UINT nMaxBuf = 256);
-
-HDC AFXAPI AfxCreateDC(HGLOBAL hDevNames, HGLOBAL hDevMode);
-
-void AFXAPI AfxGetModuleShortFileName(HINSTANCE hInst, CString& strShortName);
-
-// Failure dialog helpers
-void AFXAPI AfxFailMaxChars(CDataExchange* pDX, int nChars);
-void AFXAPI AfxFailRadio(CDataExchange* pDX);
-
-// DLL load helpers
-HINSTANCE AFXAPI AfxLoadDll(HINSTANCE* volatile hInst, LPCSTR lpszDLL);
-HINSTANCE AFXAPI AfxLoadDll(HINSTANCE* volatile hInst, LPCSTR lpszDLL,
-	FARPROC* pProcPtrs, LPCSTR lpszProcName);
-
-#ifndef __AFXCONV_H__
-#include <afxconv.h>
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-
-#ifdef _AFX_PACKING
-#pragma pack(pop)
-#endif
-
-#undef AFX_DATA
-#define AFX_DATA
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, on)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, off)
-#endif
-
-#endif // __AFXPRIV_H__
-
-/////////////////////////////////////////////////////////////////////////////
-
-#ifndef __AFXPRIV2_H__
-#include <afxpriv2.h>
-#endif

+ 0 - 225
libs/mfc/include/afxpriv2.h

@@ -1,225 +0,0 @@
-// This is a part of the Microsoft Foundation Classes C++ library.
-// Copyright (C) 1992-1998 Microsoft Corporation
-// All rights reserved.
-//
-// This source code is only intended as a supplement to the
-// Microsoft Foundation Classes Reference and related
-// electronic documentation provided with the library.
-// See these sources for detailed information regarding the
-// Microsoft Foundation Classes product.
-
-// Note: This header file contains useful classes that are documented only
-//  in the MFC Technical Notes.  These classes may change from version to
-//  version, so be prepared to change your code accordingly if you utilize
-//  this header.  In the future, commonly used portions of this header
-//  may be moved and officially documented.
-
-#ifndef __AFXPRIV2_H__
-// Do not define __AFXPRIV2_H__ here.  It is defined at the bottom.
-
-#ifndef __AFXPRIV_H__
-	#include <afxpriv.h>
-#endif
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, off)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, on)
-#endif
-
-#ifdef _AFX_PACKING
-#pragma pack(push, _AFX_PACKING)
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// AFXPRIV2 - MFC Private Classes
-
-// General OLE features
-
-#if (!defined _AFX_NO_OLE_SUPPORT) && (defined _OBJBASE_H_)
-
-// Implementation structures
-struct AFX_EVENT;               // Event sink implementation
-
-// Classes declared in this file
-class COleControlLock;
-
-#endif
-
-// OLE Automation features
-
-#ifdef __AFXDISP_H__
-// Classes declared in this file
-
-//IStream
-	class CArchiveStream;
-
-// Functions declared in this file
-
-// AfxBSTR2ABTSR
-// AfxTaskStringA2W
-// AfxTaskStringW2A
-
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-
-#undef AFX_DATA
-#define AFX_DATA AFX_CORE_DATA
-
-/////////////////////////////////////////////////////////////////////////////
-// General OLE features
-
-#if (!defined _AFX_NO_OLE_SUPPORT) && (defined _OBJBASE_H_)
-#ifndef __AFXPRIV2_H__OLE__
-#define __AFXPRIV2_H__OLE__
-
-/////////////////////////////////////////////////////////////////////////////
-// Implementation of event sink handling
-
-struct AFX_EVENT
-{
-	enum
-	{
-		event,
-		propRequest, propChanged,
-		propDSCNotify
-	};
-
-	AFX_EVENT(int eventKind);
-
-	AFX_EVENT(int eventKind, DISPID dispid, DISPPARAMS* pDispParams = NULL,
-		EXCEPINFO* pExcepInfo = NULL, UINT* puArgError = NULL);
-
-	int m_eventKind;
-	DISPID m_dispid;
-	DISPPARAMS* m_pDispParams;
-	EXCEPINFO* m_pExcepInfo;
-	UINT* m_puArgError;
-	BOOL m_bPropChanged;
-	HRESULT m_hResult;
-	DSCSTATE m_nDSCState;
-	DSCREASON m_nDSCReason;
-};
-
-AFX_INLINE AFX_EVENT::AFX_EVENT(int eventKind)
-{
-	m_eventKind = eventKind;
-	m_dispid = DISPID_UNKNOWN;
-	m_pDispParams = NULL;
-	m_pExcepInfo = NULL;
-	m_puArgError = NULL;
-	m_hResult = NOERROR;
-	m_nDSCState = dscNoState;
-	m_nDSCReason = dscNoReason;
-}
-
-AFX_INLINE AFX_EVENT::AFX_EVENT(int eventKind, DISPID dispid,
-	DISPPARAMS* pDispParams, EXCEPINFO* pExcepInfo, UINT* puArgError)
-{
-	m_eventKind = eventKind;
-	m_dispid = dispid;
-	m_pDispParams = pDispParams;
-	m_pExcepInfo = pExcepInfo;
-	m_puArgError = puArgError;
-	m_hResult = NOERROR;
-	m_nDSCState = dscNoState;
-	m_nDSCReason = dscNoReason;
-}
-
-/////////////////////////////////////////////////////////////////////////////
-// COleControlLock
-
-class COleControlLock
-{
-// Constructors
-public:
-	COleControlLock(REFCLSID clsid);
-
-// Attributes
-	CLSID m_clsid;
-	LPCLASSFACTORY m_pClassFactory;
-	COleControlLock* m_pNextLock;
-
-// Implementation
-public:
-	virtual ~COleControlLock();
-};
-
-#endif // __AFXPRIV2_H__OLE__
-#endif //(!defined _AFX_NO_OLE_SUPPORT) && (defined _OBJBASE_H_)
-
-/////////////////////////////////////////////////////////////////////////////
-// OLE Automation features
-
-#ifdef __AFXDISP_H__
-#ifndef __AFXPRIV2_H__DISP__
-#define __AFXPRIV2_H__DISP__
-
-/////////////////////////////////////////////////////////////////////////////
-// CArchiveStream
-
-class CArchiveStream : public IStream
-{
-public:
-	CArchiveStream(CArchive* pArchive);
-
-// Implementation
-	CArchive* m_pArchive;
-
-	STDMETHOD_(ULONG, AddRef)();
-	STDMETHOD_(ULONG, Release)();
-	STDMETHOD(QueryInterface)(REFIID, LPVOID*);
-
-	STDMETHOD(Read)(void*, ULONG, ULONG*);
-	STDMETHOD(Write)(const void*, ULONG cb, ULONG*);
-	STDMETHOD(Seek)(LARGE_INTEGER, DWORD, ULARGE_INTEGER*);
-	STDMETHOD(SetSize)(ULARGE_INTEGER);
-	STDMETHOD(CopyTo)(LPSTREAM, ULARGE_INTEGER, ULARGE_INTEGER*,
-		ULARGE_INTEGER*);
-	STDMETHOD(Commit)(DWORD);
-	STDMETHOD(Revert)();
-	STDMETHOD(LockRegion)(ULARGE_INTEGER, ULARGE_INTEGER,DWORD);
-	STDMETHOD(UnlockRegion)(ULARGE_INTEGER, ULARGE_INTEGER, DWORD);
-	STDMETHOD(Stat)(STATSTG*, DWORD);
-	STDMETHOD(Clone)(LPSTREAM*);
-};
-
-/////////////////////////////////////////////////////////////////////////////
-// Global UNICODE<>ANSI translation helpers
-
-void AFXAPI AfxBSTR2CString(CString* pStr, BSTR bstr);
-
-#if !defined(_UNICODE) && !defined(OLE2ANSI)
-BSTR AFXAPI AfxBSTR2ABSTR(BSTR bstrW);
-LPWSTR AFXAPI AfxTaskStringA2W(LPCSTR lpa);
-LPSTR AFXAPI AfxTaskStringW2A(LPCWSTR lpw);
-#endif
-
-#endif // __AFXPRIV2_H__DISP__
-#endif // __AFXDISP_H__
-
-/////////////////////////////////////////////////////////////////////////////
-
-#ifdef _AFX_PACKING
-#pragma pack(pop)
-#endif
-
-#undef AFX_DATA
-#define AFX_DATA
-
-#ifdef _AFX_MINREBUILD
-#pragma component(minrebuild, on)
-#endif
-#ifndef _AFX_FULLTYPEINFO
-#pragma component(mintypeinfo, off)
-#endif
-
-#if (defined __AFXPRIV2_H__OLE__) && (defined __AFXPRIV2_H__DISP__)
-#define __AFXPRIV2_H__
-#endif
-
-#endif // __AFXPRIV2_H__
-
-/////////////////////////////////////////////////////////////////////////////

+ 8 - 0
libs/mfc/include/afxres.h

@@ -11,6 +11,7 @@
 #ifndef __AFXRES_H__
 #define __AFXRES_H__
 
+#ifndef WINSCP
 #ifdef RC_INVOKED
 #ifndef _INC_WINDOWS
 #define _INC_WINDOWS
@@ -317,8 +318,11 @@
 #define AFX_IDS_UNTITLED                0xF003
 #define AFX_IDS_SAVEFILECOPY            0xF004
 #define AFX_IDS_PREVIEW_CLOSE           0xF005
+#endif // WINSCP 
 #define AFX_IDS_UNNAMED_FILE            0xF006
+#ifndef WINSCP
 #define AFX_IDS_HIDE                    0xF011
+#endif // WINSCP 
 
 // MFC Standard Exception Error messages
 #define AFX_IDP_NO_ERROR_AVAILABLE      0xF020
@@ -327,6 +331,7 @@
 #define AFX_IDS_MEMORY_EXCEPTION        0xF023
 #define AFX_IDS_USER_EXCEPTION          0xF024
 
+#ifndef  WINSCP 
 // Printing and print preview strings
 #define AFX_IDS_PRINTONPORT             0xF040
 #define AFX_IDS_ONEPAGE                 0xF041
@@ -432,6 +437,7 @@
 #define AFX_IDP_FAILED_MAPI_LOAD        0xF190
 #define AFX_IDP_INVALID_MAPI_DLL        0xF191
 #define AFX_IDP_FAILED_MAPI_SEND        0xF192
+#endif // WINSCP
 
 #define AFX_IDP_FILE_NONE               0xF1A0
 #define AFX_IDP_FILE_GENERIC            0xF1A1
@@ -449,6 +455,7 @@
 #define AFX_IDP_FILE_DISKFULL           0xF1AD
 #define AFX_IDP_FILE_EOF                0xF1AE
 
+#ifndef WINSCP
 #define AFX_IDP_ARCH_NONE               0xF1B0
 #define AFX_IDP_ARCH_GENERIC            0xF1B1
 #define AFX_IDP_ARCH_READONLY           0xF1B2
@@ -769,6 +776,7 @@
 #pragma component(minrebuild, on)
 #endif
 
+#endif // WINSCP
 #endif //__AFXRES_H__
 
 /////////////////////////////////////////////////////////////////////////////

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio