|
-
May 6th, 2001, 02:52 PM
#1
Thread Starter
Member
Copying Picturebox Contents With BitBlit?
Hi all! Got another question for all you guys out there. First, let explain what I've got and then what I want to do.
First off, I have a graphic that is solid (no transparency), that I have moving underneath a transparent graphic (made transparent with BitBlt).
I've gotten it to SRCCOPY the solid picture first to a picturebox, then SRCAND and SRCPAINT the one with transparency on top of it. Then, I SRCCOPY the whole image to another PictureBox which I'm using as the drawing plane. By changing the Y coordinates of the SRCCOPY when copying the solid image, it appears that it is moving up and down. So, it looks a lot like a shutter door opening and closing. So far, so good.
The problem I'm running into is this... when the "door" goes back up, revealing what's underneath, I can't seem to get anything to show up! I want to cover up controls with the door, and then reveal new controls as the door opens.
Is there any way to do this? So far, when I try to SRCCOPY the picturebox with the controls on it, it only copies the picturebox's background.
Any help would be great!
- Amp
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|