First you must clarify what you are talking about the standard Edit and Rich Edit controls - these are two completely different.
You can change the font by sending the WM_SETFONT message to the edit control. Setting color is a completely different process.
You can set the color of the text by replying to the WM_CTLCOLOREDIT message from the owner of the edit control.
source share