Results 1 to 5 of 5

Thread: [RESOLVED] VB6 Question: Balloon Tooltip Font Siize

  1. #1

    Thread Starter
    PowerPoster yereverluvinuncleber's Avatar
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    2,615

    Resolved [RESOLVED] VB6 Question: Balloon Tooltip Font Siize

    Question for Elroy,

    In your balloon tooltip class, is it possible to alter the font size of the displayed text or is that just picked up from the system default font size?
    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.

  2. #2
    Frenzied Member
    Join Date
    Apr 2012
    Posts
    1,268

    Re: VB6 Question: Balloon Tooltip Font Siize

    IIRC, you are using RC6, yes? If so, you might want to consider this:

    https://www.vbforums.com/showthread....s-vbRichClient
    If you don't know where you're going, any road will take you there...

    My VB6 love-children: Vee-Hive and Vee-Launcher

  3. #3

    Thread Starter
    PowerPoster yereverluvinuncleber's Avatar
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    2,615

    Re: VB6 Question: Balloon Tooltip Font Siize

    Colin, yes. I have the Olaf tooltips in place for elements built using RC but I am also using Elroy's balloon tooltips on VB6 native components that have no RC element and I like to keep the two separate in functionality. You see I use the same components in non-RC5/6 programs too.

    So, this question is related to native VB6 forms only.
    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.

  4. #4
    PowerPoster Elroy's Avatar
    Join Date
    Jun 2014
    Location
    Near Nashville TN
    Posts
    10,595

    Re: VB6 Question: Balloon Tooltip Font Siize

    I'm travelling right now, and just on my tablet. But I don't think it's going to be trivial to do this.

    You'll probably have to create a font using CreateFontIndirect, creating a TTFont structure. And then, you'll probably have to call SetWindowFont using your tooltip hWnd to change its font.

    It'd be super-cool if these tooltips could be RTF, but I'm not sure that's possible without a completely homegrown tooltip system.
    Any software I post in these forums written by me is provided "AS IS" without warranty of any kind, expressed or implied, and permission is hereby granted, free of charge and without restriction, to any person obtaining a copy. To all, peace and happiness.

  5. #5

    Thread Starter
    PowerPoster yereverluvinuncleber's Avatar
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    2,615

    Re: VB6 Question: Balloon Tooltip Font Siize

    I suspected as such. Thanks for your time Elroy, appreciated.
    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.

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