Search code examples
c#winformscustomizationscrollbars

How to create a FlatScrollBar


Microsoft VB6 (Visual Basic 6) had a FlatScrollBar Control. I was terribly devastated not to find any such implementation in C#.

enter image description here

I humbly ask to my fellow C# developers and Windows Forms gurus if this feat is achievable in C# or not ? I thank any reply or insight into this matter in advance.


Solution

  • Support for flat scrollbars has been removed from the Windows common controls version 6. It is only available in the legacy version. Which means you cannot have visual styles at the same time as flat scrollbars. Google InitializeFlatSB, you might find somebody that thought the flat bars were more important. I rather doubt it.