to make a button transparent I want to capture the background image of a form or picturebox (actually the region on which that button is placed) and keep it in a stdpicture varaible then I want to paint this object on the button

I tried the PaintPicture but paintpicture doesnt store its output in a stdpicture
then I thought to use stdpicture render function but still dont know how to copy the source image to destination and set an stdpicture variable to the output of these fucntions


please please help me