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 have more basic colors for choosing in color dialog? [modified]

How to have more basic colors for choosing in color dialog? [modified]

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
12 Posts 5 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.
  • F followait

    By default there are 8x6 colors for choosing. How to make it more? This is the need of the customers, they would like the program be easy to use. If it is not easy, I'd like to make one myself, but I can't decide how to choose and put colors so that it can look a little good.

    modified on Friday, February 01, 2008 12:21:50 PM

    M Offline
    M Offline
    Mark Salsbery
    wrote on last edited by
    #3

    Pretty vague question :) Are you referring to the "color dialog box" common dialog? If so, then like any other dialog, if you need additional functionality you can write your own. Mark

    Mark Salsbery Microsoft MVP - Visual C++ :java:

    F 1 Reply Last reply
    0
    • L led mike

      followait wrote:

      By default there are 8x6 colors for choosing.

      No

      followait wrote:

      they would like the program be easy to use.

      And using more than 48 colors makes the program easy to use? Wow, are they brain dead?

      led mike

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #4

      Especially since it lets the user pick one of 2^24 colors :)

      Mark Salsbery Microsoft MVP - Visual C++ :java:

      1 Reply Last reply
      0
      • F followait

        By default there are 8x6 colors for choosing. How to make it more? This is the need of the customers, they would like the program be easy to use. If it is not easy, I'd like to make one myself, but I can't decide how to choose and put colors so that it can look a little good.

        modified on Friday, February 01, 2008 12:21:50 PM

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

        followait wrote:

        By default there are 8x6 colors...

        There are 48 basic colors, but there are 2563 total colors.

        "Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

        "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

        F 1 Reply Last reply
        0
        • M Mark Salsbery

          Pretty vague question :) Are you referring to the "color dialog box" common dialog? If so, then like any other dialog, if you need additional functionality you can write your own. Mark

          Mark Salsbery Microsoft MVP - Visual C++ :java:

          F Offline
          F Offline
          followait
          wrote on last edited by
          #6

          Mark Salsbery wrote:

          Are you referring to the "color dialog box" common dialog?

          Yes. The number of basic colors seems not changable. I think I should implement one.

          1 Reply Last reply
          0
          • L led mike

            followait wrote:

            By default there are 8x6 colors for choosing.

            No

            followait wrote:

            they would like the program be easy to use.

            And using more than 48 colors makes the program easy to use? Wow, are they brain dead?

            led mike

            F Offline
            F Offline
            followait
            wrote on last edited by
            #7

            led mike wrote:

            No

            I mean 'basic color' in the title.

            1 Reply Last reply
            0
            • D David Crow

              followait wrote:

              By default there are 8x6 colors...

              There are 48 basic colors, but there are 2563 total colors.

              "Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

              "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

              F Offline
              F Offline
              followait
              wrote on last edited by
              #8

              Sure. The key is when the customer is choosing a color for background, a set of well-selected colors may be better than all here.

              M 1 Reply Last reply
              0
              • F followait

                By default there are 8x6 colors for choosing. How to make it more? This is the need of the customers, they would like the program be easy to use. If it is not easy, I'd like to make one myself, but I can't decide how to choose and put colors so that it can look a little good.

                modified on Friday, February 01, 2008 12:21:50 PM

                M Offline
                M Offline
                Mr Surprise
                wrote on last edited by
                #9

                What a question!

                1 Reply Last reply
                0
                • F followait

                  Sure. The key is when the customer is choosing a color for background, a set of well-selected colors may be better than all here.

                  M Offline
                  M Offline
                  Mark Salsbery
                  wrote on last edited by
                  #10

                  Heh yeah, but if you put 1000 basic colors, I bet you still won't have my favorite blue. How do you decide how many is enough? :) Mark

                  Mark Salsbery Microsoft MVP - Visual C++ :java:

                  L 1 Reply Last reply
                  0
                  • M Mark Salsbery

                    Heh yeah, but if you put 1000 basic colors, I bet you still won't have my favorite blue. How do you decide how many is enough? :) Mark

                    Mark Salsbery Microsoft MVP - Visual C++ :java:

                    L Offline
                    L Offline
                    led mike
                    wrote on last edited by
                    #11

                    Mark Salsbery wrote:

                    Heh yeah

                    "Yeah"? You understood that? Can you translate it for me?

                    followait wrote:

                    The key is when the customer is choosing a color for background, a set of well-selected colors may be better than all here.

                    and what about this one?

                    followait wrote:

                    but I can't decide how to choose and put colors so that it can look a little good.

                    led mike

                    M 1 Reply Last reply
                    0
                    • L led mike

                      Mark Salsbery wrote:

                      Heh yeah

                      "Yeah"? You understood that? Can you translate it for me?

                      followait wrote:

                      The key is when the customer is choosing a color for background, a set of well-selected colors may be better than all here.

                      and what about this one?

                      followait wrote:

                      but I can't decide how to choose and put colors so that it can look a little good.

                      led mike

                      M Offline
                      M Offline
                      Mark Salsbery
                      wrote on last edited by
                      #12

                      That should have been... "*snicker* [sarcasm]yeah[/sarcasm]" Damn you text, and your lack of emotion...

                      Mark Salsbery Microsoft MVP - Visual C++ :java:

                      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