Transparency in a PictureBox

It should work, are you sure you matched the color?
But that wouldnt work the best anyway. Becuase what was behind the form would show. You could do it another way. Get the picture boxs image to a bitmap object, make it transparent using MakeTransparent() method and then assigning it back to the picturebox or refreshing the picture box.
 
yeah, thanks the thing is, im doing this for a tutorial on my site, so first im doing the basics(PictureBoxes then GDI+, and then hopefully, when i learn this, DirectX)

for this tutorial, i used PictureBoxes(apparently) <-- the tutorial isnt out yet

ill check weather the background is Lime(how can you check witout using Basic Colors such as Black?)
 
Originally posted by ThePentiumGuy
(how can you check witout using Basic Colors such as Black?)
Sorry, I dont get your question. Are you trying to check colors in some drawing program, your program or what?
 
oh ok, i meant this:

when you edit your bitmap of your sprite in Microsoft Paint, you set a background color of him. and in your code, you say :ThisColor.MakeTransparent. But can you identify "ThisColor" if you choose a background color of a sprite, how can you identify it in "words"..
how can you say, this color is Lime. In paint, you dont paint the "Lime" you paint Bright Green and guess its Lime. Is there anyway you can identify what color it is without guessing?
 
Paint doesnt have that option, I dont think many programs have it. What you can do it to find a website which lists RGB values for colors and then add a custom color to the Paints list that in the Colors menu.
 
Back
Top