CaptureActiveClient Example for C++ 5.0 and later
/*set Capture cursor*/
/*and include it in captured image*/
m_pRasterScr1.PutCaptureDelay(3000);
m_pRasterScr1.PutCaptureCursorIndex(1);
m_pRasterScr1.PutCaptureAreaIncludeCursor(TRUE);
/*capture the client area of the active window*/
m_pRasterScr1.CaptureActiveClient ();
/*copy the captured image to a Main Control*/
m_LEADRasterView1.GetRaster().SetBitmap (m_pRasterScr1.GetBitmap ());