EnableOLEDragMethod property (ILEADRasterImgList)

Visual Basic example

Visual C++ example

 

Syntax

VARIANT_BOOL EnableOLEDragMethod;

Overview

Refer to Drag and Drop.

Remarks

(Persistent property, available at design time) Enables or disables the OLE drag and drop operation in the image list Control. Possible values are:

Setting

Description

TRUE

Enables drag-and-drop operation.

FALSE

Disables drag-and-drop operation.

If EnableOLEDragMethod is TRUE:

image\sqrblit.gif an OLEStartDrag event will occur when the drag process begins,

image\sqrblit.gif an OLEDragOver event will occur repeatedly while the image is being dragged over the image list control, and

image\sqrblit.gif an OLECompleteDrag event will occur when the dragging process is over and the image is dropped.

In addition, an OLEGiveFeedback event will be fired repeatedly while the image is being dragged over the image list control to determine the visual feedback for the drag-and-drop operation.

The drag-and-drop operation will paste the selected image to another image list control.

Note:

Set this property to FALSE before closing the window or the operating system may not release the window.

See Also

Elements

OLEDragCursor property, OLEStartDrag event, OLECompleteDrag event, OLEDragOver event, OLEGiveFeedback event, EnableUseDefaultCursor property

Topics

Raster Images: Copying Images