CaptureSelectedObject method (ILEADRasterScr)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short CaptureSelectedObject ();

Overview

Refer to Implementing Screen Capture.

Remarks

Captures the currently selected window's object to the control's bitmap. Objects can be buttons, client areas, toolbars, controls, scrollbars, etc. Capture is performed using the hot key. By default, the hot key is F11. The object is then selected by clicking the left mouse button.

Note:

The user must call StopCapture if a capture operation has been started (for example, waiting for a hot key to be pressed) before the user allows the main window/application to terminate.

See Also

Elements:

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

Topics:

Screen Capture: Capturing images