更改滚动条的宽度
我正在开发一个触摸屏程序。我正在使用 c# 和 Visual studio 2008。有什么方法可以更改滚动条的宽度吗?我知道我可以更改 Windows 的显示属性。但我只想在我的程序中而不是在完整的系统中。谢谢你的帮助!
I am working on a program for touchscreens. I am using c# and Visual studio 2008. Is there any way to change the width of the scrollbars? I know that i can change in Display Properties of Windows. But i only want in my programm not in the complete system. Thanks for ya help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
看看这个:
Winforms - 调整 CheckedListBox 上垂直滚动条的宽度
也值得一提:
.NET Compact Framework - 让滚动条更宽
相同,但这次通过使用滚动条控件提供了更好的解决方案:
更改滚动条的宽度
中的另一个那家伙教如何创建自己的滚动条控件(有趣):
设置 DataGridView 的滚动条宽度
最后一个(值得尝试):
有没有办法获取 ListView 控件的滚动条高度和宽度
Check this out:
Winforms - Adjust width of vertical scrollbar on CheckedListBox
Worth mentioning too:
.NET Compact framework - make scrollbars wider
More of the same, but this time with a better solution through the use of the scrollbar control:
Change the width of a scrollbar
Another one in which the guy teaches how to create your own scrollbar control (interesting):
Set the Scrollbar width of a DataGridView
The last one (worth trying):
Is there a way to get the scrollbar height and width for a ListView control
最简单的方法是在表单/控件的控件集合中搜索滚动条实例,然后简单地更新宽度值。
这适用于带有 dot net 紧凑框架的 Windows CE
The easiest way would be to search for scrollbar instances in the form/control's controlcollection and then simply update the width value.
This works on Windows CE with dot net compact framework