handle to the window:
GetCapture
GetFocus
WindowFromDC
How to copy the image of a form to the Clipboard using Bitmap API functions