[VB.NET] Overlay Image

1) Draw a box on top of it and set whatever colour you want.
2) Vary the A value of the ARGB value over time.
3) Win!

Easiest way is to create a graphics object from the image, whatever it is in (picturebox for example) and then use that graphics object to draw over the image.
 
Sorry i dont quite understand what i have to do.

AH! Sorry by slideshow, i mean its moving to the side. Appologies.

Its a scrolling panel with all the pictureboxes on it. It scrolls onto the screen (where i want to fade in) and scrolls out the screen *** other side (fade out).
 
Cheetah Designs said:
Sorry i dont quite understand what i have to do.

AH! Sorry by slideshow, i mean its moving to the side. Appologies.

Its a scrolling panel with all the pictureboxes on it. It scrolls onto the screen (where i want to fade in) and scrolls out the screen *** other side (fade out).

Ah, so you want a constant gradient over the panel, and then move the pictureboxes underneath?

I'm not sure if you need a constant gradient or one where the alpha (transparency) changes over time?
 
growse said:
Ah, so you want a constant gradient over the panel, and then move the pictureboxes underneath?

I'm not sure if you need a constant gradient or one where the alpha (transparency) changes over time?

Well i cant actually get an transparency atm. Thats the problem. When i use the transparency it automatically changes all the transparent bits to the colour of the form.
 
Back
Top Bottom