Alistair Leslie-Hughes : mshtml: Implement IHTMLDocument2 get/ put onmousedown.

Alexandre Julliard julliard at winehq.org
Wed Dec 23 10:04:13 CST 2009


Module: wine
Branch: master
Commit: cccaf1ab1902453a2def72bdcabac27b8bbe06fa
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=cccaf1ab1902453a2def72bdcabac27b8bbe06fa

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Wed Dec 23 09:18:45 2009 +1100

mshtml: Implement IHTMLDocument2 get/put onmousedown.

---

 dlls/mshtml/htmldoc.c |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/dlls/mshtml/htmldoc.c b/dlls/mshtml/htmldoc.c
index 7a7b343..7371fb0 100644
--- a/dlls/mshtml/htmldoc.c
+++ b/dlls/mshtml/htmldoc.c
@@ -1090,15 +1090,19 @@ static HRESULT WINAPI HTMLDocument_get_onmouseup(IHTMLDocument2 *iface, VARIANT
 static HRESULT WINAPI HTMLDocument_put_onmousedown(IHTMLDocument2 *iface, VARIANT v)
 {
     HTMLDocument *This = HTMLDOC_THIS(iface);
-    FIXME("(%p)\n", This);
-    return E_NOTIMPL;
+
+    TRACE("(%p)->()\n", This);
+
+    return set_doc_event(This, EVENTID_MOUSEDOWN, &v);
 }
 
 static HRESULT WINAPI HTMLDocument_get_onmousedown(IHTMLDocument2 *iface, VARIANT *p)
 {
     HTMLDocument *This = HTMLDOC_THIS(iface);
-    FIXME("(%p)->(%p)\n", This, p);
-    return E_NOTIMPL;
+
+    TRACE("(%p)->(%p)\n", This, p);
+
+    return get_doc_event(This, EVENTID_MOUSEDOWN, p);
 }
 
 static HRESULT WINAPI HTMLDocument_put_onmousemove(IHTMLDocument2 *iface, VARIANT v)




More information about the wine-cvs mailing list