Olinn
Have a look at the msdn article Visual C++/MFC Frequently Asked Questions__, in the MSDN library. I haven't got the web link, but the extract is shown below:
How do I change the background color of a button? Note: the method in "How do I change the background color of a control?" will not work for buttons! If you want to change the color of a dialog button, you have to use an owner-draw button. (You can use bitmap buttons.) Changing the color through OnCtlColor() will not work for buttons. The following Knowledge Base articles may be of help to you: Q32685, "Using the WM_CTLCOLOR Message," and Q64328, "SAMPLE: Owner-Draw: 3-D Push Button Made from Bitmaps with Text." This article explains sample code for a owner-draw button. Ramesh (NetQuest), MSMFC, 8/3/95
"..Even my comments have bugs!"
Inspired by Toni78__