Click to See Complete Forum and Search --> : Overlaying Images
Optic
Jul 31st, 2002, 09:01 AM
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.
Rick Bull
Jul 31st, 2002, 03:46 PM
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.
danday1974
Aug 1st, 2002, 08:48 PM
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" ( _
danday1974
Aug 1st, 2002, 08:49 PM
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 danieldaylewis@btinternet.com
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.