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. Managed C++/CLI
  4. Icon color resolution

Icon color resolution

Scheduled Pinned Locked Moved Managed C++/CLI
c++csharpvisual-studiohelptutorial
3 Posts 3 Posters 5 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.
  • N Offline
    N Offline
    nasrin1984
    wrote on last edited by
    #1

    Dear Experts I am designing a c++\mfc program. I have a problem by the resolution of the icons in the designing procedure. When I open a designed icon, visual studio open it as 256 color image, however the original image has a higher resolution. Also, when I create a new icon visual studio sets its resolution as 16 colors. How I can open the icon as original resolution or increase the resolution of an icon? Please guide me to solve the problem. Bests

    L W 2 Replies Last reply
    0
    • N nasrin1984

      Dear Experts I am designing a c++\mfc program. I have a problem by the resolution of the icons in the designing procedure. When I open a designed icon, visual studio open it as 256 color image, however the original image has a higher resolution. Also, when I create a new icon visual studio sets its resolution as 16 colors. How I can open the icon as original resolution or increase the resolution of an icon? Please guide me to solve the problem. Bests

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      See http://msdn.microsoft.com/en-us/library/windows/desktop/aa511280.aspx#development[^], especially the note which states:Visual Studio doesn't support Windows Vista icons (there is no support for alpha channel or more than 256 colors), so its use is not recommended. .

      Veni, vidi, abiit domum

      1 Reply Last reply
      0
      • N nasrin1984

        Dear Experts I am designing a c++\mfc program. I have a problem by the resolution of the icons in the designing procedure. When I open a designed icon, visual studio open it as 256 color image, however the original image has a higher resolution. Also, when I create a new icon visual studio sets its resolution as 16 colors. How I can open the icon as original resolution or increase the resolution of an icon? Please guide me to solve the problem. Bests

        W Offline
        W Offline
        WuRunZhe
        wrote on last edited by
        #3

        That's not problem. When you using your icon resource from source, there is not resolution problem occurred. You can load your icon resource from files with LoadIcon function. You can see details from MSDN. That's all. :)

        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