Solved

List available charset/script of selected font.

Posted on 2000-04-20
7
215 Views
Last Modified: 2013-12-03
How can I list all available font script of selected font into my form?
Thank you in advance.
StingRaY
0
Comment
Question by:StingRaY
  • 4
  • 3
7 Comments
 
LVL 28

Expert Comment

by:AzraSound
ID: 2737146
http://www.winmag.com/columns/powertools/ptfonts.htm

It does that and a whole lot more  =)
0
 
LVL 15

Author Comment

by:StingRaY
ID: 2737229
AzraSound:
I mean each font has its own charset (script) such as "Microsoft Sans Serif" has ANSI_CHARSET, GREEK_CHARSET, THAI_CHARSET, TURKISH_CHARSET and so on.
What I want to know is how can I get all available charset of selected font without using commondialog?
Such as, I select a font named "Tahoma", How can I programmatically list all available charset??
Regards
StingRaY
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 2737258
oh I am sorry I misunderstood.  perhaps if you found that information stored in registry you can extract it.  i dont know of any apis to extract all charsets of a font either though i think i have seen a c class that does so.  sorry for the confusion.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 15

Author Comment

by:StingRaY
ID: 2737433
i don't mind. anyway, thank you for your participate.
0
 
LVL 28

Accepted Solution

by:
AzraSound earned 130 total points
ID: 2746171
i know using the EnumFontFamiliesEx api function you can get a list of all the fonts that support a particular charset.  with a little work you should be able to get it to do what you would like.  if you have questions about this function ask me but most info you need is in msdn.
0
 
LVL 15

Author Comment

by:StingRaY
ID: 2746506
Adjusted points from 100 to 130
0
 
LVL 15

Author Comment

by:StingRaY
ID: 2746507
Okay...
I will check it as my homework...
Anyway, thanks for your valuable time.
I will give you points..
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question