Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
0a0d72ac
Commit
0a0d72ac
authored
Sep 26, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 27, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLElement2::put_scrollTop and put_scrollLeft implementation.
parent
cb776f7d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
4 deletions
+28
-4
htmlelem2.c
dlls/mshtml/htmlelem2.c
+28
-4
No files found.
dlls/mshtml/htmlelem2.c
View file @
0a0d72ac
...
...
@@ -626,8 +626,20 @@ static HRESULT WINAPI HTMLElement2_get_scrollWidth(IHTMLElement2 *iface, long *p
static
HRESULT
WINAPI
HTMLElement2_put_scrollTop
(
IHTMLElement2
*
iface
,
long
v
)
{
HTMLElement
*
This
=
HTMLELEM2_THIS
(
iface
);
FIXME
(
"(%p)->(%ld)
\n
"
,
This
,
v
);
return
E_NOTIMPL
;
nsIDOMNSHTMLElement
*
nselem
;
nsresult
nsres
;
TRACE
(
"(%p)->(%ld)
\n
"
,
This
,
v
);
nsres
=
nsIDOMHTMLElement_QueryInterface
(
This
->
nselem
,
&
IID_nsIDOMNSHTMLElement
,
(
void
**
)
&
nselem
);
if
(
NS_SUCCEEDED
(
nsres
))
{
nsIDOMNSHTMLElement_SetScrollTop
(
nselem
,
v
);
nsIDOMNSHTMLElement_Release
(
nselem
);
}
else
{
ERR
(
"Could not get nsIDOMNSHTMLElement interface: %08x
\n
"
,
nsres
);
}
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLElement2_get_scrollTop
(
IHTMLElement2
*
iface
,
long
*
p
)
...
...
@@ -640,8 +652,20 @@ static HRESULT WINAPI HTMLElement2_get_scrollTop(IHTMLElement2 *iface, long *p)
static
HRESULT
WINAPI
HTMLElement2_put_scrollLeft
(
IHTMLElement2
*
iface
,
long
v
)
{
HTMLElement
*
This
=
HTMLELEM2_THIS
(
iface
);
FIXME
(
"(%p)->()
\n
"
,
This
);
return
E_NOTIMPL
;
nsIDOMNSHTMLElement
*
nselem
;
nsresult
nsres
;
TRACE
(
"(%p)->(%ld)
\n
"
,
This
,
v
);
nsres
=
nsIDOMHTMLElement_QueryInterface
(
This
->
nselem
,
&
IID_nsIDOMNSHTMLElement
,
(
void
**
)
&
nselem
);
if
(
NS_SUCCEEDED
(
nsres
))
{
nsIDOMNSHTMLElement_SetScrollLeft
(
nselem
,
v
);
nsIDOMNSHTMLElement_Release
(
nselem
);
}
else
{
ERR
(
"Could not get nsIDOMNSHTMLElement interface: %08x
\n
"
,
nsres
);
}
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLElement2_get_scrollLeft
(
IHTMLElement2
*
iface
,
long
*
p
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment