Trackbar color in c#

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
 
M

Mehdi

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top