Hi,
After a fruitless half hour or so of searching on google and MSDN I'm at a loss. I'm trying to implement a radial control in C# - to make things worse, I'm not even sure it's called that.
What I'm after is something that looks like a hi-fi radio tuner or volume knob.
My first thought was to mix a standard slider control with a circle; when the slider is turned, the control has a higher value. Only problem there is that a slider is left to right only, so not really what I'm after (I need a circular motion not l->r)
Next thought is to just draw the damned thing using System.Drawing and intercept mouse events to redraw a line when it's clicked on the dial. That would possibly work, but would be somewhat messy.
Does anyone know of anything on the likes of CodeProject that can be used for this? I'm really after an open source implementation than a dll I just use (how else is someone gonna learn?)
Thanks
Paul
After a fruitless half hour or so of searching on google and MSDN I'm at a loss. I'm trying to implement a radial control in C# - to make things worse, I'm not even sure it's called that.
What I'm after is something that looks like a hi-fi radio tuner or volume knob.
My first thought was to mix a standard slider control with a circle; when the slider is turned, the control has a higher value. Only problem there is that a slider is left to right only, so not really what I'm after (I need a circular motion not l->r)
Next thought is to just draw the damned thing using System.Drawing and intercept mouse events to redraw a line when it's clicked on the dial. That would possibly work, but would be somewhat messy.
Does anyone know of anything on the likes of CodeProject that can be used for this? I'm really after an open source implementation than a dll I just use (how else is someone gonna learn?)
Thanks
Paul
Comment