I have WinForms application with scroll bar controls, I need to change the appearance of these scrollbars.
Is there any way to do it except creating scroll bar control from scratch? I cannot use WPF because targeting .NET 2.0.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From what I remember the only way to do something like this would be to inherit from the standard control and then override OnPaint() method.
In .NET 2.0 it wasn’t possible to do it any other way.
In case you change your mind and decide to go down the custom control path here is a great example from CodeProject > http://www.codeproject.com/Articles/14801/How-to-skin-scrollbars-for-Panels-in-C
Hope this helps.