Hi,
I am very novice user and want to learn the internal order of commands wm_paint, wm_erasebkgnd,wm_size. I am trying to write a software
a) sometimes doesn't erase the background and draw another graphic onto background
b) erases the background on resize of window or at user's request.
I wrote something which contaings something like
case WM_ERASEBKGND:
if (flag == 0) //don't erase
return 0;
but something is wrong, the deletion of background is delayed sometimes. That is why I ask the order of these signals. thank you.
I am very novice user and want to learn the internal order of commands wm_paint, wm_erasebkgnd,wm_size. I am trying to write a software
a) sometimes doesn't erase the background and draw another graphic onto background
b) erases the background on resize of window or at user's request.
I wrote something which contaings something like
case WM_ERASEBKGND:
if (flag == 0) //don't erase
return 0;
but something is wrong, the deletion of background is delayed sometimes. That is why I ask the order of these signals. thank you.