Saving DC Bitmap
-
I have a display that simulates a digital scope. In my OnDraw rutine I draw the scope with scales and grid lines. I receive data via Ethernet and plot it in the scope. I'm using double buffering to minimized the flicker, though I'm pretty sure I'm not implementing it correctly. Is there any way to save my memory bitmap or the memory DC so that I can Bit Blit it, when there is no data change, instead of redrawing everything again and then blitting it? Also, if anyone can point me in the direction on some good articles that talk about double buffering I would greatly appreciate it. Thanks, Paul
-
I have a display that simulates a digital scope. In my OnDraw rutine I draw the scope with scales and grid lines. I receive data via Ethernet and plot it in the scope. I'm using double buffering to minimized the flicker, though I'm pretty sure I'm not implementing it correctly. Is there any way to save my memory bitmap or the memory DC so that I can Bit Blit it, when there is no data change, instead of redrawing everything again and then blitting it? Also, if anyone can point me in the direction on some good articles that talk about double buffering I would greatly appreciate it. Thanks, Paul
masnu wrote:
Is there any way to save my memory bitmap or the memory DC so that I can Bit Blit it
Yes.
masnu wrote:
if anyone can point me in the direction on some good articles
Take a look here.
Best wishes, Hans
[CodeProject Forum Guidelines] [How To Ask A Question] [My Articles]