Click here to Skip to main content
12,634,651 members (24,967 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: .NET2.0 VB .NET VB.NET
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 28-Oct-10 5:17am
Updated 28-Oct-10 5:23am
Nish Nishant637.1K
v2
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 5

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[^]
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
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..
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

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.
  Permalink  
v2

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.161208.2 | Last Updated 4 Jun 2011
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100