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

Posted on 2004-11-04
Last Modified: 2012-05-05
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.
Question by:williamlowe
    LVL 8

    Expert Comment

    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.
    LVL 8

    Accepted Solution


    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
    If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now