468,321 Members | 1,820 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,321 developers. It's quick & easy.

Trackbar color in c#

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
Mar 31 '06 #1
1 6828
On Fri, 31 Mar 2006 01:29:02 -0800, Kris wrote:
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)
Mar 31 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by AtlasApollo | last post: by
reply views Thread by RuffAroundTheEdges | last post: by
4 posts views Thread by Bernie Yaeger | last post: by
3 posts views Thread by Sakharam Phapale | last post: by
reply views Thread by Johnny Jörgensen | last post: by
2 posts views Thread by Johnny Jörgensen | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by howard w | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.