|
-
Feb 28th, 2020, 11:22 AM
#8
Thread Starter
Addicted Member
Re: VB6 - sButton Multipurpose Control
 Originally Posted by VBClassic04
Very nice.
Two issues:
'DrawTextUnicode Can't create FontFamily: [MS Sans Serif] in immediate window
pvAdjustBorderPadding not found in project
The First one... I think MS Sans Serif is not a True Type font, but a Raster font. The True Type version is called "Microsoft San Serif". GDI can only work with True Type (I run in some problem on windows 7 with Opentype so to be sure just use True Type) (https://en.wikipedia.org/wiki/Microsoft_Sans_Serif)
Second one... Done!!! Originally I made the control to work in windowed and windowless mode, but later I decided it was a headache and not gainging enough for the windowed version. So scrapped that part and missed to remove that function call.Now its deleted. Thanks!!!
Tags for this Thread
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
|