Hello, I have an edit control on my dialog, I have handled WM_CTLCOLOREDIT to change the edit control's color. However, I have just noticed a bug, when highlighting the text/erasing it, it doesn't repaint till I type something else. I don't really understand why this is happening.
This is how I handle the message:
Any help will be greatly appreciated, thanksCode:case WM_CTLCOLOREDIT: SetBkMode((HDC)wParam,TRANSPARENT);SetTextColor((HDC)wParam,RGB(0,0,200)); return (BOOL) BackgroundBrush;