AppWindow.OLEDragEnter Method | |
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
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual OLEDragEnter(
Usual oOleDragEvent = default
)
Request Example
View SourceParameters
- oOleDragEvent (Optional)
- Type: Usual
The specified OLEDragEvent object.
Return Value
Type:
UsualRemarks
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 |
---|
In derived classes you can implement your own OLEDragEnter handlers to customize the default behavior. |
Tip |
---|
This method is only available when you include the OLE library in the application's search path. |
See Also