1) How do I Center an image file in a picture box.
2) Is it possible to view a GIF file in a picture box.
Thank you.
Printable View
1) How do I Center an image file in a picture box.
2) Is it possible to view a GIF file in a picture box.
Thank you.
1) Draw it manually (PaintPicture, BitBlt, DDraw,...)
2) Yes, but you won't have transparency ;)
Actually I believe that you can have transparency. But that might be by using the Image Control.
Indeed. Well, just let you know that you have transparency in a picturebox, but not with it's background. That means the transparent pixels of the GIF will become the background color of the picbox...
(Better use BitBlt or DirectDraw ;))