January 30th, 2014, 05:41 PM
[win32] - avoid flicker and do a correct redraw
for resize or readraw the control i do:
but theses flags: SWP_DRAWFRAME and SWP_FRAMECHANGED give me the flicker.
SetWindowPos(hwnd, 0, 0, 0, 0, 0,
SWP_DRAWFRAME | SWP_FRAMECHANGED|SWP_NOCOPYBITS);
if i have the control transparent and don't use these code, the control isn't redraw, when i change the text
so how can redraw the control without flicker? or 'clean' correctly the control, before give it the next text?
Click Here to Expand Forum to Full Width