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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Toolbar Image

Toolbar Image

Scheduled Pinned Locked Moved C#
csharpvisual-studioquestion
5 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.
  • K Offline
    K Offline
    Kamrul Hasan
    wrote on last edited by
    #1

    I tried using the toolbar of VS.NET. And found that, it does not show the alpha region of the icons perfectly. I have tried using maximum color depth in the imagelist that was associated with the toolbar, and also tried using PNG images. Nither of my approaches succeded :( Is there any way to show the icons perfectly ?? thanks in advance.

    S L 2 Replies Last reply
    0
    • K Kamrul Hasan

      I tried using the toolbar of VS.NET. And found that, it does not show the alpha region of the icons perfectly. I have tried using maximum color depth in the imagelist that was associated with the toolbar, and also tried using PNG images. Nither of my approaches succeded :( Is there any way to show the icons perfectly ?? thanks in advance.

      S Offline
      S Offline
      Sasuko
      wrote on last edited by
      #2

      are your png real 32bit files? Sometime (it is a visual studio bug) it doesn't work, you have to delete all these image from the imagelist and reload them all in the same time. Other bug become if you use not good png images. That is you have to make much attention at antialising your image when you draw it in your graphic program, i advice you to don't use much antialising. Make me to know.

      K 1 Reply Last reply
      0
      • S Sasuko

        are your png real 32bit files? Sometime (it is a visual studio bug) it doesn't work, you have to delete all these image from the imagelist and reload them all in the same time. Other bug become if you use not good png images. That is you have to make much attention at antialising your image when you draw it in your graphic program, i advice you to don't use much antialising. Make me to know.

        K Offline
        K Offline
        Kamrul Hasan
        wrote on last edited by
        #3

        I am using 32bit PNGs. and also tried reloading the images but that did not work :(

        S 1 Reply Last reply
        0
        • K Kamrul Hasan

          I am using 32bit PNGs. and also tried reloading the images but that did not work :(

          S Offline
          S Offline
          Sasuko
          wrote on last edited by
          #4

          so try to redraw these images using not strong antialising

          1 Reply Last reply
          0
          • K Kamrul Hasan

            I tried using the toolbar of VS.NET. And found that, it does not show the alpha region of the icons perfectly. I have tried using maximum color depth in the imagelist that was associated with the toolbar, and also tried using PNG images. Nither of my approaches succeded :( Is there any way to show the icons perfectly ?? thanks in advance.

            L Offline
            L Offline
            Luis Alonso Ramos
            wrote on last edited by
            #5

            See this article: http://www.codeproject.com/cs/miscctrl/AlphaImageImagelist.asp[^] -- LuisR


            Luis Alonso Ramos Intelectix - Chihuahua, Mexico Not much here: My CP Blog!

            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