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. Desktop Icon text color

Desktop Icon text color

Scheduled Pinned Locked Moved C / C++ / MFC
questionhelp
5 Posts 2 Posters 1 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.
  • B Offline
    B Offline
    Bret Faller
    wrote on last edited by
    #1

    How can I find out what the color of the desktop icons' text is? It looks like GetSysColor won't do it. Any help is greatly appreciated. Bret Faller Odyssey Computing, Inc.

    RaviBeeR 1 Reply Last reply
    0
    • B Bret Faller

      How can I find out what the color of the desktop icons' text is? It looks like GetSysColor won't do it. Any help is greatly appreciated. Bret Faller Odyssey Computing, Inc.

      RaviBeeR Offline
      RaviBeeR Offline
      RaviBee
      wrote on last edited by
      #2

      The icon text color appears to be derived from the desktop background color. I think it's either black or white, depending on the desktop background. /ravi "There's always one more bug..." http://www.ravib.com ravib@ravib.com

      B 2 Replies Last reply
      0
      • RaviBeeR RaviBee

        The icon text color appears to be derived from the desktop background color. I think it's either black or white, depending on the desktop background. /ravi "There's always one more bug..." http://www.ravib.com ravib@ravib.com

        B Offline
        B Offline
        Bret Faller
        wrote on last edited by
        #3

        But how do I find out if its black or white? Also, there is a utility called SetTextColor made by Pact Software www.12ghosts.com which says they send a message to the desktop telling it to change the icon text color...how do they do that? Thanks. Bret Faller Odyssey Computing, Inc.

        1 Reply Last reply
        0
        • RaviBeeR RaviBee

          The icon text color appears to be derived from the desktop background color. I think it's either black or white, depending on the desktop background. /ravi "There's always one more bug..." http://www.ravib.com ravib@ravib.com

          B Offline
          B Offline
          Bret Faller
          wrote on last edited by
          #4

          Do you know how to get the hue/luminance of a color? That is what its based on. Thanks. Bret Faller Odyssey Computing, Inc.

          RaviBeeR 1 Reply Last reply
          0
          • B Bret Faller

            Do you know how to get the hue/luminance of a color? That is what its based on. Thanks. Bret Faller Odyssey Computing, Inc.

            RaviBeeR Offline
            RaviBeeR Offline
            RaviBee
            wrote on last edited by
            #5

            Maybe this will help: http://www.codeproject.com/bitmap/ccolor.asp /ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com

            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