Hi,
I've been trying to figure this out for some time now. I'm having problems making an image properly "transparent"
The inital image is Transparent, however, once you create another image very close to it, there is a "box" around it. That "box" is what I am trying to get rid of. I have no clue on how to get rid of it. Yes, I have made the image itself, transparent, as the initial image is transparent. Just any image that makes contact with the other images show the "box". Any idea's thoughts? Thanks.Code:Dim x As Integer Dim y As Integer Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.Click Dim blah As New PictureBox blah.Parent = PictureBox1 blah.Image = My.Resources.Mal1t1a_Mediaplayer blah.SizeMode = PictureBoxSizeMode.StretchImage blah.BackColor = Color.Transparent blah.Left = x - (blah.Width / 2) blah.Top = y - (blah.Height / 2) blah.BorderStyle = BorderStyle.None End Sub Private Sub PictureBox1_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox1.MouseMove x = e.X y = e.Y End Sub




Reply With Quote