Solved

List available charset/script of selected font.

Posted on 2000-04-20
7
217 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

688 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