Flicker Problem

hi, i create the dialog based application and draw the line inside the picture box. if line is drawn then display the msgbox, if not close the msg box and resize the window then the line is disappear and blank area is shown in picturbox.
i do not whats problem
With this little amount of information noone is really able to tell what's the problem.

Maybe it's a problem with the automatically redraw of the background
Thank u coder777,
First I draw the graph using CDC in Picture Contrrol.
Second If i drawn the graph then, display the messagebox. That time i am not close the msgbox and move the msgbox various location.that time the graph is redrwn automatically. I find the problem in net, that problem called Flicker. I try to avoid the flickering problem but not use.
And also if resize the window that time same problem was occured.
No, it's not flicker. Flicker means that you see all the elements, but you see it permanent redrawing.

Your problem is that something disappear. This means either you don't draw youf stuff at that point/message or the background is drawn afterwards.
Topic archived. No new replies allowed.