Displaying a "transparent" splash sreen

  • Thread starter Thread starter Elp
  • Start date Start date
E

Elp

Hi,

i am trying to display a picture with transparent areas as a splash screen
(i'd like to have something similar to the Acrobat Reader 6 splash). I've
tried to put my image in a picture box and play with the opacity property of
the form and the picture box with no luck so far: i can't manage to suppress
the form background.
Putting my picture as the background image of the form gives me some funny
results such as black areas instead of transparent areas.

Does anybody has an idea of the way to go to achieve that?

thanks
 
Elp said:
i am trying to display a picture with transparent areas as a splash screen
(i'd like to have something similar to the Acrobat Reader 6 splash). I've
tried to put my image in a picture box and play with the opacity property of
the form and the picture box with no luck so far: i can't manage to suppress
the form background.
Putting my picture as the background image of the form gives me some funny
results such as black areas instead of transparent areas.

Have a look at the 'GraphicsPath' and 'Region' classes. After creating
the 'GraphicsPath' with the desired shape, you can convert it to a
'Region' and assign the region to the form's 'Region' property.
 
Back
Top