XTPDeprecated.h
上传用户:szled88
上传日期:2015-04-09
资源大小:43957k
文件大小:7k
源码类别:

对话框与窗口

开发平台:

Visual C++

  1. // XTPDeprecated.h : deprecated (obsolete) members
  2. //
  3. // This file is a part of the XTREME TOOLKIT PRO MFC class library.
  4. // (c)1998-2008 Codejock Software, All Rights Reserved.
  5. //
  6. // THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE
  7. // RE-DISTRIBUTED BY ANY MEANS WHATSOEVER WITHOUT THE EXPRESSED WRITTEN
  8. // CONSENT OF CODEJOCK SOFTWARE.
  9. //
  10. // THIS SOURCE CODE CAN ONLY BE USED UNDER THE TERMS AND CONDITIONS OUTLINED
  11. // IN THE XTREME TOOLKIT PRO LICENSE AGREEMENT. CODEJOCK SOFTWARE GRANTS TO
  12. // YOU (ONE SOFTWARE DEVELOPER) THE LIMITED RIGHT TO USE THIS SOFTWARE ON A
  13. // SINGLE COMPUTER.
  14. //
  15. // CONTACT INFORMATION:
  16. // support@codejock.com
  17. // http://www.codejock.com
  18. //
  19. /////////////////////////////////////////////////////////////////////////////
  20. //{{AFX_CODEJOCK_PRIVATE
  21. #if !defined(__XTPDEPRECATED_H__)
  22. #define __XTPDEPRECATED_H__
  23. //}}AFX_CODEJOCK_PRIVATE
  24. #if _MSC_VER >= 1000
  25. #pragma once
  26. #endif // _MSC_VER >= 1000
  27. //{{AFX_CODEJOCK_PRIVATE
  28. // deprecated class names
  29. #define CXTManageState              CXTPManageState
  30. #define CXTDialogState              CXTPDialogState
  31. // deprecated structure names
  32. #define XT_AUX_DATA                 CXTAuxData
  33. #define XT_LOGFONT                  CXTLogFont
  34. #define XT_NONCLIENTMETRICS         CXTNonClientMetrics
  35. #define CXTBarFolder                CXTOutBarFolder
  36. #define CXTBarItem                  CXTOutBarItem
  37. #define CXTEditGroup                CXTEditListBoxToolBar
  38. #define CXTEditItem                 CXTOutBarEditItem
  39. // deprecated global functions
  40. #define InitXtremeExtDLL            XTFuncInitDLL
  41. #define XTPContextMenu              XTFuncContextMenu
  42. #define _xtAfxChangeWindowFont      XTFuncChangeWindowFont
  43. #define _xtAfxDrawEmbossed          XTFuncDrawEmbossed
  44. #define _xtAfxDrawShadedRect        XTFuncDrawShadedRect
  45. #define _xtAfxLoadSysColorBitmap    XTFuncLoadSysColorBitmap
  46. #define _xtAfxChildWindowFromPoint  XTFuncChildWindowFromPoint
  47. #define _xtAfxStripMnemonics        XTFuncStripMnemonics
  48. #define _xtAfxExist                 XTFuncPathExists
  49. #define _xtAfxPathFindNextComponent XTFuncPathFindNextComponent
  50. #define _xtAfxCreateView            XTFuncCreateView
  51. #define _xtAfxShowPrintPreview      XT_ERROR_MSG("_xtAfxShowPrintPreview is deprecated (obsolete).nSee the "PrintPreview" sample for more details.")
  52. // deprecated helper macros
  53. #define _delete(x) SAFE_DELETE(x)
  54. #define _deleteArray(x) SAFE_DELETE_AR(x)
  55. // Deprecated enumerators
  56. #define ANIMATIONTYPE               XTAnimationType
  57. #define eSTYLE                      XTFontStyle
  58. #define XT_FLB_NAME_GUI             xtFontGUI
  59. #define XT_FLB_NAME_SAMPLE          xtFontSample
  60. #define XT_FLB_BOTH                 xtFontBoth
  61. #define icon_type                   XTArrowIcon
  62. #define arrow_left                  xtArrowIconLeft
  63. #define arrow_left_home             xtArrowIconLeftHome
  64. #define arrow_right                 xtArrowIconRight
  65. #define arrow_right_home            xtArrowIconRightHome
  66. #define FOLDER_HILIGHT              XTMouseState
  67. #define F_NORMAL                    xtMouseNormal
  68. #define F_SELECT                    xtMouseSelect
  69. #define F_HILIGHT                   xtMouseHover
  70. #define EFlags                      XTResize
  71. #define SZ_NOSIZEICON               xtResizeNoSizeIcon
  72. #define SZ_NOHORISONTAL             xtResizeNoHorisontal
  73. #define SZ_NOVERTICAL               xtResizeNoVertical
  74. #define SZ_NOMINSIZE                xtResizeNoMinsize
  75. #define SZ_NOCLIPCHILDREN           xtResizeNoClipChildren
  76. #define SZ_NOTRANSPARENTGROUP       xtResizeNoTransparentGroup
  77. #define FindAttribs                 XTFindType
  78. #define type_drive                  xtFindTypeDrive
  79. #define type_folder                 xtFindTypeFolder
  80. #define XT_DATA_TYPE                XTSortType
  81. #define DT_INT                      xtSortInt
  82. #define DT_STRING                   xtSortString
  83. #define DT_DATETIME                 xtSortDateTime
  84. #define DT_DEC                      xtSortDecimal
  85. #define XT_NAVBTNFLAGS              XTNavBtnState
  86. #define XT_SHOW_ARROWS              xtNavBtnArrows
  87. #define XT_SHOW_CLOSE               xtNavBtnClose
  88. #define XT_SHOW_ALL                 xtNavBtnShowAll
  89. // deprecated global data
  90. #define xtAfxData                   XTAuxData()
  91. #define xtVerInfo                   *XTOSVersionInfo()
  92. // docking panes defines:
  93. #define dockLeftOf                  xtpPaneDockLeft
  94. #define dockRightOf                 xtpPaneDockRight
  95. #define dockTopOf                   xtpPaneDockTop
  96. #define dockBottomOf                xtpPaneDockBottom
  97. #define typeDockingPane             xtpPaneTypeDockingPane
  98. #define typeTabbedContainer         xtpPaneTypeTabbedContainer
  99. #define typeSplitterContainer       xtpPaneTypeSplitterContainer
  100. #define typeMiniWnd                 xtpPaneTypeMiniWnd
  101. #define typeClient                  xtpPaneTypeClient
  102. #define typeAutoHidePanel           xtpPaneTypeAutoHidePanel
  103. // property grid defines
  104. #define CXTPItemConstraints         CXTPPropertyGridItemConstraints
  105. #define XTP_PROPERTYSORT            XTPPropertyGridSortOrder
  106. #define pgiHasEdit                  xtpGridItemHasEdit
  107. #define pgiHasExpandButton          xtpGridItemHasExpandButton
  108. #define pgiHasComboButton           xtpGridItemHasComboButton
  109. #define Categorized                 xtpGridSortCategorized
  110. #define Alphabetical                xtpGridSortAlphabetical
  111. #define NoSort                      xtpGridSortNoSort
  112. // tab manager
  113. #define XTP_TABCOLOR_BLUE           xtpTabColorBlue
  114. #define XTP_TABCOLOR_YELLOW         xtpTabColorYellow
  115. #define XTP_TABCOLOR_GREEN          xtpTabColorGreen
  116. #define XTP_TABCOLOR_RED            xtpTabColorRed
  117. #define XTP_TABCOLOR_PURPLE         xtpTabColorPurple
  118. #define XTP_TABCOLOR_CYAN           xtpTabColorCyan
  119. #define XTP_TABCOLOR_ORANGE         xtpTabColorOrange
  120. #define XTP_TABCOLOR_MAGENTA        xtpTabColorMagenta
  121. #define XTP_TABMANAGER_BUTTON_LEFT  xtpTabNavigateButtonLeft
  122. #define XTP_TABMANAGER_BUTTON_RIGHT xtpTabNavigateButtonRight
  123. #define XTP_TABMANAGER_BUTTON_CLOSE xtpTabNavigateButtonClose
  124. // CommandBars
  125. #define XTP_COMMANDBARS_OPTIONS     CXTPCommandBarsOptions
  126. #define XTP_GRADIENT_COLOR          CXTPPaintManagerColorGradient
  127. #define CXTStatusBar                CXTPStatusBar
  128. #define CXTIconPane                 CXTPStatusBarIconPane
  129. #define CXTLogoPane                 CXTPStatusBarLogoPane
  130. #define CXTBasePane                 CXTPStatusBarPaneWnd
  131. //}}AFX_CODEJOCK_PRIVATE
  132. //////////////////////////////////////////////////////////////////////
  133. #endif // #if !defined(__XTPDEPRECATED_H__)