-
Jul 19th, 2024, 02:15 AM
#1
VB6 - Customizable Balloon Tooltips for all controls (supports Unicode)
This is another spin on "Customizable Balloon Tooltips" for your controls (mainly inspired from Elroy's example in this thread). All relevant code for the tooltips is encapsulated in the "cTT" class which is predeclared for ease of use. This class keeps track of all added tooltips and they are displayed automatically when the user hovers the mouse over a control that has a balloon tooltip attached.
- All tooltips are fully customizable as seen in the screenshot below.
- You can toggle enabling or disabling the display of tooltips either for specified controls or for all at once.
- Once created, a tooltip can be modified later without creating a new one
- The class supports both regular controls (those with a "hWnd" property) as well as windowless controls ("Label" for example)
Here is the demo project: BalloonTooltips.zip
Last edited by VanGoghGaming; Jul 19th, 2024 at 04:21 AM.
-
Jul 19th, 2024, 03:46 AM
#2
Re: VB6 - Customizable Balloon Tooltips for all controls (supports Unicode)
https://github.com/yereverluvinunclebert
Skillset: VMS,DOS,Windows Sysadmin from 1985, fault-tolerance, VaxCluster, Alpha,Sparc. DCL,QB,VBDOS- VB6,.NET, PHP,NODE.JS, Graphic Design, Project Manager, CMS, Quad Electronics. classic cars & m'bikes. Artist in water & oils. Historian.
By the power invested in me, all the threads I start are battle free zones - no arguing about the benefits of VB6 over .NET here please. Happiness must reign.
-
Jul 19th, 2024, 09:27 AM
#3
Fanatic Member
Re: VB6 - Customizable Balloon Tooltips for all controls (supports Unicode)
Very nice job.
It can be done without a resource file, it is to move it to a dll.
greetings
-
Jul 19th, 2024, 01:17 PM
#4
Re: VB6 - Customizable Balloon Tooltips for all controls (supports Unicode)
As long as the main executable is manifested for the modern theme you should be able to move the "cTT" class into a DLL just fine. You seem to like moving everything to DLLs, maybe make your very own RC# collection!
-
Jul 19th, 2024, 02:54 PM
#5
Fanatic Member
Re: VB6 - Customizable Balloon Tooltips for all controls (supports Unicode)
Originally Posted by VanGoghGaming
As long as the main executable is manifested for the modern theme you should be able to move the "cTT" class into a DLL just fine. You seem to like moving everything to DLLs, maybe make your very own RC# collection!
if I use many DLLs like regfree.
I like to separate my work into dlls, so I can reuse them.
maybe make your very own RC# collection!
I wish I could, my knowledge is reduced
-
Jul 25th, 2024, 09:19 AM
#6
Fanatic Member
Re: VB6 - Customizable Balloon Tooltips for all controls (supports Unicode)
This looks great!
A couple of questions for you:
1. Does this support unicode text?
2. What does this offer that Elroy's does not?
I'm asking as someone who's already using Elroy's class so trying to figure out if I should switch classes.
Last edited by AAraya; Jul 25th, 2024 at 09:27 AM.
-
Jul 25th, 2024, 09:22 AM
#7
Re: VB6 - Customizable Balloon Tooltips for all controls (supports Unicode)
It's in the thread's title (supports Unicode)...
I recommend you download it and give it a whirl. The whole idea came from the thread linked in the first post. There Elroy posted a BAS module, not a class.
Last edited by VanGoghGaming; Jul 25th, 2024 at 09:37 AM.
-
Jul 25th, 2024, 09:38 AM
#8
Fanatic Member
Re: VB6 - Customizable Balloon Tooltips for all controls (supports Unicode)
Originally Posted by VanGoghGaming
It's in the thread's title (supports Unicode)...
Haha! Well in my defense I have about a dozen new VBForums threads open at one time that I'm quickly glancing through to see if there's anything new for me to learn.
Thanks for pointing out what I missed.
Last edited by AAraya; Jul 26th, 2024 at 09:22 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|