CaptureWindowUnderCursor method (Screen Control)

C++ Builder example

Delphi 4.0 Example

 

Builder Syntax

Int __fastcall CaptureWindowUnderCursor(void);

Delphi Syntax

function CaptureWindowUnderCursor : Integer;

Overview

Refer to Implementing Screen Capture.

Remarks

Captures the window under the cursor to the control's bitmap. Capture is performed using the hot key. By default, the hot key is F11.

Note: You must call StopCapture if a capture operation has been started (for example, waiting for a hot key to be pressed) before you allow your main window/application to terminate.

See Also

Elements:

CaptureEXEDlg method, Bitmap property, CaptureActiveClient method, CaptureActiveWindow method, CaptureFullScreen method, CaptureMenuUnderCursor method, CaptureEXE method, CaptureWallPaper, CaptureSelectedObject method, CaptureMouseCursor method, CaptureOptionDlg method, CaptureAreaOptionDlg method, CaptureObjectOptionDlg method, Bitmap, OnCaptureImage event