To add an instance of an ActiveX designer to a project, the end user clicks the name of the designer on the Project menu or the More ActiveX Designers pop-up. In response, Visual Basic adds a Designers folder to the Project hierarchy (shown in the Project window) and takes the following steps:
If the designer sets the DESIGNERFEATURE_PREDECLAREDID flag in the registry, Visual Basic creates a default instance of the visual designer. See Chapter 11, "Registry Reference," for details.
After Visual Basic creates and initializes the designer, the designer can use the SDesignerToolboxSite service to add items to the Visual Basic toolbox. See Chapter 4, "Interaction Between ActiveX Designer and Host," for details.