OLEStartDrag event (ILEADRasterImgList)

Visual Basic example

Visual C++ example

 

Syntax

void OLEStartDrag (short Button, short Shift, long X, long Y);

Overview

Refer to Drag and Drop

Remarks

Occurs when the drag-and-drop operation starts, if a drop can be accepted. A drag and drop can be accepted if the EnableOLEDragMethod property has been set to TRUE. If the drag and drop operation fails, this event will not be generated.

To start the drag-and-drop operation:

1.

Set the EnableOLEDragMethod property to TRUE.

3.

Select an image in this image list control.

4.

Press the left mouse button down on the same image list control and drag the selected image. The OLEStartDrag event will occur.

See Also

Elements

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

Topics

Raster Images: Copying Images