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. capture Bitmap

capture Bitmap

Scheduled Pinned Locked Moved C / C++ / MFC
helpgraphicsquestion
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.
  • J Offline
    J Offline
    jeremysay
    wrote on last edited by
    #1

    hello, i have a little problem when i want to capture bitmap. I work in MDI project, i want to capture a view in Childwindow. I can capture the view and save it in bmp file,It's work fine. But if i my app is not in the foreground i capture a bitmap of the foreground app. How can capture a bitmap of a view wich is not in the foreground (minized,or background) ?? thx for your help Excuse for bad english

    J 1 Reply Last reply
    0
    • J jeremysay

      hello, i have a little problem when i want to capture bitmap. I work in MDI project, i want to capture a view in Childwindow. I can capture the view and save it in bmp file,It's work fine. But if i my app is not in the foreground i capture a bitmap of the foreground app. How can capture a bitmap of a view wich is not in the foreground (minized,or background) ?? thx for your help Excuse for bad english

      J Offline
      J Offline
      J Dunlap
      wrote on last edited by
      #2

      You do this by hiding your window, capturing the picture, and then showing your window again.

      "Do unto others as you would have them do unto you." - Jesus
      "An eye for an eye only makes the whole world blind." - Mahatma Gandhi

      J 1 Reply Last reply
      0
      • J J Dunlap

        You do this by hiding your window, capturing the picture, and then showing your window again.

        "Do unto others as you would have them do unto you." - Jesus
        "An eye for an eye only makes the whole world blind." - Mahatma Gandhi

        J Offline
        J Offline
        jeremysay
        wrote on last edited by
        #3

        thx for your answer ! there isn't another solution? there is not good if i must hide the app in foreground to capture the bitmap and show the app again.

        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