即可以自定义滚动条的各个部分的颜色和 Flat风格!
在《Windows优化大师》,《金山毒霸》中都有这个效果!

解决方案 »

  1.   

    都是自己画的,派生的类带有ownerdraw风格
      

  2.   

    都是自己画的,派生的类带有ownerdraw风格?
    可是这是IE的新增特性,应该有什么接口提供给程序员的!就像Shevron特性一样呀!
    To JennyVenus(一袋烟后老汉绕村后的老槐树三圈有感) 
     自己画需要处理一些鼠标消息,重要得是在用的时候于EditBox,ListBox等控件结合还是非常繁琐的。
      

  3.   

    FLAT SCROLL BAR 在MSDN上有很详细的参考.以下为一组函数
      InitializeFlatSB
      FlatSB_EnableScrollBar
      FlatSB_GetScrollInfo
      ...
      FlatSB_ShowScrollBar
      UninitializeFlatSB请自行参考MSDN
      

  4.   

    Many thanks to atEleven2002.
    The idea you given works.However I still have 2 points puzzling.
    (1)
        When I click on the Thumb Button ,the direction Button  still gets a 3D look.
    And that's ugly!
    (2)
        Whenever I drag the direction button down from the top ,it goes to the top 
    immediately.But in the normal way,it should stay where it is.
    I refer the infomation supplied in the MSDN ,however the answers remain unsolved!
      

  5.   

    自己画?
    InitializeFlatSB() is fit for the job.However I want to know some detail setting 
    for this series of functions.
      

  6.   

    重载CScrollBar然后设置OWNERDRAW风格