I asked this over at StackOverflow and someone suggested I try here, so...This program uses winforms and c# (no wpf). I have a panel with buttons on it and getting it to scroll is no problem. However, when the program is on a hi-resolution touch screen -- like a Surface 7 -- trying to touch in the exact right spot to get it to scroll is hit and miss. I've searched and have yet to find a way to make the grab area (so to speak) of a vertical scroll bar wider so that when you touch the screen, the control actually picks up the event. Any ideas on how to do this?
Asked
Active
Viewed 463 times
-1
-
2That's definitely a Stack Overflow question. – spikey_richie Feb 06 '20 at 14:38
-
Your question is explicitly out of scope. You need to edit your Stack Overflow question so it can be reopened – Security Hound Feb 06 '20 at 17:12
-
Does this answer your question? [Change width of scrollbars](https://stackoverflow.com/questions/4593915/change-width-of-scrollbars) – software is fun Feb 06 '20 at 19:28
1 Answers
0
This can be a super user question if youre looking for a tool to make it wider for all apps because it could be considered as an accessibility.
If you're writing an app
Vertical Scroll Bar Width
System.Windows.Forms.SystemInformation.VerticalScrollBarWidth;
Horizontal Scroll Bar Width
System.Windows.Forms.SystemInformation.HorizontalScrollBarHeight;
Duplicate of Change width of scrollbars

software is fun
- 7,286
- 18
- 71
- 129
-
You may need to write your own control that inherits from one of these classes or use a ready made solution. https://www.infragistics.com/help/winforms/styling-guide-scrollbar-resizing – software is fun Feb 06 '20 at 19:25
-
Wasn't me. My guess would be because you didn't really answer the question. – LarsTech Feb 06 '20 at 22:11
-
@LarsTech I didn't see anyone else comment or add information to help you. It's weird. Click the link that has the duplicate question. It should help you. I think you may end up creating your own control or using a 3rd party. You can also consider Wpf. You can try to host a WinForm control in your Wpf app (https://learn.microsoft.com/en-us/dotnet/framework/wpf/advanced/walkthrough-hosting-a-windows-forms-control-in-wpf) – software is fun Feb 07 '20 at 01:58
-