Click to See Complete Forum and Search --> : want no flikker while refreshing @100 ms


Deepak Patil
May 12th, 1999, 03:32 AM
Dear developers,
i am writing code for real time trend. I have to show data of previous 100 samples as a graph in child window. After every 100ms , i have to redraw the graph with new sample.
My prblem is, as i am redrawing complete graph after every 100 ms, it is showing flickker.
Which i don't want. Please inform me , how to go for it.

Deepak Patil

Roland Seibert
May 12th, 1999, 05:42 AM
You can draw in background using a memory device context (CreateCompatibleDC() ). After updating your graph copy it to screen using pDC->BitBlt()

Hope this helps

Deepak Patil
May 12th, 1999, 08:20 AM
Dear ronald,

Thank you for the suggestion.

regards,
Deepak Patil

Deepak Patil