Fires on the source object continuously during a drag operation.
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 a text selection or object within the client.
- Drag a text selection or object to another client.
- Drag a text selection or object to a drop target in another application.
- Drag a text selection or object to the system desktop.
Default action Calls the associated event handler if there is one.
This event fires on the source object after the event. The HTMLMarqueeElementEvents::ondrag event fires throughout the drag operation, whether the selection being dragged is over the drag source, a valid target, or an invalid target.