Erasing certain portion of picture box from Transparent Blit function
Posted on 1999-01-04
I have two picture boxes Pic1 and pic2 and pic2 is inside pic1.
I call a transparent blit function to make pic2 appear in pic1 as transparent:
I can let the user changes pic2 through a command button and everytime it is changed, i can just pic1.cls and call the transparent blt function again with new coordinates.
But the PROBLEM is i also let the user modify pic1 (as in Paint) whereby the user can draw lines or dots on pic1.
So how can I keep track of what is drawn just now so that when i cls the pic1, i still get the existing picture with whatever which was drawn and only pic2 changes?
Or how do I just erase that certain portion of pic2 which is blit on pic1?