Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to create a transparent splash screen as in Photoshop. I have created an image in Photoshop with a transparent background and stored it in PNG format. What do I do next? Thank you.
Posted
Updated 28-Oct-10 4:23am
v2

Try This Link Here, Extremely Goood Example to uses PNG style splash screen ( alot like Photoshop splash screeen)

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=4518&lngWId=10[^]
 
Share this answer
 
 
Share this answer
 
Comments
Sandeep Mewara 28-Oct-10 12:49pm    
Comment from OP:
Thanx Nishant ,For replying.
i reffered that project .but when i used my image ,it was transparent at the begining,after minimizing the other windows , the splash has retained the parts of the minimized windows around the transparent parts..
Did you try searching for an article or anything on showing a splash screen? Because if you did you would have found quite a few. You would also likely have found out about Layered Windows which would allows you to use your PNG with it's alpha channel as the picture for your splash screen.

Overall it would have been a grand learning experience. Still, I'll at least get you started eh? As I've typed this much already.

To show a splash screen you just need to show a window with a picture on it, to have it blend with the desktop in 32bit goodness you need to use the WS_LAYEREDWINDOW style. An excellent example of both of these things can be found in this article:

http://www.codeproject.com/KB/GDI-plus/perpxalpha_sharp.aspx?msg=853306[^]

I know the code is in C# but really it's only a little bit of code and it shouldn't be too difficult to understand.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900