views:

433

answers:

1

I have a TrackBar control on a TabPage inside a TabControl. The background of the TrackBar is being drawn in grey while the TabPage is being drawn as white. There is no way to set the BackColor property of the TrackBar to transparent, and I can't override the drawing because there is no DrawMode property for the TrackBar. What options do I have to make the TrackBar fit in? Why doesn't it support visual styles?

+1  A: 

You might want to look at the TransparentTrackBar project on CodePlex.

Phil Price
I was hoping to use built-in controls to keep dependencies down. I can't understand why the built-in control doesn't support visual styles.
Jon Tackabury