how to change the background and foreground of CSliderCtrl like Winamp
Printable View
how to change the background and foreground of CSliderCtrl like Winamp
Take a look at CSliderCtrlEx . It should give you some insight on how to do this.
sorry, I can not find the CSliderCtrlEx on my MSDN
You need to click the link I provided in the previous message.
ooooooooooh, i found it, thanks
i added the message of NM_CUSTOMDRAW in my class of CSliderButtom which inherit from CSliderCtrl, but i found the message did not happen.
in the project which you provided, i found the message happend when parent window run to OnPaint;
why?
Have you tried comparing the demo source that works with your code that does not?
i have solved, thanks
i can redraw background of the CSliderCtrl now,
but i do not how to redraw the slider.