Figure 3. Achieve vtable Binding With an Auxiliary Class Each SuperListBoxDirect object is associated with a particular instance of the SuperListBox ActiveX control. The client app can retrieve a reference to the object by means of the ObjectDirect property, then use this reference to access the object's methods through vtable binding. This approach proves faster than accessing the control's methods through DispID binding, even if the object must delegate to the method in the UserControl module. |