I'm trying to learn win32 C++ programming. I was looking for a way to change the font for a button. After lenghy searching I found this:
I figured out how to get it to work and everything, and it changed the font fine. What I want to do now, however, is change the colour of the font used on the button.PHP Code:
HFONT hMultiFont=CreateFont(24,12,0,0,700,0,0,0,0,0,0,0,0,TEXT("Times New Roman"));
Unfortunately, I could not find a list with descriptions of the arguments for CreateFont, so I do not know what each of the numbers does.
If anoyone could give me a list of the arguments, or another function that I could use to change the font (as well as colour) I would really appreciate it.
Edit: And yes, I did search MSDN, but I couldn't find a proper description.