Can't seem to draw a line on a picture object after I load a bitmap into ther picture. What are the switch settings necessary for seeing a line on top of a loaded bitmap?
-lp
Printable View
Can't seem to draw a line on a picture object after I load a bitmap into ther picture. What are the switch settings necessary for seeing a line on top of a loaded bitmap?
-lp
Just use the Line method of the Picturebox, i.e.Code:Private Sub Command1_Click()
Picture1 = LoadPicture("C:\SomePic.bmp")
Picture1.Line (0, 0)-(Picture1.Width, Picture1.Height)
End Sub
You use the api to draw the line right?
Maybe try setting the Picture1.Autoredraw = True and after drawing the line do Picture1.Refresh