Click or drag to resize

DragDropClient.DragOver Method

X#
Notify the application of a DragOver event and accept or reject the drop.

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

Parameters

oDragEvent (Optional)
Type: Usual
The drag event that determines the position of the mouse (in canvas coordinates), aswell as the number and names of files, in the drag-and-drop load.

Return Value

Type: Usual
The client can refuse a drag-and-drop operation by returning FALSE from this method (usually because a certain file type is not accepted). Windows then changes the pointer to a no-entry sign. The method returns TRUE if a drop is accepted.
Remarks
Tip Tip
Important! This is a callback method used by X#. Normally, it should not be called in your application code.
The system dispatches this method when, during a drag-and-drop operation, the mouse drags inside the client area of the drag-and-drop client. Several drag events can arrive at DragDropClient:DragOver() during the one operation, before the user finally drops the load or leaves the client area. Windows displays a special pointer to give the user visual feedback on the progress of the operation.
See Also