You will need to use the Win32 API named EnumFonts. The following is from Borland C++ Builder How-To: The Definitive C++ Builder Problem Solver by John Miano, Tom Cabanski, and Harold Howe. On your FormCreate function do something like the following:
This should load the fonts into the combo box. James P. Cottingham
When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity. [tab][tab]Albert Einstein explaining his Theory of Relativity to a group of journalists.
thank you but it doesn't work. i wrote this text in formcreate function and made some correction but with no results. I think that i must use callback function EnumFontsProc but this is only a guess. Help me!!!!!!!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.