Hey Evan,
I don't think there are any WinAPI functions that do this. Basically, when you get down to that level, it's roll your time using EnumFontFamiliesEx and EnumFontFamExProc. The first runs through all the installed fonts on your system. The second is a call back function run for every font found by the Enum function. It receives a pointer to a font structure and you can do anything you want at that time (i.e. populate a listbox with some of the information).
Another suggestion is to use the ShowFont() method of the Common Dialog Control. You could stick the control on a form and initiate its methods (ShowPrinters, ShowFont, ShowColor).
HTH.
>Hi Larry,
>
>They're one option (BG).
>
>The upshot of this is that I need to show a couple of choices to some folks here. GetFont() and GetColor() are one offering; I was hoping to show the WinAPI dialog(s) for comparison purposes.
>
>Thanks,
>Evan
>
>
>>>Hi gang,
>>>
>>>Anybody know off the top of their head which Win32 API library/function to call for the Font Selection dialog under NT 4?
>>>
>>>Thanks,
>>
>>How about the non-WinAPI internal VFP function, GetFont()? Will this do?
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao