Add the following to your window procedure:
This gets asked a lot so a board search should give further explanation/examples should you require them.
hbr=CreateSolidBrush(RGB(0,255,0)); /*green */
case WM_CTLCOLOEDIT: /*WM_CTLCOLORSTATIC for read only edit */
SetTextColor(hdc,RGB(255,0,0)); /*red text*/
return (LRESULT)hbr; /*this brush used by system to paint control background */
DeleteObject(hbr); /*free gdi resources*/
Dont' forget msdn:
edit: use SetBkColor or SetBkMode if you want the text background to match the control background.