Re: Fade into a Picture Box or Image Control
- From: "Mike D Sutton" <EDais@xxxxxxxx>
- Date: Thu, 9 Jun 2005 17:18:34 +0100
> You guys showed me how to write the code below to produce what I think is a
> very cool fade in of an entire form. On an XP box now I want to know if
> there an equivelent way to fade in just an JPEG image into a Picture Box, or
> even better, an Image control which would be placed on a form which is
> already loaded and visible. (I know this is a little bit of a lazy question,
> but you guys seem to be able to answer everything in about two minutes!)
<code snipped>
Have a look at the AlphaBlend() API call. Since the image control is actually rendered onto it's parent control at
runtime it would be possible to use the image control as a source (just hide it during the fade-in) but probably easier
without since you have more control.
Have a look at this old post (just the AlphaBlend() part, ignore the rest!) for example syntax if you need it:
http://groups.google.co.uk/group/microsoft.public.vb.general.discussion/msg/124d0f6ae6c23388?dmode=source
Hope this helps,
Mike
- Microsoft Visual Basic MVP -
E-Mail: EDais@xxxxxxxx
WWW: Http://EDais.mvps.org/
.
- Follow-Ups:
- Re: Fade into a Picture Box or Image Control
- From: George Yachán
- Re: Fade into a Picture Box or Image Control
- References:
- Fade into a Picture Box or Image Control
- From: George Yachán
- Fade into a Picture Box or Image Control
- Prev by Date: Fade into a Picture Box or Image Control
- Next by Date: Re: Fade into a Picture Box or Image Control
- Previous by thread: Fade into a Picture Box or Image Control
- Next by thread: Re: Fade into a Picture Box or Image Control
- Index(es):