In addition to executing AutoCAD commands, a tool may expand an in-place toolbar that displays another group of tools. Such tools are known as flyout tools. To see an example, use the CTRL key to drag a circle from the AutoCAD drawing editor to the Tool Palettes window. When you drop the circle on a tool palette, it creates a circle icon with a small arrow to its right. This arrow denotes a flyout. You click the arrow to display the flyout shape palette.
You designate a tool as a flyout by calling the AcTcTool::SetToolType() function with a value of kToolFlyout. To enable or disable the flyout, call AcTcTool::EnableFlyout().
You also must associate a shape package with a flyout tool. This package contains the icons that appear on your flyout. To define the package, you create a new AcTcPackage object whose image list contains the flyout's shapes. You assign the package to your flyout tool by passing the package object's pointer to the AcTcTool::SetShapePackage() function.