IVBGetControl interface

Provides access to all the controls on a Visual Basic container.

When to implement

IVBGetControl is a private Visual Basic interface and is not implemented by other containers. Its intended purpose is to assist in the migration of VBX controls to OLE controls.

When to use

The use of IVBGetControl is no longer recommended, even if you are migrating a VBX control to an OLE control, because containers other than Visual Basic do not support it. The functionality provided is available though the general container interface IOleContainer.

You can obtain a pointer to the IVBGetControl interface by calling GetExtendedControl to get a pointer to the Extender object, and then calling QueryInterface with IID_IVBGetControl on the Extender object pointer.

Members

The IVBGetControl interface inherits from the IUnknown interface. IVBGetControl also has these types of members:

Methods

The IVBGetControl interface has these methods.

MethodDescription
EnumControls

Enumerates the controls on the form.

 

Requirements

Header

VbInterf.h

IID

IID_IVBGetControl is defined as 40A050A0-3C31-101B-A82E-08002B2B2337

 

 

Show: