PDA

View Full Version : flash in Dialog



ding
06-05-2002, 04:45 PM
Hi,teachers!

If I redraw a object in Dialog with this->InvalidateRect(&rect,FALSE), my screen is always flashing.
How can I do when I want to redraw a object in Dialog without flashing?


thanks!

jwatte
06-05-2002, 06:10 PM
By making sure that the screen doesn't get cleared to white before you paint it. This is done in a different way on each windowing system API. I suggest you find the proper forum for questions about the specific windowing system API you're using, and ask there.

celic
06-08-2002, 11:04 PM
be sure that the doubleBuffer is OFF