Does anyone have any source code for making a virtual knob or dial control. I need to be able to make my own, but I need a few pointers on how to do a few things, namely the drawing of the line with respect to the mouse position.

If you can help me either post the code or email it to me at my email address. Thanks