Share

ObjectARX Migration Guide

Description

Information about how to update existing ObjectARX® applications to work with AutoCAD® 2023 is provided here.

AutoCAD 2023 is a binary compatibility release and ObjectARX applications developed for AutoCAD 2021 or AutoCAD 2022 shouldn't need to be recompiled. Applications developed for AutoCAD 2020 and earlier releases will need to be recompiled. The following sections list API changes made to this release. If your application uses any of these APIs, you will need to update your code accordingly.

Moved Files in ObjectARX API

Topic
Declaration
Previous File
class AcDbObject : public AcGiDrawable, public AcHeapOperators;
dbmain.h
inline Acad::ErrorStatus acdbOpenAcDbObject(AcDbObject*& pObj, AcDbObjectId id, AcDb::OpenMode mode, bool openErasedObject = false);
dbmain.h
inline Acad::ErrorStatus acdbOpenObject(AcDbObject*& pObj, AcDbObjectId id, AcDb::OpenMode mode = AcDb::kForRead, bool openErased = false);
dbmain.h
ACDBCORE2D_PORT Acad::ErrorStatus acdbOpenObject(AcDbObject*& pObj, AcDbObjectId id, AcRxClass* (*pfDesc)(), AcDb::OpenMode mode, bool openErased);
dbmain.h
ACDBCORE2D_PORT Acad::ErrorStatus acdbOpenObject(AcDbObject*& pObj, AcDbObjectId id, AcDb::OpenMode mode, bool openErased, const AcRxClass* pClass);
dbmain.h
template <class T_OBJECT> inline Acad::ErrorStatus acdbOpenObject(T_OBJECT*& pObj, AcDbObjectId id, AcDb::OpenMode mode = AcDb::kForRead, bool openErased = false);
dbmain.h
inline ACHAR* acutAcStringToAChar(const AcString& s, Acad::ErrorStatus es);
dbmain.h
inline Acad::ErrorStatus acutAcStringToAChar(const AcString& s, ACHAR*& pBuf, Acad::ErrorStatus es);
dbmain.h
template <class ObjType> inline ACHAR* acutGetAcStringConvertToAChar(const ObjType* pObj, Acad::ErrorStatus(ObjType::* pFunc)(AcString&) const);
dbmain.h
template <class ObjType> inline Acad::ErrorStatus acutGetAcStringConvertToAChar(const ObjType* pObj, Acad::ErrorStatus(ObjType::* pFunc)(AcString&) const, ACHAR*& pOutput);
dbmain.h
Acad::ErrorStatus acutNewString(const ACHAR* pInput, ACHAR*& pOutput);
dbmain.h

Deprecated ObjectARX API

Topic
Class
Declaration
Use Instead
AcApDocManager
virtual ADESK_DEPRECATE_FOR_INTERNAL_USE AcApDocumentIterator* newAcApDocumentIterator() = 0;
auto getDocumentIterator();
int acdbAngToS(ads_real v, int unit, int prec, ACHAR * str, size_t nBufLen);
AcDbLongTransaction
Acad::ErrorStatus getLongTransactionName(ACHAR*&) const;
int acdbRawAngToS(ads_real v, int unit, int prec, ACHAR * str, size_t nBufLen);
int acdbRToS(ads_real val, int unit, int prec, ACHAR * str, size_t nBufLen);
int acedGetInt(const ACHAR * prompt, int * result);
ACAD_PORT bool acedGetUserFavoritesDir(ACHAR* szFavoritesDir);
ACAD_PORT bool acedGetUserFavoritesDir(AcString & sFavoritesDir);
ACAD_PORT bool acedResolveInternetShortcut(const ACHAR* szLinkFile, ACHAR* szUrl);
ACAD_PORT bool acedResolveInternetShortcut(const ACHAR* szLinkFile, AcString & sUrl);
ACAD_PORT bool acedResolveShortcut(void* pvHwndParent, const ACHAR* szLinkPath, ACHAR* szObjectPath);
ACAD_PORT bool acedResolveShortcut(void* pvHwndParent, const ACHAR* szLinkPath, AcString & sObjectPath);
CAdUiPathname
static ADESK_DEPRECATED FS_TYPE GetFileSystem(AcString& vol_name);
static FS_TYPE GetFileSystemType(const AcString& vol_name);
ADESK_DEPRECATE_FOR_INTERNAL_USE ACBASE_PORT void deleteAcRxClass(AcRxClass* pClassObj);

Removed ObjectARX API

Class
Declaration
Use Instead
CAdUiPathname
friend CAdUiVolumeDescriptor* NewVolDescriptorHelper(const CAdUiPathname* pPathName, const AcString& vol_name);

Changed ObjectARX API

Topic
Class
Previous Class
Previous Declaration
Declaration
AcApDocWindow
ACAD_PORT virtual HWND windowHandle() ADESK_OVERRIDE;
ACAD_PORT WindowHandle windowHandle() const;
AcArray
AcArray(int initPhysicalLength = 0, int initGrowLength = 8);
explicit AcArray(int initPhysicalLength = 0, int initGrowLength = 8);
AcArrayMemCopyReallocator
static void copyItems(T* pDest, size_t nBufLen, const T * pSource, size_t nCount);
static void copyItems(T* pDest, int nBufLen, const T * pSource, int nCount);
AcArrayMemCopyReallocator
static void moveItems(T* pDest, size_t nBufLen, T * pSource, size_t nCount, bool bSameBuffer);
static void moveItems(T* pDest, int nBufLen, T * pSource, int nCount, bool bSameBuffer);
AcArrayObjectCopyReallocator
static void copyItems(T* pDest, size_t nBufLen, const T * pSource, size_t nCount);
static void copyItems(T* pDest, int nBufLen, const T * pSource, int nCount);
AcArrayObjectCopyReallocator
static void moveItems(T* pDest, size_t nBufLen, T * pSource, size_t nCount, bool bSameBuffer);
static void moveItems(T* pDest, int nBufLen, T * pSource, int nCount, bool bSameBuffer);
template <class T> void AcArrayValidateParams(bool bSameBuffer, T* pDest, size_t nBufLen, const T * pSource, size_t nCount);
template <class T> void AcArrayValidateParams(bool bSameBuffer, T* pDest, int nBufLen, const T * pSource, int nCount);
AcDbEntity
ACDBCORE2D_PORT ADESK_SEALED_VIRTUAL Adesk::Boolean cloneMeForDragging() ADESK_SEALED;
virtual ACDBCORE2D_PORT bool cloneMeForDragging();
AcDbEntity
ACDBCORE2D_PORT ADESK_SEALED_VIRTUAL Acad::ErrorStatus getGripEntityUCS(const void* pGripAppData, AcGeVector3d& normalVec, AcGePoint3d& origin, AcGeVector3d& xAxis) const ADESK_SEALED;
virtual ACDBCORE2D_PORT Acad::ErrorStatus getGripEntityUCS(const void* pGripAppData, AcGeVector3d& normalVec, AcGePoint3d& origin, AcGeVector3d& xAxis) const;
AcDbEntity
ACDBCORE2D_PORT ADESK_SEALED_VIRTUAL void gripStatus(const AcDb::GripStat status) ADESK_SEALED;
virtual ACDBCORE2D_PORT void gripStatus(const AcDb::GripStat status);
AcDbEntity
ACDBCORE2D_PORT ADESK_SEALED_VIRTUAL bool hideMeForDragging() const ADESK_SEALED;
virtual ACDBCORE2D_PORT bool hideMeForDragging() const;
AcDbEntity
ACDBCORE2D_PORT ADESK_SEALED_VIRTUAL Acad::ErrorStatus setVisibility(AcDb::Visibility newVal, Adesk::Boolean doSubents = true) ADESK_SEALED;
virtual ACDBCORE2D_PORT Acad::ErrorStatus setVisibility(AcDb::Visibility newVal, bool doSubents = true);
AcDbEntity
ACDBCORE2D_PORT ADESK_SEALED_VIRTUAL void subentGripStatus(const AcDb::GripStat status, const AcDbFullSubentPath& subentity) ADESK_SEALED;
virtual ACDBCORE2D_PORT void subentGripStatus(const AcDb::GripStat status, const AcDbFullSubentPath& subentity);
AcDbObject
Acad::ErrorStatus getBinaryData(const ACHAR * key, Adesk::Int32 & size, char *& data) const;Acad::ErrorStatus getBinaryData(const ACHAR * key, long & size, char *& data) const;
Acad::ErrorStatus getBinaryData(const ACHAR* key, Adesk::Int32& size, char*& data) const;
AcDbObject
ACDBCORE2D_PORT ADESK_SEALED_VIRTUAL Acad::ErrorStatus getClassID(CLSID* pClsid) const ADESK_SEALED;
virtual ACDBCORE2D_PORT Acad::ErrorStatus getClassID(CLSID* pClsid) const;
AcDbPointCloudEx
Acad::ErrorStatus decomposeForSave(AcDb::AcDbDwgVersion ver, AcDbObject*& replaceObj, AcDbObjectId& replaceId,Adesk::Boolean& exchangeXData);
Acad::ErrorStatus decomposeForSave(AcDb::AcDbDwgVersion ver, AcDbObject*& replaceObj, AcDbObjectId& replaceId, Adesk::Boolean& exchangeXData) override;
bool acdbTextFind(AcDbDatabase* pDatabase, AcDbObjectIdArray& resultSet, const ACHAR* findString, const ACHAR* replaceString = nullptr, Adesk::UInt8 searchOptions = AC_SRCH_DEFAULT, const AcDbObjectIdArray& selSet = 0);
bool acdbTextFind(AcDbDatabase* pDatabase, AcDbObjectIdArray& resultSet, const ACHAR* findString, const ACHAR* replaceString = nullptr, Adesk::UInt8 searchOptions = AC_SRCH_DEFAULT, const AcDbObjectIdArray& selSet = AcDbObjectIdArray());
ACAD_PORT Adesk::Boolean acedResolveShortcut(void* pvHwndParent, const ACHAR* szLinkPath, ACHAR* szObjectPath);
ACAD_PORT bool acedResolveShortcut(void* pvHwndParent, const ACHAR* szLinkPath, ACHAR* szObjectPath);
AcRxClass* acrxQueueClassForInitialization(AcRxClass** pgpDesc, RxInitFuncPtr rxInit);
AcTransactionReactor
ACDBCORE2D_PORT ~AcTransactionReactor();
virtual ACDBCORE2D_PORT ~AcTransactionReactor();
typedef void (*AcTrayItemBubbleWindowCallbackFunc)(void *, int);
typedef void (* AcTrayItemBubbleWindowCallbackFunc)(AcTrayItemBubbleWindowCallbackData, int);
struct HtmlWindowOptions {enum HtmlWindowFlags {eAllowResize = 0x0001, // allow dialog to be resizableeAllowMinimize = 0x0002, // enable minimize buttoneAllowMaximize = 0x0004, // enable maximize buttoneInitPosition = 0x0008, // specify initial position (x and y fields are used)eInitSize = 0x0010, // specify initial size (width and height fields are used)eMaxSize = 0x0020, // specify maximum size (maxWidth and maxHeight fields are used)eMinSize = 0x0040, // specify minimum size (minWidth and minHeight fields are used)ePersistSizeAndPosition = 0x0080, // allow dialog size and position to be persisted in registryeCenterWindow = 0x0100, // center a window relative to its parenteDialogFrame = 0x0200, // displays a dialog without the border and windows captioneAutoHiDpiScale = 0x0400 //the x,y,width, height need to adjust by AutoHiDpiScaleX};UINT flags;UINT x;UINT y;UINT width;UINT height;UINT maxWidth;UINT maxHeight;UINT minWidth;UINT minHeight;UINT dialogTemplateId; // Internal useHtmlWindowOptions(){dialogTemplateId = 0;}};
struct HtmlWindowOptions { enum HtmlWindowFlags { eAllowResize = 0x0001, eAllowMinimize = 0x0002, eAllowMaximize = 0x0004, eInitPosition = 0x0008, eInitSize = 0x0010, eMaxSize = 0x0020, eMinSize = 0x0040, ePersistSizeAndPosition = 0x0080, eCenterWindow = 0x0100, eDialogFrame = 0x0200, eAutoHiDpiScale = 0x0400 }; UINT flags; UINT x; UINT y; UINT width; UINT height; UINT maxWidth; UINT maxHeight; UINT minWidth; UINT minHeight; UINT dialogTemplateId; HWND ownerWindow;};
IAdHostWindow
virtual HWND windowHandle() = 0;
virtual WindowHandle windowHandle() const = 0;
template <class ACDB_CLASS> class ReadableAcDbObject;
template <class ACDB_CLASS, getClassDescFuncType ACDB_GET_CLASS_DESC=ACDB_CLASS::desc>class ReadableAcDbObject;
class WritableAcDbObject;

Changed Enum

Topic
Declaration
Previous Declaration
AdUiThemeElement@1 Enumeration
enum { kUnknownElements = -1, kPaletteFontCaption, kPaletteFontTab, kPaletteFontToolTip, kPaletteFont, kWorksheetFont, kWorksheetFontCaption, kInspectorItemFont, kInspectorRootFont, kPaletteBackground, kPaletteCaptionBackground, kPaletteCaptionInactive, kPaletteCaptionText, kPaletteCaptionInactiveText, kPaletteTabText, kPaletteTabBackground, kPaletteBorder, kPaletteTabShadow, kPaletteTabHighlight, kPaletteTabTextHilite, kPaletteTabSelectHilite, kPaletteToolTip, kPaletteToolTipText, kPaletteButtonText, kPaletteButtonTextDisabled, kPaletteButtonBorder, kPaletteItemText, kPaletteScrollBackground, kPaletteScrollThumb, kPaletteScrollArrow, kWorksheetBackground, kWorksheetCaptionBackground, kWorksheetCaptionText, kWorksheet3DBtnShadow, kWorksheetButtonText, kWorksheetButtonTextDisabled, kWorksheetScrollBackground, kWorksheetScrollThumb, kWorksheetBorder, kWorksheetGripHighlight, kInspector, kInspectorTop, kInspectorCat, kInspectorItem, kInspectorBorder, kInspectorBorderItem, kInspectorTextTop, kInspectorTextCat, kInspectorTextItem, kInspectorTextLabel, kInspectorFGHighlight, kInspectorBGHighlight, kInspector3dShadow, kInspectorControl, kInspectorCatChevron1, kInspectorCatChevron2, kInspectorSubChevron, kInspectorCellHighlight, kPanelBackground, kPanelSashBackground, kPanelBorder, kControlBorder, kControlBackground, kDisabledControlBorder, kControlSupport, kControlHighlight, kControlActiveOuterBorder, kControlErrorOuterBorder, kControlActiveText, kControlText, kControlInactiveText, kControlDisabledText, kPaletteFrameInnerBorder, kPaletteFrameOuterBorder, kPaletteFrameBackground, kPaletteFrameShadow, kInspectorTopGradient1, kInspectorTopGradient2, kPaletteScrollBackgroundBorder, kPaletteScrollBackgroundGradient1, kPaletteScrollBackgroundGradient2, kPaletteScrollSliderInactive, kPaletteScrollSliderActiveOuterBorder, kPaletteScrollSliderActiveOuterGradient1, kPaletteScrollSliderActiveOuterGradient2, kPaletteScrollSliderActiveOuterGradient3, kPaletteScrollSliderActiveOuterGradient4, kPaletteScrollSliderActiveInnerGradient1, kPaletteScrollSliderActiveInnerGradient2, kInspectorClosedOuterBorder, kInspectorOpenOuterBorder, kInspectorInnerBorder, kPaletteColumnHeaderBackground, kPaletteHyperlinkText, kPaletteTreeOrListBackground, kAnchorBarBackground, kAnchorBarOuterBorder, kAnchorBarEmbossRightBottom, kAnchorBarEmbossLeftTop, kAnchorBarInnerHighlight, kAnchorBarGradient1, kAnchorBarGradient2, kAnchorBarActiveTitleBackground, kAnchorBarCaptionText, kGrabBarDotDark, kGrabBarDotLight, kControlBarTitleBackground, kAppFrameBorder, kAppFrameOuterBorder, kAppFrameOuterBorderInactive, kAppFrameOuterBorderMenu, kAppFrameOuterBorderMenuInactive, kAppFrameAFGradientTop, kAppFrameAFGradientBottom, kAppFrameCaptionActiveGradientTop, kAppFrameCaptionActiveGradientBottom, kAppFrameCaptionInActiveGradientTop, kAppFrameCaptionInActiveGradientBottom, kAppFrameCaptionInactiveBorder, kAppFrameCaptionOuterBorder, kAppFrameCaptionInnerBorder, kAppFrameQATGradientTop, kAppFrameQATGradientBottom, kAppFrameQATOuterBorder, kAppFrameQATInnerBorder, kAppFrameQATButtonsBorder, kAppFrameQATButtonsRolloverBorder, kAppFrameQATButtonsClickBorder, kAppFrameQATFlyoutButtonText, kAppFrameBigMBBGradientFillTop, kAppFrameBigMBBGradientFillMiddleUpper, kAppFrameBigMBBGradientFillMiddleLower, kAppFrameBigMBBGradientFillBottom, kAppFrameSmallMBBGradientFillTop, kAppFrameSmallMBBGradientFillMiddleUpper, kAppFrameSmallMBBGradientFillMiddleLower, kAppFrameSmallMBBGradientFillBottom, kAppFrameDocNameProductNameText, kAppFrameDocNameFileNameText, kAppFrameDocNameInactiveProductNameText, kAppFrameDocNameInactiveFileNameText, kAppFrameMenuBarMenuText, kAppFrameMenuBarMenuHighlightText, kAppFrameMenuBarMenuDeHighlightText, kAppFrameMenuBarRolloverBorder, kAppFrameMenuBarRolloverFill, kAppFrameMenuBarClickBorder, kAppFrameMenuBarClickFill, kAppFrameAppWindowControlButtonsRolloverGradientBorderTop, kAppFrameAppWindowControlButtonsRolloverGradientBorderMiddle, kAppFrameAppWindowControlButtonsRolloverGradientBorderBottom, kAppFrameAppWindowControlButtonsRolloverGradientFillTop, kAppFrameAppWindowControlButtonsRolloverGradientFillMiddleUpper, kAppFrameAppWindowControlButtonsRolloverGradientFillMiddleLower, kAppFrameAppWindowControlButtonsRolloverGradientFillBottom, kAppFrameAppWindowControlButtonsRolloverBorder, kAppFrameAppWindowControlButtonsRolloverSymbol, kAppFrameAppWindowControlButtonsClickGradientBorderTop, kAppFrameAppWindowControlButtonsClickGradientBorderMiddle, kAppFrameAppWindowControlButtonsClickGradientBorderBottom, kAppFrameAppWindowControlButtonsClickGradientFillTop, kAppFrameAppWindowControlButtonsClickGradientFillMiddleUpper, kAppFrameAppWindowControlButtonsClickGradientFillMiddleLower, kAppFrameAppWindowControlButtonsClickGradientFillBottom, kAppFrameAppWindowControlButtonsClickBorder, kAppFrameAppWindowControlButtonsClickSymbol, kAppFrameAppWindowControlButtonsSymbol, kAppFrameAppWindowControlCloseButtonsRolloverGradientFillTop, kAppFrameAppWindowControlCloseButtonsRolloverGradientFillBottom, kAppFrameAppWindowControlCloseButtonsRolloverBorder, kAppFrameAppWindowControlCloseButtonsRolloverSymbol, kAppFrameAppWindowControlCloseButtonsClickGradientFillTop, kAppFrameAppWindowControlCloseButtonsClickGradientFillBottom, kAppFrameAppWindowControlCloseButtonsClickBorder, kAppFrameAppWindowControlCloseButtonsClickSymbol, kAppFrameAppWindowControlCloseButtonsSymbol, kAppFrameInfoCenterToggleButtonText, kAppFrameZeroDocBackgroundGradientTop, kAppFrameZeroDocBackgroundGradientBottom, kStatusBarPaneUnSelectedTopGradient, kStatusBarPaneUnSelectedBottomGradient, kStatusBarPaneRolloverGradient1, kStatusBarPaneRolloverGradient2, kStatusBarPaneRolloverGradient3, kStatusBarPaneRolloverGradient4, kStatusBarPaneSelectionGradient1, kStatusBarPaneSelectionGradient2, kStatusBarPaneSelectionGradient3, kStatusBarPaneSelectionGradient4, kStatusBarPaneBorder1, kStatusBarPaneBorder2, kStatusBarBkGrdBorder, kStatusBarBkGrdInnerLine, kStatusBarBkGrdTopGradient, kStatusBarBkGrdBottomGradient, kToolbarGripDarkDot, kToolbarGripLightDot, kToolbarGripBackground, kToolbarBorder, kToolbarBackground, kToolbarRolloverBorder, kToolbarCloseButton, kSquareButtonBorder, kSquareButtonBackground, kSquareButtonDisabledBorder, kSquareButtonDisabledBackground, kSquareButtonHoverBorder, kSquareButtonHoverHighlight, kSquareButtonHoverBackgroundTop, kSquareButtonHoverBackgroundBottom, kSquareButtonClickBorder, kSquareButtonClickHighlight, kSquareButtonClickBackgroundTop, kSquareButtonClickBackgroundBottom, kSquareButtonToggledBorder, kSquareButtonToggledBackground, kSquareButtonToggledHoverBorder, kSquareButtonToggledHoverBackground, kSquareButtonToggledDisabledBorder, kSquareButtonToggledDisabledBackground, kComboBoxBackgroundTop, kComboBoxBackgroundBottom, kComboBoxBorder, kComboBoxActiveBackgroundTop, kComboBoxActiveBackgroundBottom, kComboBoxArrow, kComboBoxArrowShadow, kComboBoxHoverText, kComboBoxText, kComboBoxSelectText, kComboBoxDisabledText, kComboBoxHoverBackgroundTop, kComboBoxHoverBackgroundBottom, kComboBoxHoverBorder, kComboBoxSelectBackgroundTop, kComboBoxSelectBackgroundBottom, kComboBoxHoverSelectHighlight, kComboBoxSeparator, kSpinControlHighlight, kSpinControlBorder, kSpinControlArrow, kSpinControlClickBackgroundTop, kSpinControlClickBackgroundBottom, kSpinControlBackgroundTop, kSpinControlBackgroundBottom, kTextInputBackground, kTextInputBorder, kTextInputInnerShadow, kTextInputActiveBackgroundTop, kTextInputActiveBackgroundBottom, kTextInputActiveHighlight, kTextInputActiveText, kTextInputText, kTextInputDisabledText, kTextInputInactiveText, kTextInputActiveBorder, kCategoryExpander, kCategoryExpanderShadow, kGroupGrip, kGroupGripShadow, kCategoryBackground, kCategoryBorder, kCategoryActiveText, kListBoxBorder, kListBoxGrid, kListBoxHoverBackgroundTop, kListBoxHoverBackgroundBottom, kListBoxHoverBorder, kListBoxClickBackgroundTop, kListBoxClickBackgroundBottom, kListBoxClickBorder, kListBoxSelectBackgroundTop, kListBoxSelectBackgroundBottom, kListBoxSelectBorder, kListBoxSelectInactiveBackgroundTop, kListBoxSelectInactiveBackgroundBottom, kListBoxSelectHoverBackgroundTop, kListBoxSelectHoverBackgroundBottom, kListBoxSelectHoverBorder, kListBoxInnerShadow, kListBoxText, kListBoxDisabledText, kListBoxInactiveText, kListBoxSelectText, kListBoxSelectInactiveText, kListBoxSelectDisabledText, kListBoxColumnHeaderBackgroundTop, kListBoxColumnHeaderBackgroundBottom, kListBoxColumnHeaderBorder, kListBoxColumnHeaderText, kListBoxColumnHeaderArrow, kListBoxColumnHeaderSortCellBackgroundTop, kListBoxColumnHeaderSortCellBackgroundBottom, kListBoxGroupHeaderText, kTabControlBorder, kTabControlActiveBackground, kTabControlInactiveBackground, kTreeControlBorder, kTreeControlLine, kTreeControlSelectBackground, kTreeControlSelectActiveBackground, kTreeControlSelectInactiveBackground, kTreeControlText, kTreeControlDisabledText, kTreeControlInactiveText, kTreeControlSelectText, kTreeControlSelectInactiveText, kTreeControlSelectDisabledText, kCommandLineHintBackgroundColor, kCommandLineHintBorderColor, kCommandLineHintTextColor, kCommandLineHintSelectBackgroundColor, kCommandLineHintSelectBorderColor, kCommandLineHintSelectTextColor, kCommandLineHintHeaderBackgroundColor, kCommandLineHintHeaderTextColor, kVisorDividerColor};
typedef enum {kUnknownElements = -1,// Theme fontskPaletteFontCaption,kPaletteFontTab,kPaletteFontToolTip,kPaletteFont,kWorksheetFont,kWorksheetFontCaption,kInspectorItemFont,kInspectorRootFont,// Theme colors// Palette Set ColorskPaletteBackground,kPaletteCaptionBackground,kPaletteCaptionInactive,kPaletteCaptionText,kPaletteCaptionInactiveText,kPaletteTabText,kPaletteTabBackground,kPaletteBorder,kPaletteTabShadow,kPaletteTabHighlight,kPaletteTabTextHilite,kPaletteTabSelectHilite,kPaletteToolTip,kPaletteToolTipText,kPaletteButtonText,kPaletteButtonTextDisabled,kPaletteButtonBorder,kPaletteItemText,kPaletteScrollBackground,kPaletteScrollThumb,kPaletteScrollArrow,// WorksheetskWorksheetBackground,kWorksheetCaptionBackground,kWorksheetCaptionText,kWorksheet3DBtnShadow,kWorksheetButtonText,kWorksheetButtonTextDisabled,kWorksheetScrollBackground,kWorksheetScrollThumb,kWorksheetBorder,kWorksheetGripHighlight,// Property InspectorskInspector,kInspectorTop,kInspectorCat,kInspectorItem,kInspectorBorder,kInspectorBorderItem,kInspectorTextTop,kInspectorTextCat,kInspectorTextItem,kInspectorTextLabel,kInspectorFGHighlight,kInspectorBGHighlight,kInspector3dShadow,kInspectorControl,kInspectorCatChevron1,kInspectorCatChevron2,kInspectorSubChevron,kInspectorCellHighlight,// Panel ColorskPanelBackground,kPanelSashBackground,kPanelBorder,//General control colorskControlBorder,kControlBackground,kDisabledControlBorder,kControlSupport,kControlHighlight,kControlActiveOuterBorder,kControlErrorOuterBorder,kControlActiveText,kControlText,kControlInactiveText,kControlDisabledText,// Extra Palette Set ColorskPaletteFrameInnerBorder,kPaletteFrameOuterBorder,kPaletteFrameBackground,kPaletteFrameShadow,kInspectorTopGradient1,kInspectorTopGradient2,kPaletteScrollBackgroundBorder,kPaletteScrollBackgroundGradient1,kPaletteScrollBackgroundGradient2,kPaletteScrollSliderInactive,kPaletteScrollSliderActiveOuterBorder,kPaletteScrollSliderActiveOuterGradient1,kPaletteScrollSliderActiveOuterGradient2,kPaletteScrollSliderActiveOuterGradient3,kPaletteScrollSliderActiveOuterGradient4,kPaletteScrollSliderActiveInnerGradient1,kPaletteScrollSliderActiveInnerGradient2,kInspectorClosedOuterBorder,kInspectorOpenOuterBorder,kInspectorInnerBorder,kPaletteColumnHeaderBackground,kPaletteHyperlinkText,kPaletteTreeOrListBackground,// Anchor Bar ColorskAnchorBarBackground,kAnchorBarOuterBorder,kAnchorBarEmbossRightBottom,kAnchorBarEmbossLeftTop,kAnchorBarInnerHighlight,kAnchorBarGradient1,kAnchorBarGradient2,kAnchorBarActiveTitleBackground,kAnchorBarCaptionText,// Other ColorskGrabBarDotDark,kGrabBarDotLight,kControlBarTitleBackground,// Application Frame Window ColorskAppFrameBorder,kAppFrameOuterBorder,kAppFrameOuterBorderInactive,kAppFrameOuterBorderMenu,kAppFrameOuterBorderMenuInactive,kAppFrameAFGradientTop,kAppFrameAFGradientBottom,// Application Frame Caption areakAppFrameCaptionActiveGradientTop,kAppFrameCaptionActiveGradientBottom,kAppFrameCaptionInActiveGradientTop,kAppFrameCaptionInActiveGradientBottom,kAppFrameCaptionInactiveBorder,kAppFrameCaptionOuterBorder,kAppFrameCaptionInnerBorder,// Application Frame Quick Access ToolbarkAppFrameQATGradientTop,kAppFrameQATGradientBottom,kAppFrameQATOuterBorder,kAppFrameQATInnerBorder,kAppFrameQATButtonsBorder,kAppFrameQATButtonsRolloverBorder,kAppFrameQATButtonsClickBorder,kAppFrameQATFlyoutButtonText,// Application Frame Menu Browser ButtonkAppFrameBigMBBGradientFillTop,kAppFrameBigMBBGradientFillMiddleUpper,kAppFrameBigMBBGradientFillMiddleLower,kAppFrameBigMBBGradientFillBottom,kAppFrameSmallMBBGradientFillTop,kAppFrameSmallMBBGradientFillMiddleUpper,kAppFrameSmallMBBGradientFillMiddleLower,kAppFrameSmallMBBGradientFillBottom,// Application Frame Document name textkAppFrameDocNameProductNameText,kAppFrameDocNameFileNameText,kAppFrameDocNameInactiveProductNameText,kAppFrameDocNameInactiveFileNameText,// Application Frame Menu BarkAppFrameMenuBarMenuText,kAppFrameMenuBarMenuHighlightText,kAppFrameMenuBarMenuDeHighlightText,kAppFrameMenuBarRolloverBorder,kAppFrameMenuBarRolloverFill,kAppFrameMenuBarClickBorder,kAppFrameMenuBarClickFill,// Application Frame application window control buttonskAppFrameAppWindowControlButtonsRolloverGradientBorderTop,kAppFrameAppWindowControlButtonsRolloverGradientBorderMiddle,kAppFrameAppWindowControlButtonsRolloverGradientBorderBottom,kAppFrameAppWindowControlButtonsRolloverGradientFillTop,kAppFrameAppWindowControlButtonsRolloverGradientFillMiddleUpper,kAppFrameAppWindowControlButtonsRolloverGradientFillMiddleLower,kAppFrameAppWindowControlButtonsRolloverGradientFillBottom,kAppFrameAppWindowControlButtonsRolloverBorder,kAppFrameAppWindowControlButtonsRolloverSymbol,kAppFrameAppWindowControlButtonsClickGradientBorderTop,kAppFrameAppWindowControlButtonsClickGradientBorderMiddle,kAppFrameAppWindowControlButtonsClickGradientBorderBottom,kAppFrameAppWindowControlButtonsClickGradientFillTop,kAppFrameAppWindowControlButtonsClickGradientFillMiddleUpper,kAppFrameAppWindowControlButtonsClickGradientFillMiddleLower,kAppFrameAppWindowControlButtonsClickGradientFillBottom,kAppFrameAppWindowControlButtonsClickBorder,kAppFrameAppWindowControlButtonsClickSymbol,kAppFrameAppWindowControlButtonsSymbol,kAppFrameAppWindowControlCloseButtonsRolloverGradientFillTop,kAppFrameAppWindowControlCloseButtonsRolloverGradientFillBottom,kAppFrameAppWindowControlCloseButtonsRolloverBorder,kAppFrameAppWindowControlCloseButtonsRolloverSymbol,kAppFrameAppWindowControlCloseButtonsClickGradientFillTop,kAppFrameAppWindowControlCloseButtonsClickGradientFillBottom,kAppFrameAppWindowControlCloseButtonsClickBorder,kAppFrameAppWindowControlCloseButtonsClickSymbol,kAppFrameAppWindowControlCloseButtonsSymbol,// Application Frame Info Center Toggle Button colorkAppFrameInfoCenterToggleButtonText,// Application Frame Zero Doc state backgroundkAppFrameZeroDocBackgroundGradientTop,kAppFrameZeroDocBackgroundGradientBottom,//Status bar colors.kStatusBarPaneUnSelectedTopGradient,kStatusBarPaneUnSelectedBottomGradient,kStatusBarPaneRolloverGradient1,kStatusBarPaneRolloverGradient2,kStatusBarPaneRolloverGradient3,kStatusBarPaneRolloverGradient4,kStatusBarPaneSelectionGradient1,kStatusBarPaneSelectionGradient2,kStatusBarPaneSelectionGradient3,kStatusBarPaneSelectionGradient4,kStatusBarPaneBorder1,kStatusBarPaneBorder2,kStatusBarBkGrdBorder,kStatusBarBkGrdInnerLine,kStatusBarBkGrdTopGradient,kStatusBarBkGrdBottomGradient,//Toolbar specific colorskToolbarGripDarkDot,kToolbarGripLightDot,kToolbarGripBackground,kToolbarBorder,kToolbarBackground,kToolbarRolloverBorder,kToolbarCloseButton,//Square Button colorskSquareButtonBorder,kSquareButtonBackground,kSquareButtonDisabledBorder,kSquareButtonDisabledBackground,kSquareButtonHoverBorder,kSquareButtonHoverHighlight,kSquareButtonHoverBackgroundTop,kSquareButtonHoverBackgroundBottom,kSquareButtonClickBorder,kSquareButtonClickHighlight,kSquareButtonClickBackgroundTop,kSquareButtonClickBackgroundBottom,kSquareButtonToggledBorder,kSquareButtonToggledBackground,kSquareButtonToggledHoverBorder,kSquareButtonToggledHoverBackground,kSquareButtonToggledDisabledBorder,kSquareButtonToggledDisabledBackground,//Combo box colorskComboBoxBackgroundTop,kComboBoxBackgroundBottom,kComboBoxBorder,kComboBoxActiveBackgroundTop,kComboBoxActiveBackgroundBottom,kComboBoxArrow,kComboBoxArrowShadow,kComboBoxHoverText,kComboBoxText,kComboBoxSelectText,kComboBoxDisabledText,kComboBoxHoverBackgroundTop,kComboBoxHoverBackgroundBottom,kComboBoxHoverBorder,kComboBoxSelectBackgroundTop,kComboBoxSelectBackgroundBottom,kComboBoxHoverSelectHighlight,kComboBoxSeparator,//Spin control colorskSpinControlHighlight,kSpinControlBorder,kSpinControlArrow,kSpinControlClickBackgroundTop,kSpinControlClickBackgroundBottom,kSpinControlBackgroundTop,kSpinControlBackgroundBottom,//Text input colorskTextInputBackground,kTextInputBorder,kTextInputInnerShadow,kTextInputActiveBackgroundTop,kTextInputActiveBackgroundBottom,kTextInputActiveHighlight,kTextInputActiveText,kTextInputText,kTextInputDisabledText,kTextInputInactiveText,kTextInputActiveBorder,//splitter control colorskCategoryExpander,kCategoryExpanderShadow,kGroupGrip,kGroupGripShadow,kCategoryBackground,kCategoryBorder,kCategoryActiveText,//List box colorskListBoxBorder,kListBoxGrid,kListBoxHoverBackgroundTop,kListBoxHoverBackgroundBottom,kListBoxHoverBorder,kListBoxClickBackgroundTop,kListBoxClickBackgroundBottom,kListBoxClickBorder,kListBoxSelectBackgroundTop,kListBoxSelectBackgroundBottom,kListBoxSelectBorder,kListBoxSelectInactiveBackgroundTop,kListBoxSelectInactiveBackgroundBottom,kListBoxSelectHoverBackgroundTop,kListBoxSelectHoverBackgroundBottom,kListBoxSelectHoverBorder,kListBoxInnerShadow,kListBoxText,kListBoxDisabledText,kListBoxInactiveText,kListBoxSelectText,kListBoxSelectInactiveText,kListBoxSelectDisabledText,kListBoxColumnHeaderBackgroundTop,kListBoxColumnHeaderBackgroundBottom,kListBoxColumnHeaderBorder,kListBoxColumnHeaderText,kListBoxColumnHeaderArrow,kListBoxColumnHeaderSortCellBackgroundTop,kListBoxColumnHeaderSortCellBackgroundBottom,kListBoxGroupHeaderText,//Tab control colorskTabControlBorder,kTabControlActiveBackground,kTabControlInactiveBackground,//Tree control colorskTreeControlBorder,kTreeControlLine,kTreeControlSelectBackground,kTreeControlSelectActiveBackground,kTreeControlSelectInactiveBackground,kTreeControlText,kTreeControlDisabledText,kTreeControlInactiveText,kTreeControlSelectText,kTreeControlSelectInactiveText,kTreeControlSelectDisabledText,//Command line colorskCommandLineHintBackgroundColor,kCommandLineHintBorderColor,kCommandLineHintTextColor,kCommandLineHintSelectBackgroundColor,kCommandLineHintSelectBorderColor,kCommandLineHintSelectTextColor,kCommandLineHintHeaderBackgroundColor,kCommandLineHintHeaderTextColor,} AdUiThemeElement;
enum DrawFlags { kNoDrawFlags = 0, kDrawBackfaces = 1, kDrawHatchGroup = 2, kDrawFrontfacesOnly = 4, kDrawGradientFill = 8, kDrawSolidFill = 16, kDrawNoLineWeight = 32, kDrawNoOptimization = 64, kDrawUseAcGiEntityForDgnLineType = 128, kDrawFillTextBoundaryStart = 256, kDrawFillTextBoundaryEnd = 512, kDrawFillSelectionWindow = 1024, kDrawNoForceByLayer = 2048, KDrawIsInWCS = 4096};
enum DrawFlags {kNoDrawFlags = 0,kDrawBackfaces = 1,kDrawHatchGroup = 2,kDrawFrontfacesOnly = 4,kDrawGradientFill = 8,kDrawSolidFill = 16,kDrawNoLineWeight = 32,kDrawNoOptimization = 64,kDrawUseAcGiEntityForDgnLineType = 128,kDrawFillTextBoundaryStart = 256,kDrawFillTextBoundaryEnd = 512,kDrawFillSelectionWindow = 1024,kDrawNoForceByLayer = 2048};

Was this information helpful?