Can anybody tell me how to put a working font box into a program using the Win32 API? I have initialized my struct and passed it to the correct function (?) so that when I compile the program (a text editor) I get a font choice on the menu and when it is chosen an error message comes up saying something like
"There are no fonts currently installed on this computer".
This is not the case, as Notepad and other programs involving fonts work perfectly in this area. What is wrong?
I would post the source code, but all of my work is on another computer which I cannot access at the moment. Also, this was tested quite a while ago, so I cannot be too specific, but hopefully you'll know what I'm talking about. Incidentally, I use DevC++ (version 5, I think).