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.
williamloweAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.