-
Oct 5th, 2024, 05:52 AM
#1
[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.
-
Oct 5th, 2024, 06:57 AM
#2
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
-
Oct 5th, 2024, 07:50 AM
#3
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.
-
Oct 5th, 2024, 10:42 AM
#4
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.
-
Oct 5th, 2024, 03:46 PM
#5
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|