• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 441
  • Last Modified:

Need a list of system fonts for ctlFont.CreateStockObject

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
gateguard
Asked:
gateguard
1 Solution
 
jkrCommented:
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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now