Solved

Need a list of system fonts for ctlFont.CreateStockObject

Posted on 2006-10-23
1
385 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Google Fonts cannot be displayed with Firefox and Internet Explorer 6 216
countEvens challenge 2 79
withoutTen challenge 14 101
FizzBuzz challenge 9 77
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…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
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…

863 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now