Step 2: Set Up the Toolbox Item Map

If your designer supports any toolbox features, you must include a toolbox item map in the class definition to enumerate the types of supported toolbox items. This map is a set of macros that define an array of TOOLBOXITEM structures, which contain information about the designer-specific toolbox items and the external controls that the designer supports.

The toolbox item map must begin with the BEGIN_TOOLBOXITEM_MAP macro and end with the END_TOOLBOXITEM_MAP. In between, use as many INTERNALTOOLBOXITEM and CONTROLTOOLBOXITEM macros as you need to enumerate the internal toolbox items and ActiveX controls your designer supports. See Toolbox Item Macros for details.

See Also

Step 3: Connect to the IDesignerToolboxSite Interface