mshtml:HTMLWindow_scrollTo implementation
Ivan Sinitsin
ivan at etersoft.ru
Wed Jul 2 01:30:25 CDT 2008
Changelog:
add HTMLWindow_scrollTo implementation
--
Sinitsin Ivan
-------------- next part --------------
From 09298c658f8a44b13da8c88e261eedec1edb4e20 Mon Sep 17 00:00:00 2001
From: Sinitsin Ivan <ivan at etersoft.ru>
Date: Wed, 2 Jul 2008 10:20:42 +0400
Subject: [PATCH] mshtml.dll: Add HTMLWindow_scrollTo implementation
---
dlls/mshtml/htmlwindow.c | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/dlls/mshtml/htmlwindow.c b/dlls/mshtml/htmlwindow.c
index 17467f2..e322c5d 100644
--- a/dlls/mshtml/htmlwindow.c
+++ b/dlls/mshtml/htmlwindow.c
@@ -656,8 +656,16 @@ static HRESULT WINAPI HTMLWindow2_scrollBy(IHTMLWindow2 *iface, long x, long y)
static HRESULT WINAPI HTMLWindow2_scrollTo(IHTMLWindow2 *iface, long x, long y)
{
HTMLWindow *This = HTMLWINDOW2_THIS(iface);
- FIXME("(%p)->(%ld %ld)\n", This, x, y);
- return E_NOTIMPL;
+ HRESULT hres;
+
+ TRACE("(%p)->(%ld %ld)\n", This, x, y);
+
+ hres = nsIDOMWindow_ScrollTo(This->nswindow, x, y);
+ if (FAILED(hres)) {
+ ERR("failed hres = %08x \n",hres);
+ }
+
+ return hres;
}
static HRESULT WINAPI HTMLWindow2_moveTo(IHTMLWindow2 *iface, long x, long y)
--
1.5.4.5.GIT
More information about the wine-patches
mailing list