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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Device Context

Device Context

Scheduled Pinned Locked Moved C / C++ / MFC
questionperformance
3 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.
  • E Offline
    E Offline
    eldar_2001
    wrote on last edited by
    #1

    I'm new to programming so I don't know much. How do I get a pointer to an in-memory device context if I want to move that area to another place, I don't mean bitblt and bitbltting to another dc but a portion of memory which I can operate on? Thanks

    A 1 Reply Last reply
    0
    • E eldar_2001

      I'm new to programming so I don't know much. How do I get a pointer to an in-memory device context if I want to move that area to another place, I don't mean bitblt and bitbltting to another dc but a portion of memory which I can operate on? Thanks

      A Offline
      A Offline
      Anonymous
      wrote on last edited by
      #2

      you will have to get the dc from which you can get a bitmap and from the bitmap the LPBYTES ,if you want to do sme fancy work do it with these bytes then convert them in to bitmap and use them

      E 1 Reply Last reply
      0
      • A Anonymous

        you will have to get the dc from which you can get a bitmap and from the bitmap the LPBYTES ,if you want to do sme fancy work do it with these bytes then convert them in to bitmap and use them

        E Offline
        E Offline
        eldar_2001
        wrote on last edited by
        #3

        Can you provide a sample code?

        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