Windows and Common Controls versions
The hTooltip ActiveX DLL can be used in any version of MS Windows. Its features were tested in Windows 95/98/Me/NT4/2000/XP/2003/Vista and Windows 7.
The tooltip features encapsulated in the hTooltip component rely on the Common Controls library (ComCtl32.dll) included in each version of MS Windows. Depending on the version of this library, some features may not work.
Fortunately, practically all the tooltip features you can access through the hTooltip component are implemented by the version 5.80 of the Common Controls, and this version of the DLL is included in Windows 98 Second Edition and Windows 2000 or redistributed with Internet Explorer 5.0. If you have a later version of MS Windows or IE, the corresponding later version of ComCtl32.DLL is installed on your system, and of course, due to backward compatibility, all the tooltip features will work as well.
The following table briefly lists the main hTooltip features and the versions of Windows and ComCtl32.dll they are rely on:
|Comes with||hTooltip Feature||Notes|
(but not originally
in Win 95/98 or NT4)
|Title and system icon|
|Slide and fade effects||The sliding and fading tooltip animation are available since Windows 98 and Windows 2000 systems.|
|Display on demand|
hTooltip provides you with the
Support function in the
CTooltip class which allows you to determine whether some of these features are available in the current environment.
Windows XP visual styles
The tooltips created with the hTooltip component are automatically drawn using the current Windows XP visual style if visual styles are enabled in your application.
The main differences you can notice in tooltips when visual styles are turned on are the beautiful shadow behind the tooltip window and a more attractive, not denticulated, system icon. The tooltip window also appears using a fade-in effect.
The component was designed originally for Visual Basic 6, but it can be used in the development environments which can work with COM objects, such as Visual Basic for Applications in MS Office, Visual FoxPro, Delphi and the .NET Framework.
The method you create the hTooltip objects with depends on a particular development environment. For instance, VBA in MS Office allows you to refer the hTooltip DLL and use early binding like you do it in VB. Such environments as Visual FoxPro allow you to create COM objects through late binding (with the CreateObject function), and you will use only this approach. In Delphi you can create component wrappers and place hTooltip classes as normal Delphi components on its component palette, and so on.
hTooltip is developed using Visual Basic 6, and if you wish to use this component, you must have only VB6 run-time support library installed on your system (the main file is MSVBVM60.DLL).
This file is installed on your system automatically with VB6. It is also present in your system if you have Windows 2000 or MS Office 2000 or higher versions of these products. Finally, you can always download and install VB6 run-time redistributable package from Microsoft's website or from this site.