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

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

Introduction

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 Smile | :)

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

Siavash

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

Comments and Discussions

 
QuestionThis is a tool? PinmemberRavi Bhavnani31-Jul-04 14:00 
GeneralNot to discourage you but... PinmemberNitron16-May-03 3:01 

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 | Mobile
Web04 | 2.8.140814.1 | Last Updated 16 May 2003
Article Copyright 2003 by Siavash
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid