Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IHTMLDocument7::ondrop Property

New for Windows Internet Explorer 9

Sets or gets a pointer to the event handler function associated with the ondrop event.

Syntax


HRESULT IHTMLDocument7::get_ondrop(VARIANT *p);HRESULT IHTMLDocument7::put_ondrop(VARIANT v);

Parameters

p
Pointer to a variable of type VARIANT of type VT_DISPATCH that receives the IDispatch interface of an object with a default method that is invoked when the event occurs.
v
VARIANT of type VT_DISPATCH that specifies the IDispatch interface of an object with a default method that is invoked when the event occurs.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

 New for Internet Explorer 9 Internet Explorer 9. This event has been extended to IHTMLDocument7 and IHTMLWindow7.

See Also

ondrop

Community Additions

Show:
© 2015 Microsoft