Announcement

Collapse
No announcement yet.

Icon

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Icon

    How do I grey out an icon so it appears disabled? Icon loaded from LoadImageA or ExtractIconEx.

  • #2
    I'm working on a plugin which will allow you to render to a control and to images. With this plugin, you'll be able to render the extracted icon to a new 32-bits alpha image by using an included greyscale filter. You'll then have an extra icon you can use in black and white.

    I'll be releasing this plug in about three weeks, until then, you could look at this code to think of a solution: http://www.codeguru.com/cpp/g-m/bitm...yscaleIcon.htm
    Bas Groothedde
    Imagine Programming :: Blog

    AMS8 Plugins
    IMXLH Compiler

    Comment


    • #3
      thanks :yes

      Comment


      • #4
        you can use DrawState function

        this is used to draw disabled state of items such as , disabled menu items , icons ,tool bars etc..
        amsplugins.com Is Closed.

        Facebook Page

        Comment


        • #5
          ^^ thanks, I knew there had to be a specific function for this :yes

          Comment


          • #6
            Originally posted by reteset View Post
            you can use DrawState function

            this is used to draw disabled state of items such as , disabled menu items , icons ,tool bars etc..
            Nice one, that's the one!
            Bas Groothedde
            Imagine Programming :: Blog

            AMS8 Plugins
            IMXLH Compiler

            Comment

            Working...
            X