Windows has two kinds of scroll bars. There are the "built-in" scroll bars that you get when you use the WS_HSCROLL and/or WS_VSCROLL window styles, and there are scroll bar controls, actual child windows you can create within a window.Here you need to handle "built-in" scroll bars and this job is messy.These two papers below could be helpful for you.http://msdn.microsoft.com/msdnmag/issues/01/11/c/default.aspx
http://www.codeproject.com/miscctrl/resizescrollbar.asp
http://www.codeproject.com/miscctrl/resizescrollbar.asp
谢谢你了。
有c#语言实现的吗?( :-( 我的c++不行)
我们以前研究了很长时间,各种方法都用尽了,结论是不可能,还是用的VC,C#就更不行了.
你们看看.NET自己的IDE就知道我说的是对的,那上面什么都是平的,就是滚动条是3D的.事实甚于雄辩.
希望大家不要在这上面花太多的时间.
http://www.codeproject.com/cs/miscctrl/FlatScrollBars.asp