Quote Originally Posted by joaquim View Post
think in these way: i have the image in a picturebox(the container image with controls), now i need crop the image. but the bitblt isn't working
but, i don't know if these must be said(i don't know write the other word), i don't use the container size to the picturebox size. is these a problem?
Maybe you could upload demo of your code, but just some quick thoughts,...

If Picbox.AutoRedraw=True then call Picbox.Refesh after the BitBlt call.

If Picbox.AutoRedraw=False then do not call Picbox.Refesh after the BitBlt call.

The xSrc and ySrc in BitBlt are the source capture points, so xSrc must be < the source width and ySrc < source height.