Will sombody create a picture box control with transperency options? Or if there is one already help me!!
Will sombody create a picture box control with transperency options? Or if there is one already help me!!
I think it's easier to just use bitblt to draw transparent pictures
I asked for a control!!!
Just wait a ten minutes, i have one for you;)
ok
ok now how does it work?
Put a control on your form and set a picture in it (which have a color that is "transparent" then change the maskcolor property to that color, usually pink or something that you don't use. Then the control will cut the regions, even in designtime
It doesnt work for me
Where did you got stuck? It work's fine on my comp
I fill everything in on the properties but it doesnt make the images RGB 0,255,0 transparent
Are you sure that you have anything totally green in your picture?
yes!
hmmm, try something else, other colors and pictures maybe?
How can you user bitblt to to draw transparent pictures.Quote:
Originally posted by kedaman
I think it's easier to just use bitblt to draw transparent pictures
You must either generate a mask of the maskcolor of a picture in black and white or make it psp or photoshop, and then draw the picture with vbSrcPaint and vbSrcAnd