Tracking Changes to Design-Time Type Information

When the end user adds an object to an ActiveX designer, the type information for the visual designer has to change dynamically to include information about the new object. The ActiveX designer uses Automation's ICreateTypeInfo and ICreateTypeInfo2 interfaces to change the type information. In turn, Automation triggers an ITypeChangeEvents notification to Visual Basic, which calls the designer's IProvideDynamicClassInfo interface to get the new type information.

See Chapter 5, "Type Information and Extended Objects," for details on dynamic type information.