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. How to show transparent image (a .png or .gif file ) in MFC

How to show transparent image (a .png or .gif file ) in MFC

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

    Hi Developers, I am developing a MDI based application. I want to show a transparent image. I have used Microsoft Activx Picture Control 2.0. But it's not showing the image transparently, it's coming with a gray background. In MFC picture controls is not supporting PNG image. Can anyone help me to do it. Thanks In Advance. Amrit Agrawal, Mumbai.

    E 1 Reply Last reply
    0
    • A Amrit Agr

      Hi Developers, I am developing a MDI based application. I want to show a transparent image. I have used Microsoft Activx Picture Control 2.0. But it's not showing the image transparently, it's coming with a gray background. In MFC picture controls is not supporting PNG image. Can anyone help me to do it. Thanks In Advance. Amrit Agrawal, Mumbai.

      E Offline
      E Offline
      Eugen Podsypalnikov
      wrote on last edited by
      #2

      Try it[^] in your own control's rendering... :)

      They sought it with thimbles, they sought it with care; They pursued it with forks and hope; They threatened its life with a railway-share; They charmed it with smiles and soap. :)

      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