Чел, дело то какое - Я чё то не пойму в чём твой трабл....
Private Declare Function MoveToEx Lib "gdi32" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, lpPoint As Any) As Long
Private Declare Function LineTo Lib "gdi32" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long) As Long
Private Declare Function CreatePen Lib "gdi32" (ByVal nPenStyle As Long, ByVal nWidth As Long, ByVal crColor As Long) As Long
Private Declare Function SelectObject Lib "gdi32" (ByVal hdc As Long, ByVal hObject As Long) As Long
Private Declare Function DeleteObject Lib "gdi32" (ByVal hObject As Long) As Long
Private Function DrawLine(hdc, X1, Y1, X2, Y2, Wdth, Color As Long)
DeleteObject (SelectObject(hdc, CreatePen(0, Wdth, Color)))
Call MoveToEx(hdc, X1, Y1, ByVal 0&)
Call LineTo(hdc, X2, Y2)
End Function
Вот те функция для рисования линий любого цвета и ширины, а главное в любую точку формы или пикчербокса....и вне них Если я что то не пнял, то объясни поподробнее...