I placed a TextOut() in WM_PAINT for an edit control. It draws the text, but the text flickers constantly, very quickly. Is there a window style or similar that I have to use?
Code:case WM_PAINT: { HDC hdc=GetDC(hwnd); TextOut(hdc,0,0,"yo",2); ReleaseDC(hwnd,hdc); } return 0;