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. Icon Question

Icon Question

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

    In a multi resolution icon file i.e. WinXP icons, how can one determine that the icon is really a multi resolution and then how can one extract a specific resolution to add in an Image list. I have several icons, with various sizes and color depths, I would like to build different size Imagelists for a toolbar.

    D 1 Reply Last reply
    0
    • M mango_lier

      In a multi resolution icon file i.e. WinXP icons, how can one determine that the icon is really a multi resolution and then how can one extract a specific resolution to add in an Image list. I have several icons, with various sizes and color depths, I would like to build different size Imagelists for a toolbar.

      D Offline
      D Offline
      Dennis Gourjii
      wrote on last edited by
      #2

      Image list does it automatically, I think. Just get that icon with all the resolutions it has and then add it to your image list. It will pick a necessary resolution (i.e. the one you set) and add a single-resolution version of that icon.

      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