Click here to Skip to main content
12,754,391 members (35,402 online)
Click here to Skip to main content
Add your own
alternative version


19 bookmarked
Posted 15 May 2003

RGB Slider

, 15 May 2003
Rate this:
Please Sign up or sign in to vote.
OwnerDraw Slider, Bitmap DC , Color Frame

Sample Image - My_Slider.jpg


This is my first article and I jope you enjoy it. I wrote this with VC++.NET.

Brief description of Classes

  • _CMySlider class

    It's a class for graphical slider that has a gradient, and a little look like the photoshop RGB sliders.

  • _CColorFrame class

    This class is for previewing the color that you created.

  • CBitmapDC class

    Oh I like this one. It's one of the more useful class . I use this class to get smooth and fast drawing.

How it works

  • I created three sliders and a staticbox on my dialogbox.
  • Added three CCtrlSlider variables for the sliders and CStatic for staticbox.
  • Changed CCtrlSlider to _CMySlider and CStatic to _CColorFrame.
  • That's all :-)


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

Iran (Islamic Republic of) Iran (Islamic Republic of)
No Biography provided

You may also be interested in...

Comments and Discussions

QuestionThis is a tool? Pin
Ravi Bhavnani31-Jul-04 15:00
memberRavi Bhavnani31-Jul-04 15:00 
GeneralNot to discourage you but... Pin
Nitron16-May-03 4:01
memberNitron16-May-03 4:01 

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
Web02 | 2.8.170217.1 | Last Updated 16 May 2003
Article Copyright 2003 by Siavash
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid