5

I'm looking for a trackbar-like user/custom control to use in my .NET 2.0 WinForms app.

Note: I'm NOT asking how to control the volume in a WinForms app.

Anyone knows of a nice looking custom painted slider/trackbar control that could be used in my app to let user set the volume? (such as the ones used in multimedia apps)

Ideally, it should support vertical orientation.

TIA,

Serge Wautier
  • 21,494
  • 13
  • 69
  • 110

2 Answers2

6

There is an excellent C# tutorial on how to create your own custom trackbar over at CodeGuru:

http://www.codeguru.com/csharp/csharp/cs_controls/custom/article.php/c12101

The result looks very impressive, and because you are creating your own control you wouldn't have to worry about licensing a 3rd party control. Just make sure to follow the licensing for the sample code as well. :)

Jon Tackabury
  • 47,710
  • 52
  • 130
  • 168
  • Jon, thanks for the pointer. Not sure I have time to dive into it. Would have preferred a ready-to-use class. But it's certainly interesting a reading. – Serge Wautier Mar 10 '09 at 07:54
5

There's a TrackBar control, it's just a little hard to find it because it has no category on toolbar. Open "All Windows Forms". According to MSDN it has been there since .NET 1.0

Codeguard
  • 7,787
  • 2
  • 38
  • 41
  • Codeguard, thanks for your answer. I know of this control. I was looking for something that look more specifically like a volume slider/trackbar. – Serge Wautier Jul 04 '13 at 10:19