Results 1 to 8 of 8

Thread: VB6 - Customizable Balloon Tooltips for all controls (supports Unicode)

  1. #1

    Thread Starter
    Frenzied Member VanGoghGaming's Avatar
    Join Date
    Jan 2020
    Location
    Eve Online - Mining, Missions & Market Trading!
    Posts
    1,939

    Thumbs up 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)


    Name:  BalloonTooltips.png
Views: 351
Size:  23.2 KB

    Here is the demo project: BalloonTooltips.zip

  2. #2
    PowerPoster yereverluvinuncleber's Avatar
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    2,470

    Re: VB6 - Customizable Balloon Tooltips for all controls (supports Unicode)

    Very snazzy!
    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.

  3. #3
    Fanatic Member
    Join Date
    Jun 2016
    Location
    España
    Posts
    536

    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

  4. #4

    Thread Starter
    Frenzied Member VanGoghGaming's Avatar
    Join Date
    Jan 2020
    Location
    Eve Online - Mining, Missions & Market Trading!
    Posts
    1,939

    Wink 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!

  5. #5
    Fanatic Member
    Join Date
    Jun 2016
    Location
    España
    Posts
    536

    Re: VB6 - Customizable Balloon Tooltips for all controls (supports Unicode)

    Quote Originally Posted by VanGoghGaming View Post
    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

  6. #6
    Fanatic Member
    Join Date
    Aug 2011
    Location
    Palm Coast, FL
    Posts
    627

    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.

  7. #7

    Thread Starter
    Frenzied Member VanGoghGaming's Avatar
    Join Date
    Jan 2020
    Location
    Eve Online - Mining, Missions & Market Trading!
    Posts
    1,939

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

  8. #8
    Fanatic Member
    Join Date
    Aug 2011
    Location
    Palm Coast, FL
    Posts
    627

    Re: VB6 - Customizable Balloon Tooltips for all controls (supports Unicode)

    Quote Originally Posted by VanGoghGaming View Post
    It's in the thread's title (supports Unicode)...
    Name:  blind mouse.jpg
Views: 117
Size:  35.4 KB

    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
  •  



Click Here to Expand Forum to Full Width