Click here to Skip to main content
Click here to Skip to main content

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 -->

    Introduction

    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.

    License

    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

    Share

    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

    Comments and Discussions

     
    GeneralMy vote of 1 PinmemberVu H. Pham1-Dec-09 18:35 

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

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

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