Transparent Picture Box
Category:
Forms and ControlsType:
ModulesDifficulty:
IntermediateAuthor:
EthanVersion Compatibility: Visual Basic 6
More information:
This code shows how to use the PaintPicture function to
create a transparent picture box. There are two picture
boxes on a form. The picture box in the center has a
white line to show it's position. Drag the picture box
around the inside of the back box. This is a sample of
how to drag an object without using the drag mode or
drag events. The back picture is redrawn on the front
picture as it is moved.
Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.
Download trnspbox.zip