Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c10cd6c1
Commit
c10cd6c1
authored
Dec 07, 2009
by
Andrew Eikum
Committed by
Alexandre Julliard
Dec 08, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Implement IHTMLWindow2::{get,put}_onresize.
parent
2710d14c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
4 deletions
+14
-4
htmlevent.c
dlls/mshtml/htmlevent.c
+5
-0
htmlevent.h
dlls/mshtml/htmlevent.h
+1
-0
htmlwindow.c
dlls/mshtml/htmlwindow.c
+8
-4
No files found.
dlls/mshtml/htmlevent.c
View file @
c10cd6c1
...
...
@@ -94,6 +94,9 @@ static const WCHAR onpasteW[] = {'o','n','p','a','s','t','e',0};
static
const
WCHAR
readystatechangeW
[]
=
{
'r'
,
'e'
,
'a'
,
'd'
,
'y'
,
's'
,
't'
,
'a'
,
't'
,
'e'
,
'c'
,
'h'
,
'a'
,
'n'
,
'g'
,
'e'
,
0
};
static
const
WCHAR
onreadystatechangeW
[]
=
{
'o'
,
'n'
,
'r'
,
'e'
,
'a'
,
'd'
,
'y'
,
's'
,
't'
,
'a'
,
't'
,
'e'
,
'c'
,
'h'
,
'a'
,
'n'
,
'g'
,
'e'
,
0
};
static
const
WCHAR
resizeW
[]
=
{
'r'
,
'e'
,
's'
,
'i'
,
'z'
,
'e'
,
0
};
static
const
WCHAR
onresizeW
[]
=
{
'o'
,
'n'
,
'r'
,
'e'
,
's'
,
'i'
,
'z'
,
'e'
,
0
};
static
const
WCHAR
selectstartW
[]
=
{
's'
,
'e'
,
'l'
,
'e'
,
'c'
,
't'
,
's'
,
't'
,
'a'
,
'r'
,
't'
,
0
};
static
const
WCHAR
onselectstartW
[]
=
{
'o'
,
'n'
,
's'
,
'e'
,
'l'
,
'e'
,
'c'
,
't'
,
's'
,
't'
,
'a'
,
'r'
,
't'
,
0
};
...
...
@@ -162,6 +165,8 @@ static const event_info_t event_info[] = {
0
},
{
readystatechangeW
,
onreadystatechangeW
,
EVENTT_NONE
,
DISPID_EVMETH_ONREADYSTATECHANGE
,
0
},
{
resizeW
,
onresizeW
,
EVENTT_NONE
,
DISPID_EVMETH_ONRESIZE
,
EVENT_DEFAULTLISTENER
|
EVENT_BUBBLE
},
{
selectstartW
,
onselectstartW
,
EVENTT_MOUSE
,
DISPID_EVMETH_ONSELECTSTART
,
0
}
};
...
...
dlls/mshtml/htmlevent.h
View file @
c10cd6c1
...
...
@@ -34,6 +34,7 @@ typedef enum {
EVENTID_MOUSEUP
,
EVENTID_PASTE
,
EVENTID_READYSTATECHANGE
,
EVENTID_RESIZE
,
EVENTID_SELECTSTART
,
EVENTID_LAST
}
eventid_t
;
...
...
dlls/mshtml/htmlwindow.c
View file @
c10cd6c1
...
...
@@ -893,15 +893,19 @@ static HRESULT WINAPI HTMLWindow2_get_onerror(IHTMLWindow2 *iface, VARIANT *p)
static
HRESULT
WINAPI
HTMLWindow2_put_onresize
(
IHTMLWindow2
*
iface
,
VARIANT
v
)
{
HTMLWindow
*
This
=
HTMLWINDOW2_THIS
(
iface
);
FIXME
(
"(%p)->(v(%d))
\n
"
,
This
,
V_VT
(
&
v
));
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_variant
(
&
v
));
return
set_window_event
(
This
,
EVENTID_RESIZE
,
&
v
);
}
static
HRESULT
WINAPI
HTMLWindow2_get_onresize
(
IHTMLWindow2
*
iface
,
VARIANT
*
p
)
{
HTMLWindow
*
This
=
HTMLWINDOW2_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
get_window_event
(
This
,
EVENTID_RESIZE
,
p
);
}
static
HRESULT
WINAPI
HTMLWindow2_put_onscroll
(
IHTMLWindow2
*
iface
,
VARIANT
v
)
...
...
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