Slider background
-
How can I change the look of the boring slider-control? (background color, background bitmap, foreground color, foreground bitmap, transparency, etc) Øyvind
Hi 1. Add a Slider to your App 2. Add a New Class with Class Wizard derived from CSliderCtrl 3. Again with the class Wizard and A member variable for your control mapping it to your NewSlider Class 4 Edit your New Slider Class 's OnPaint function To Change The ThumbRect, SliderChannel, Background etc, 5, Add a KillFocus function and Add Invalidate(TRUE); You can change the shape, color and size of the thumbrect as it moves along the slider, or you can make the sliderchannel pulse with movement Or you could animate the thumb control when clicked by the mouse The options are only limited by the aesthetics Regardz