The ActiveX Control Interface Wizard interrogates the user control and all constituent controls on the user control, and populates the Available Names list with all of the public properties, methods, and events that it finds. Duplicate member names are displayed one time only. For example it you have a BorderStyle property for the user control and a constituent control, you will see BorderStyle property only once in the Available Names list. You use the Set Mapping step to map the BorderStyle property to the control you want.
For a variety of reasons, not all of the property, method and event names are displayed in the Available Names list of the ActiveX Control Interface Wizard.
The table below lists the members that are not displayed or get special handling in the ActiveX Control Interface Wizard.
Category | Property, Method, or Event Name | Status |
Extender Properties, Methods, and Events | DragIcon, DragMode, Height, HelpContextID, Index, Left, Name, TabIndex, TabStop, Tag, ToolTipText, Top, Visible, WhatsThisHelpID, Width, SetFocus, DragOver, DragDrop, GotFocus, LostFocus | Not displayed because they are provided by the control's Extender object. |
Special Methods | Circle, Line, PSet, Point, Scale | Get special handling because they have backward compatibility issues related to them that affect their syntax. |
Color List | BackColor, ForeColor, FillColor | Get special handling because they are automatically set to OLE_COLOR as a data type. |
Banned Properties, Methods, and Events | AccessKeyPress, AccessKeys, Ambient, AmbientChanged, CanPropertyChange, ContainedControls, Count, EditAtDesignTime, EnterFocus, EventsFrozen, ExitFocus, Extender, InitProperties, Initialize, KeyPreview, ParentControls, PropertyChanged, PropertyPages, ReadProperties, WriteProperties, Terminate | Not displayed because they either cannot be used, or would not have any relevance if used outside the user control. |