Quote:
Originally posted by VB-Sultan
Hi..
i want to move two layers of images (like photoshop) above each other..
for example.. suppose i have two images, one is circle and the other is square, both images background color is transparent, i want to allow the user to move these to images above each other freely..
how to do it??
do i need just 2 pictureboxs?? and how to drag them??
thanks..
eeh I've done that before:D umm what I did was that I drew the two shapes in one picturebox. Each shape had an object associated with it which held the drawing region in a variable (you need to know this for hit testing). when the user clicks on the picturebox, you just have to go through all the shapes that you have and do a hit test on all of them.