Click here to Skip to main content
12,068,967 members (65,451 online)
Click here to Skip to main content
Add your own
alternative version

Stats

263.9K views
14.1K downloads
131 bookmarked
Posted

Transparent Splash Screen

, 13 Jan 2006 CPOL
Rate this:
Please Sign up or sign in to vote.
Creating a transparent Splash Screen - like the one used by Adobe.

Introduction

Anyone interested in making a transparent splash screen? Like the one used by Adobe? This one was done by rendering PNG files that use Alpha. Inluded in the download, you will find a full example using Visual Basic .NET 2003. I'm using embedded resources for the image... I have installed and run this project correctly on Windows 98, XP, 2000.

Here are the two most important functions to use inside your splash screen form:

Protected Overrides Sub OnPaint(ByVal e As System.Windows.Forms.PaintEventArgs)
    ' Do nothing here!
End Sub

Protected Overrides Sub OnPaintBackground(
    ByVal pevent As System.Windows.Forms.PaintEventArgs)
    Dim gfx As dra.Graphics = pevent.Graphics
    gfx.DrawImage(IMA.imaSplashScreen, New dra.Rectangle(0, 0, Me.Width, Me.Height))
End Sub

P.S. This is a very easy way to accomplish this, without using API calls and such messy stuff like that. You should be able to make splash screens and About boxes like the one I have used in my project.

WaterScript.jpg

License

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

Share

About the Author

DameonBlack
Web Developer
United States United States
Just another programmer trying to figure it all out. Big Grin | :-D





MCP, MCSD & MCAD

You may also be interested in...

Comments and Discussions

 
AnswerRe: Black Background Pin
cycnus24-May-06 17:41
membercycnus24-May-06 17:41 
AnswerRe: Black Background Pin
ehoang31-Jul-07 10:10
memberehoang31-Jul-07 10:10 
GeneralAbout the actuall program Pin
per-i18-Jun-05 3:03
sussper-i18-Jun-05 3:03 
GeneralRe: About the actuall program Pin
DameonBlack18-Jun-05 11:56
memberDameonBlack18-Jun-05 11:56 

The programs initial intention was to sell water park compoenents. The sales person would take a water park element and drop it into the scene to display to the buyer what is possible. As you can tell it's fully 3D using DirectX. I later added in the ability for the program to control the water park. It can setup water sequences and effects. Basically it'll do anything you see in a water park.

As for help on a timeline control I do have very little free time. Unless you're looking for contract work and I doubt you are. I can answer simple questions like this though. Smile | :)


Thanks,
Dameon Black
GeneralRe: About the actuall program Pin
DameonBlack18-Jun-05 12:03
memberDameonBlack18-Jun-05 12:03 
GeneralRe: About the actuall program Pin
per-i20-Jun-05 12:00
memberper-i20-Jun-05 12:00 
GeneralTransparency and fading form Pin
daniel_l24-Apr-05 23:16
memberdaniel_l24-Apr-05 23:16 
GeneralRe: Transparency and fading form Pin
Anonymous25-Apr-05 4:22
sussAnonymous25-Apr-05 4:22 
QuestionHow do i do this using c? Pin
Kalamatee2-Oct-04 7:24
memberKalamatee2-Oct-04 7:24 
AnswerRe: How do i do this using c? Pin
DameonBlack2-Oct-04 12:53
memberDameonBlack2-Oct-04 12:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.160208.1 | Last Updated 13 Jan 2006
Article Copyright 2004 by DameonBlack
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid