Change scrollbar color?
-
Hi, using VB .NET 2005, we have a ListView control and sometimes when there is no space left, scrollbars appears. What we need to do is to change the color of the scrollbars. For example to make them red. Any idea on how to do that ? nink
There are no properties for the scrollbars in the standard controls. They render themselves using the colors define in the Display Properties control panel, under the Appearance tab. You can replace the control's scrollbar with your own custom implementation, but is it really worth it??[^]
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
Hi, using VB .NET 2005, we have a ListView control and sometimes when there is no space left, scrollbars appears. What we need to do is to change the color of the scrollbars. For example to make them red. Any idea on how to do that ? nink
Not sure if this is overkill, but this article may help: http://www.codeproject.com/vb/net/corescrollbar.asp?df=100&forumid=80820&exp=0&select=1044731[^]
Pete Soheil DigiOz Multimedia http://www.digioz.com