SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Returns an ISftButtonVTable interface pointer.
Get
VB.NET | refSftButtonVObj = object.Direct As ISftButtonVTable |
VB | Set refSftButtonVObj = object.Direct As SftButtonVTable |
C#.NET | ISftButtonVTable refSftButtonVObj = object.Direct; |
VC++ | ISftButtonVTable* refSftButtonVObj = object->Direct; ISftButtonVTable* refSftButtonVObj = object->GetDirect(); |
C | HRESULT object->get_Direct(ISftButtonVTable** refSftButtonVObj); |
object
refSftButtonVObj
Returns an ISftButtonVTable interface pointer.
The Direct property returns an ISftButtonVTable interface pointer.
The ISftButtonVTable interface describes a SftButton object (i.e. the control itself). It is used in Visual Basic to insure that vtable binding is used. Visual Basic uses dispatch interface (early and late) binding when a SftButton object is used (i.e. the control). By retrieving the ISftButtonVTable interface, Visual Basic can use vtable binding which is significantly faster than any form of dispatch interface binding.
Any SftButton/OCX control that is used with Visual Basic should use the ISftButtonVTable interface if performance is important. Visual Basic uses vtable binding for all other SftButton objects (such as DataObject, etc.). Visual Basic will however use dispatch interface binding for the control object (SftButton).
The ISftButtonVTable interface exposes all properties and methods that are supported by the SftButton object.
Other languages (such as C++) can use the SftButton object directly and do not need to retrieve the ISftButtonVTable interface. The ISftButton interface which implements the SftButton object is a dual interface.
See Also SftButton Object | Object Hierarchy