Results 1 to 4 of 4

Thread: Overlaying Images

  1. #1

    Thread Starter
    Lively Member Optic's Avatar
    Join Date
    Mar 2001
    Location
    I'm everywhere and nowhere, I'm inside your computer and inside your mind. You can't escape me for I am vision.
    Posts
    117

    Overlaying Images

    I have a picture box, picture1, and an array of picture boxs, pics, which contain transparent gifs. I want it so when i drag an image from pics to picture1, the image I dragged is overlayed ontop of the image already in picture1, while maintaining transparency. Does anyone know how I can do this.

  2. #2
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    I think you would have to use Image controls rather than picture boxes. Either that or BitBlt the pictures to the first picture box, but that's a lot of effort.

  3. #3
    Lively Member
    Join Date
    Jul 2002
    Posts
    118
    Have you tried using TransparentBlt?

    It doesnt work with Win95 but otherwise its cool

    The definition is not available using the API text viewer but it does work

    Here is the definition

    Public Declare Function TransparentBlt lib "msimg32" ( _

  4. #4
    Lively Member
    Join Date
    Jul 2002
    Posts
    118
    i wont continue since my comp has cocked up and u may not need to know the rest or may nt want to but if u do let me know and i will give u the rest. email me at [email protected]

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