Tool Palette UI API

In addition to catalog, tool palette, and tool definition interfaces and classes, the Tool Palette API provides classes that handle the appearance and functionality of its user interface. These classes, whose names begin with a CAcTcUI prefix, specialize and derive from AdUi and MFC classes. They extend AutoCAD's Enhanced Secondary Window (ESW) technology.

You can use the Tool Palette UI classes in much the same way you would use other MFC controls. For instance, you can use the CAcTcUiPaletteView class to display a tool palette in a modal dialog box or other custom window.

The following figure shows the Tool Palette UI class hierarchy.

Tool Palette UI class hierarchy

The following table describes the available Tool Palette UI classes.

Tool Palette UI Classes 

 

Interface

Purpose

CAcTcUiCatalogView

Displays the child items of a catalog item.

CAcTcUiCatalogViewItem

Encapsulates an item displayed by CAcTcUiCatalogView. Created and maintained by the catalog view.

CAcTcUiPaletteView

Displays the tools contained in a tool palette.

CAcTcUiToolPalette

Contains a single CAcTcUiPaletteView object.

CAcTcUiToolPaletteSet

Contains one or more tool palettes.

CAcTcUiToolPaletteGroup

Manages user-specified tool palette groups.

CAcTcUiScheme

Handles UI schemes in tool palettes.

CAcTcUiManager

Manages the tool palette UI module. Global single object.