Click here to Skip to main content
13,092,310 members (58,091 online)
Click here to Skip to main content
Add your own
alternative version


8 bookmarked
Posted 1 Oct 2000

An RGB chooser dialog

, 1 Oct 2000
Rate this:
Please Sign up or sign in to vote.
A simple color chooser dialog that uses slifer controls to allow the user to combine different RGB values
<!-- Download Links -->
  • Download source files - 37 Kb
  • <!-- Article image -->

    Sample Image - ColorDlg.gif

    <!-- Main HTML starts here -->


    This RGB Color dialog enables the user to change the color with Red, Green and Blue components using the slider control from values 0 to 255, mix them with different values to get new custom colors as desired. It also reports the values of each color component to the user through the text edit boxes as they change value in respond to the sliders' values.

    The Sample Application

    The sample MFC program demontrates the use of this dialog to change the back color of the view to the one selected in the RGB Color dialog.


    This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

    A list of licenses authors might use can be found here


    About the Author

    Masoud Samimi
    Technical Lead Samimi Information Technology
    United Arab Emirates United Arab Emirates
    My company provides services in the fields of:

    LAN/WAN Networking
    Data Management and Security
    Data Recovery
    ERP/CRM Solutions
    IT Infrastructure Solutions
    Software/Hardware Sales/Service

    You may also be interested in...

    Comments and Discussions

    GeneralMy vote of 1 Pin
    Vu H. Pham1-Dec-09 17:35
    memberVu H. Pham1-Dec-09 17:35 

    General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

    Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

    Permalink | Advertise | Privacy | Terms of Use | Mobile
    Web03 | 2.8.170813.1 | Last Updated 2 Oct 2000
    Article Copyright 2000 by Masoud Samimi
    Everything else Copyright © CodeProject, 1999-2017
    Layout: fixed | fluid