• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 298
  • Last Modified:

Need to customize scroll bars for Panel control and other controls in a WinForm application

I would like to customize the scroll bars for the standard Panel control in a VB.NET WinForms application. If possible, I would also like to customize the scroll bars for other standard controls and a third-party grid control. In particular, I need to decrease the width of the scroll bars; optionally I would also like to make them flat rather than 3D.
0
williamlowe
Asked:
williamlowe
  • 2
1 Solution
 
toddhdCommented:
I don't have any example code yet, but I believe what you would need to do is override the Paint() event in the control, and redraw the scrollbars yourself. There are several good articles on the web about how to do this. I haven't seen any specifically about the scrollbars, but typically they might describe how to draw rounded corners on a form, etc.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconoverridingpaintevent.asp
http://www.codeproject.com/cs/miscctrl/ThemedExplorerControls.asp
0
 
toddhdCommented:
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now