Trackbar color in c#

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi.

We are developing an application in VS2005 in C#, .NET, that has lots of
tabs. On one of these tabs, there is a horizontal trackbar.
However, we are unable to set the background color of the trackbar to
trasparent.
The best would by transparent . Becouse the tabs are gradiently colored. It
should work on standard windows XP theme.
In that, the color fades from RGB 252-252-254 to 244-243-238.
Why VS2005 says that trasparent is invalid? Why isn't it possible to set,
when the original Windows UI has it? For example the Resolution settings in
Display Properties is exactly the way we want it. Were the creators of VS2005
lazy?

Thanks for help.

Chris
 
We are developing an application in VS2005 in C#, .NET, that has lots of
tabs. On one of these tabs, there is a horizontal trackbar.
However, we are unable to set the background color of the trackbar to
trasparent.

No. The TrackBar control supplied for the .NET Fx does not support
transparency. You can either develop your own trackbar control or use this
one for example: http://dotnetrix.co.uk/ (click Controls then scroll down
to TrackBar)
 
Back
Top