Question : I need to change the color of a DataGridView scrollbar in C# WinForms

I need to paint a scrollbar from a DataGridView in C# WinForms.

Can anyone show me how?

Thanks,
newbieweb

Answer : I need to change the color of a DataGridView scrollbar in C# WinForms

I believe you need to change the color of the scroll bar isnt it?
Things you could do:
1: You can get hold of SB by accessing grid's Controls property, then try changing it's color. Not sure it would work though as grid might restore the color.
2: This problem is not easy as it seems to be, and I think a practical solution is to use skinned ScrollBars to replace the original ScrollBars.
Here is a sample of how to skin ScrollBars for Panels, and it should be similar to do the same thing in DataGridView.
http://www.codeproject.com/cs/miscctrl/customscrollbar.asp
3: try http://www.codeproject.com/Messages/3259958/Re-Changing-the-colour-of-scroll-bar.aspx
Random Solutions  
 
programming4us programming4us