Transparent Splash Screens

dkeegh
04-02-2004, 11:55 PM
:huh:

I want to make a splash screen that looks sort of like the Adobe Creative Suite ones.

They have no frame, with rounded edges and a nice drop shadow surrounding them. (see my picture to view my design)

I have set the frame transparency key to "lime", but when i put my picture in, the picture box disallows the:

picbox.color = color.transparent

function, saying that it isn't a valid color option. I have checked in the MSDN files, and located a thread telling me that this is a .NET bug, and there may be ways of getting around it by using third party functions.

Does anyone know how i can make it, or how this can be done.

Cheers

:whoops:

dkeegh

P.S. Before anyone says it: The image i am using is in PNG and GIF. Both DO have transparent backgrounds :)

Machaira
04-05-2004, 07:09 AM
Try saving it as a regular bitmap.

dkeegh
04-14-2004, 12:05 AM
Try saving it as a regular bitmap.
this will not do anything, as it is not the image that is the problem but the picturebox componant

Paszt
04-14-2004, 02:45 AM
No need to use a picturebox.
Just set the BackgroundImage property of the form to your picture, then set the TransparencyKey property of the form to the color you want to be transparent.

However, if for some reason you do need to use a pictureBox, just set the TransparenyKey property of the form to the color you want to be transparent in the pictureBox.

I believe the point that Machaira was trying to make is that GIFs aren't a good idea because the compression used could change the color. A PNG should work, but a BMP is not compressed, so you don't have to worry. I'm not a graphics guy so I'm not sure if PNG is compressed.

-Stephen Paszt

dkeegh
04-14-2004, 10:32 PM
thanks alot, ill see if that works, as my sig says i am a noob... but ill check and see anyway (BTW i am using a PNG with transparency)

killem
04-15-2004, 05:33 PM
that will not work

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum