PDA

Click to See Complete Forum and Search --> : 2 Questions


mark_dep
May 22nd, 2000, 08:42 PM
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.

Fox
May 22nd, 2000, 11:06 PM
1) Draw it manually (PaintPicture, BitBlt, DDraw,...)

2) Yes, but you won't have transparency ;)

May 23rd, 2000, 02:31 AM
Actually I believe that you can have transparency. But that might be by using the Image Control.

Fox
May 23rd, 2000, 03:48 AM
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 ;))