Search Tools Links Login

Font List For Each Language


Visual Basic 6, or VB Classic

With this code you will be able to select one or more language from a list , and then to get all the fonts that was installed on the operating system which support the languages that was chosen.
So if you want to develop a word prossesor maybe you will find it useful - to change the font list when the user had change the language. some part of it i had found on the net ( I dont know who is the Auther) and more help from the MSDN.

Original Author: Gil Shabthai

API Declarations

Public Declare Function GetLocaleInfoA Lib "kernel32" (ByVal LCID As Long, ByVal LCType As Long, ByVal lpData As String, ByVal cchData As Integer) As Integer '*
Public Declare Function TranslateCharsetInfo Lib "gdi32" (lpSrc As Long, lpcs As CHARSETINFO, ByVal dwFlags As Long) As Long '*
Public Declare Function EnumFontFamiliesEx Lib "gdi32" Alias "EnumFontFamiliesExA" (ByVal hDC As Long, lpLogFont As LOGFONT, ByVal lpEnumFontProc As Long, ByVal LParam As Long, ByVal dw As Long) As Long

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 98 times

Categories

Visual Basic 6

Attachments

Font List 237067292001.zip
Posted: 9/3/2020 3:45:00 PM
Size: 30,433 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.