IVBFormat interface

Provides formatting support for controls on a Visual Basic container.

When to implement

IVBFormat 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 IVBFormat 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.

You can get a pointer to the IVBFormat interface by calling IGetVBAObject::GetObject.

Members

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

Methods

The IVBFormat interface has these methods.

MethodDescription
Format

Formats a string the way the Visual Basic Format$ function would.

 

Requirements

Header

VbInterf.h

IID

IID_IVBFormat is defined as 9849FD60-3768-101B-8D72-AE6164FFE3CF

 

 

Show: