Drawing
Learn to make a basic Drawing package using Visual Basic 6 with this Tutorial that Celebrates the CESPage 25th Anniversary
his will show you how to put an Icon in the Task Tray and make a Popup Menu appear when you Right Click on the Icon within the Task Tray, this Tutorial is presenting using the original Images and Code.
Step 1
Step 2
Step 3
Step 4
Step 5
AutoRedraw property to True
Step 6
Double Click on the PictureBox of Picture1 and type in the Picture1_MouseDown() Sub:
Picture1.CurrentX = X
Picture1.CurrentY = Y
Step 7
Double Click on the PictureBox of Picture1 and type in the Picture1_MouseMove() Sub:
If Button = 1 Then
Picture1.Line (Picture1.CurrentX, Picture1.CurrentY)-(X, Y), vbBlack
End If
Step 8
Step 9
Step 8
This is a very simple Drawing Package, try changing the DrawWidth property of the Picture Box to get a Thicker line,
or the Colour by using another vbColour e.g. vbBlue or vbRed!