CaptureActiveClient Example for Builder 3.0
This is also the example for the CaptureCursorIndex property.
/*set Capture cursor*/
/*and include it in captured image*/
LEADScr1->CaptureDelay = 3000;
LEADScr1->CaptureCursor = crArrow;
LEADScr1->CaptureAreaIncludeCursor = true;
/*capture the client area ) { the active window*/
LEADScr1->CaptureActiveClient();
/*copy the captured image to a Main Control*/
LEAD1->Bitmap = LEADScr1->Bitmap;