Solved

Need a list of system fonts for ctlFont.CreateStockObject

Posted on 2006-10-23
1
392 Views
Last Modified: 2013-12-03
I found:

      ctlFont.CreateStockObject(DEFAULT_GUI_FONT);
      ctlFont.CreateStockObject(ANSI_FIXED_FONT);
      ctlFont.CreateStockObject(ANSI_VAR_FONT);

Where can I get a list of what's on my windows2000 machine?  I want to see what other fonts I can use that I don't have to install or create myself.

Thanks.
0
Comment
Question by:gateguard
[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
1 Comment
 
LVL 86

Accepted Solution

by:
jkr earned 250 total points
ID: 17789709
You can get more info about the installed fonts using 'EnumFontFamiliesEx()' (http://msdn.microsoft.com/library/en-us/gdi/fontext_4mk8.asp). See also http://support.microsoft.com/kb/200111/en-us ("INFO: Retrieve Font Styles Using EnumFontFamiliesEx") which comes with sample code
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

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