Click or drag to resize

AppWindow.OLEDragEnter Method

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

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

Parameters

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

Return Value

Type: Usual
Remarks
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 OLEDragEnter() returns TRUE.
Tip Tip
In derived classes you can implement your own OLEDragEnter 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