1. To draw on a Form, you need to subclass the form an override
Control.OnPaint
[
^]. This gives you access to a GDI+
Graphics
[
^] object that you use to draw.
See
User-Drawn Controls[
^] or
Custom Drawing User Control Sample[
^].
2. To draw an arc through 3 points, see
Ellipses and Arcs in GDI+[
^] or
Graphics Paths in GDI+[
^].
Follow-up:
Sergey is right. #1 applies to Windows Forms (.NET), and won't help you.
#2 should still work
but you still need access to a GDI+
Graphics
object. It is possible, but not as easy with VB6. These may help:
A GDI+ Introduction for Visual Basic 6 Programmers[
^]
GDI+ wrapper for VB6[
^]