Click here to Skip to main content
Licence 
First Posted 1 Oct 2000
Views 39,839
Bookmarked 8 times

An RGB chooser dialog

By | 1 Oct 2000 | Article
A simple color chooser dialog that uses slifer controls to allow the user to combine different RGB values
  • Download source files - 37 Kb
  • Sample Image - ColorDlg.gif

    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

    About the Author

    Masoud Samimi

    Technical Lead
    Samimi Information Technology
    United Arab Emirates United Arab Emirates

    Member

    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

    Sign Up to vote   Poor Excellent
    Add a reason or comment to your vote: x
    Votes of 3 or less require a comment

    Comments and Discussions

     
    You must Sign In to use this message board. (secure sign-in)
     
    Search this forum  
     FAQ
        Noise  Layout  Per page   
      Refresh
    GeneralMy vote of 1 PinmemberVu H. Pham17:35 1 Dec '09  

    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.

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