Fires on the target element continuously while the user drags the object over a valid drop target.
If the event bubbles and is cancellable, return VARIANT_TRUE to prevent the event from bubbling to other event handlers in the document tree. Return VARIANT_FALSE to allow bubbling.
The DISPID for this event is defined in mshtmdid.h. Use this value to identify the event handler when implementing IDispatch::Invoke.
Bubbles Yes Cancels Yes To invoke
- Drag the selection over a valid drop target within the client.
- Drag the selection to a valid drop target within another window.
Default action Calls the associated event handler.
The HTMLAreaEvents::ondragover event fires on the target object after the HTMLAreaEvents::ondragenter event has fired.
When scripting custom functionality, use the IHTMLDialog::returnValue property to disable the default action.