Baramuse,
I would custom paint the splash screen in this case. What you do is
start by blanking out the image, or flooding the background with the color
you want. Once you do that, you can call the DrawImage property on the
Graphics class to draw your images. You want the overload that takes an
ImageAttributes instance. You would construct this instance and set the
ColorMatrix in the image so that it has an alpha value.
Then, as time progresses, you would fade out one image (set the alpha in
increments to 100) and fade in the other (set the alpha in increments to 0).
Check out the document on MSDN titled "Using a Color Matrix to Set Alpha
Values in Images", located at (watch for line wrap):
http://msdn.microsoft.com/library/de..._usecsharp.asp
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Baramuse" <Ba******@discussions.microsoft.com> wrote in message
news:45**********************************@microsof t.com...
Hi,
I wonder if it was possible to change the opacity of an image in a
picturebox for example : I try to make a splash screen that shows up images (one after one). But i
would like to change the opacity of the images as the program loads
itself... like a progressbar..
And is there a way to make the image b&w too?
Do I need a special library?
thx