Home All Groups Group Topic Archive Search About

display a gif in a picture box

Author
1 Jun 2005 12:17 PM
Bruce Baker
Hi

I want to display a small gif in a picture box - I don't want the picture
box to change size, but I want the image to scale to fix the picture box -
how do I do this ?

thanks
Bruce

Author
1 Jun 2005 1:00 PM
Norm Cook
The easiest fix would be to use an Image control with Stretch=True.
If you have to use a PictureBox, you may have to resort
to some StretchBlt'ing.

Show quoteHide quote
"Bruce Baker" <bru***@ardex.com.au> wrote in message
news:eg86QMqZFHA.3320@TK2MSFTNGP12.phx.gbl...
> Hi
>
> I want to display a small gif in a picture box - I don't want the picture
> box to change size, but I want the image to scale to fix the picture box -
> how do I do this ?
>
> thanks
> Bruce
>
>