CaptureActiveWindow method (Screen Control)
Builder Syntax |
int __fastcall CaptureActiveWindow(void); |
Delphi Syntax |
function CaptureActiveWindow: Integer; |
Overview |
Refer to Implementing Screen Capture. |
Remarks
Captures the currently active window 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