操作系统:Windows 7
软件环境:Visual C++ 2008 SP1
本次目的:为滑动控件设置背景透明

      经常在编写有背景的程序时,滑动控件Slider Control看起来与背景十分不合,我们可以从CSliderCtrl派生自己的类出来,以实现这个功能。下面是效果图:

VC 透明滑动控件Slider Control

所参考的资料来自:http://dev.yesky.com/179/2284679.shtml 
派生类下载:http://download.csdn.net/source/1851812

 

使用时,添加滑动控件后,为其添加控件变量,然后将其改为如下:

  1. CmySliderControl m_slider1;  

 

相关文章:

  • 2021-07-28
  • 2022-12-23
  • 2022-03-08
  • 2021-10-23
  • 2021-10-28
  • 2022-01-05
  • 2022-02-19
  • 2021-11-21
猜你喜欢
  • 2021-10-26
  • 2022-12-23
  • 2021-08-07
  • 2021-09-22
  • 2021-05-27
  • 2021-08-22
相关资源
相似解决方案