This is, I'm sure, and easy question for most. I am a moderate C/C++ programmer in console based programs, I am looking to teach myself windows based programming though. I'm going through a book I bought and trying all of the exercises it gives to help me brush up on things.
One things I'm curious about, but can't find in the book, is how to change text color and style. I've got a character pointer with the text "Hello World" stored in it, then I'm drawing it into a box with the following line:
DrawText(hdc, szHello, strlen(szHello), &rt, DT_LEFT);
If I wanted to change the color of the text, what would I do to accomplish this?
Also, can anyone suggest some websites with useful tutorials that I should bookmark for references?
Any help would be greatly appreciated.