EnableOLEDragMethod property (ILEADRasterView)
BOOL EnableOLEDragMethod | |
Overview |
Refer to Loading a Bitmap from a File. |
Remarks
(Persistent property, available at design time) Enables the OLE Drag and Drop operation in the RasterView Control. Possible values are:
Setting |
Description |
TRUE |
Enables the Drag and Drop operation in the RasterView control. |
FALSE |
Disables the Drag and Drop operation in the RasterView control. |
If EnableOLEDragMethod is set to TRUE, an OLEStartDrag event will occur at the beginning of the Drag and Drop operation. While the image is being dragged over the RasterView control, the OLEDragOver event and the OLEGiveFeedback event will be fired continuously. At the end of the Drag and Drop operation the OLECompleteDrag event will be fired.
The drag-and-drop operation will paste the dragged image to another RasterView Control.
Note: |
You should set this property to FALSE (0) before closing your window. Otherwise the operating system may not release the window. |
See Also
Elements: |
OLEDragCursor property, OLEStartDrag event, OLECompleteDrag event, OLEDragOver event, OLEGiveFeedback event, EnableUseDefaultCursor property |
Topics: |