Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Saving DC Bitmap

Saving DC Bitmap

Scheduled Pinned Locked Moved C / C++ / MFC
cssgraphicsperformancequestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    masnu
    wrote on last edited by
    #1

    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

    H 1 Reply Last reply
    0
    • M masnu

      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

      H Offline
      H Offline
      Hans Dietrich
      wrote on last edited by
      #2

      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]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups