Click or drag to resize

AppWindow.OLEDragOver Method (Typed)

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

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD OLEDragOver(
	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 OLEDragOver() returns TRUE.
Tip Tip
In derived classes you can implement your own OLEDragOver 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