Results 1 to 4 of 4

Thread: 2 Questions

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2000
    Location
    Staffodshire, England
    Posts
    32

    Wink

    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.

  2. #2
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    1) Draw it manually (PaintPicture, BitBlt, DDraw,...)

    2) Yes, but you won't have transparency

  3. #3
    Guest
    Actually I believe that you can have transparency. But that might be by using the Image Control.

  4. #4
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    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 )

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width