IDesignTimeControl Interface

Represents a DTC object that is an ActiveX control able to communicate with other controls using Choice objects.

Syntax

IDesignTimeControl

Remarks

To create a DTC object, implement these properties and methods. Choices-compliant (DTC) HTML editors call QueryInterface on contained design-time controls for the IDesignTimeControl interface and call methods on this interface to allow the control to publish and subscribe to choices. ActiveX controls must also implement the IPersistRuntimeText interface for the editor to recognize them as design-time controls.

DTC objects subscribe to choices in one of three ways:

DTCs publish choices by adding two types of choices:

Properties Methods
DesignTimeControlSet OnChoiceChange
DesignTimeControlSite OnChoiceConflict
OnGetChoices
OnHostingChange
OnRebind