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. PNG files

PNG files

Scheduled Pinned Locked Moved C / C++ / MFC
c++helptutorial
3 Posts 3 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.
  • D Offline
    D Offline
    dSolariuM
    wrote on last edited by
    #1

    Hi all, I have problem with showing png files in mfc. I've used CImage::Draw function and CDC::AlphaBlend function but they don't work perfectly. Please someone tell me how to draw a png file (with transparent background) perfectly... Thank you.

    Every new thing you learn,Gives you a new personality.

    H C 2 Replies Last reply
    0
    • D dSolariuM

      Hi all, I have problem with showing png files in mfc. I've used CImage::Draw function and CDC::AlphaBlend function but they don't work perfectly. Please someone tell me how to draw a png file (with transparent background) perfectly... Thank you.

      Every new thing you learn,Gives you a new personality.

      H Offline
      H Offline
      Hamid Taebi
      wrote on last edited by
      #2

      Did you try? CImage m; m.Load(...); m.BitBlt(0,0,640,480);

      Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )

      1 Reply Last reply
      0
      • D dSolariuM

        Hi all, I have problem with showing png files in mfc. I've used CImage::Draw function and CDC::AlphaBlend function but they don't work perfectly. Please someone tell me how to draw a png file (with transparent background) perfectly... Thank you.

        Every new thing you learn,Gives you a new personality.

        C Offline
        C Offline
        Cedric Moonen
        wrote on last edited by
        #3

        Take a look at CxImage[^]

        Cédric Moonen Software developer
        Charting control [v1.5] OpenGL game tutorial in C++

        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