Color change in Rich Edit Control
when you erase a coloured text. By default, the control sets the new entered text colour back to that was recently erased. how can you avoid that? do you need to check each character style before you type? UPDATE: I'm trying to set the text color like this. SendMessage(hEdit, EM_SETSEL, start_pos, end_pos); //select text for coloring ...