Click or drag to resize

AppWindow.OLEDragLeave Method

X#
Called whenever the mouse leaves the window's client area during a drag and drop operation.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD OLEDragLeave(
	oOleDragEvent
) AS USUAL CLIPPER
Request Example View Source

Parameters

oOleDragEvent (Optional)
Type: Usual
The specified OLEDragEvent object.

Return Value

Type: Usual
Remarks
Tip Tip
Important! This is a callback method used by X#. Normally, it should not be called in your application code.
The OLE runtime engine calls the following event handlers after an AppWindow object has been registered as an OLE drag and drop target: OLEDragEnter(), OLEDragOver(), OLEDragLeave(), and OLEDrop(). By investigating the passed OLEDragEvent object (for example, a specific server), you can allow or disallow a drag and drop action by returning TRUE or FALSE. This also affects the appearance of the drag and drop cursor. By default OLEDragLeave() returns TRUE.
Tip Tip
In derived classes you can implement your own OLEDragLeave handlers to customize the default behavior.
Tip Tip
This method is only available when you include the OLE library in the application's search path.
See Also