LEADCAPTUREOBJECTOPTION

typedef struct tagLEADCAPTUREOBJECTOPTION
{
   L_UINT uStructSize;
   L_UINT uFlags;
   L_UINT uBorderWidth;
   HCURSOR hSelectCursor;
} LEADCAPTUREOBJECTOPTION, * pLEADCAPTUREOBJECTOPTION;

This structure is used in LScreenCapture::CaptureSelectedObject.

Member

Description

uStructSize

Size of this structure. Use sizeof (LAYERINFO).

uFlags

flags that control the selection process. Possible values are:

 

 

Value

Meaning

 

CAPTURE_OBJECT_INVERT

Invert the selected object. If this flag is not specified, a border will be drawn around the object.

 

CAPTURE_OBJECT_ENABLE_KEYBOARD

Enable the SHIFT key during the selection process. Pressing the SHIFT key will select the client area of the object

 

Default is CAPTURE_OBJECT_ENABLE_KEYBOARD.

 

uBorderWidth

border width when highlighting object. Default is 5.

hSelectCursor

cursor to be used during selecting. Default is LoadCursor(0, IDC_ARROW).