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. Bitmap to Icon

Bitmap to Icon

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

    Hi, I'd like to be giving constant feedback of the operation of my program to the user via the icon in the status area. This will require manipulating the actual pixels in the icon image. Is there any way to write to a bitmap and then load THAT as the icon, or.. what is the best way to go about doing this? Thanks, - Jason (SonorkID 100.611) The Code Project - Orange makes the art grow fonder

    B 1 Reply Last reply
    0
    • J Jason Hooper

      Hi, I'd like to be giving constant feedback of the operation of my program to the user via the icon in the status area. This will require manipulating the actual pixels in the icon image. Is there any way to write to a bitmap and then load THAT as the icon, or.. what is the best way to go about doing this? Thanks, - Jason (SonorkID 100.611) The Code Project - Orange makes the art grow fonder

      B Offline
      B Offline
      Baris Kurtlutepe
      wrote on last edited by
      #2

      You can use the CreateIcon function in the API to dynamically create icons and then put the handle into notifyicondata... But if the 'feedback' is not going to be relatively frequent, I'd recommend using balloon tips over the systray icon instead. They're much nicer imho.

      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