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. How to change text color letter by letter

How to change text color letter by letter

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialcsharpvisual-studio
5 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.
  • J Offline
    J Offline
    Jared F
    wrote on last edited by
    #1

    I've researched this topic on my compiler, microsoft visual studio, and I've done everything that the tutorial said to do, but I can't get it to work. i want to have colors cycling through each of the letters in a certain sentence, lets say..."hello." I'd want two or three colors to cycle left to right at a certain interval in which I set. the tutorial said I have to set some sort of table or something. thanks. dudeoffrance

    D 1 Reply Last reply
    0
    • J Jared F

      I've researched this topic on my compiler, microsoft visual studio, and I've done everything that the tutorial said to do, but I can't get it to work. i want to have colors cycling through each of the letters in a certain sentence, lets say..."hello." I'd want two or three colors to cycle left to right at a certain interval in which I set. the tutorial said I have to set some sort of table or something. thanks. dudeoffrance

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Is this even close to what you are after?


      "Ideas are a dime a dozen. People who put them into action are priceless." - Unknown

      J 1 Reply Last reply
      0
      • D David Crow

        Is this even close to what you are after?


        "Ideas are a dime a dozen. People who put them into action are priceless." - Unknown

        J Offline
        J Offline
        Jared F
        wrote on last edited by
        #3

        close enough. That would be good too. But i was looking for being able to change each letter's color, but that would be nice too. dudeoffrance

        D 1 Reply Last reply
        0
        • J Jared F

          close enough. That would be good too. But i was looking for being able to change each letter's color, but that would be nice too. dudeoffrance

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          dudeoffrance wrote: But i was looking for being able to change each letter's color... Isn't that what the snippet I showed achieved? :confused:


          "Ideas are a dime a dozen. People who put them into action are priceless." - Unknown

          J 1 Reply Last reply
          0
          • D David Crow

            dudeoffrance wrote: But i was looking for being able to change each letter's color... Isn't that what the snippet I showed achieved? :confused:


            "Ideas are a dime a dozen. People who put them into action are priceless." - Unknown

            J Offline
            J Offline
            Jared F
            wrote on last edited by
            #5

            when i try to open it it wont show me whatever you have in mind, but if you know how to change each colors letter, please tell me how. It would be greatly appreciated. dudeoffrance

            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