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
a3a9a317
Commit
a3a9a317
authored
Jun 24, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLSelectElement::put_onchange implementation.
parent
da8560bb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
htmlevent.c
dlls/mshtml/htmlevent.c
+4
-0
htmlselect.c
dlls/mshtml/htmlselect.c
+4
-2
mshtml_private.h
dlls/mshtml/mshtml_private.h
+1
-0
No files found.
dlls/mshtml/htmlevent.c
View file @
a3a9a317
...
...
@@ -35,6 +35,9 @@ struct event_target_t {
IDispatch
*
event_table
[
EVENTID_LAST
];
};
static
const
WCHAR
changeW
[]
=
{
'c'
,
'h'
,
'a'
,
'n'
,
'g'
,
'e'
,
0
};
static
const
WCHAR
onchangeW
[]
=
{
'o'
,
'n'
,
'c'
,
'h'
,
'a'
,
'n'
,
'g'
,
'e'
,
0
};
static
const
WCHAR
clickW
[]
=
{
'c'
,
'l'
,
'i'
,
'c'
,
'k'
,
0
};
static
const
WCHAR
onclickW
[]
=
{
'o'
,
'n'
,
'c'
,
'l'
,
'i'
,
'c'
,
'k'
,
0
};
...
...
@@ -53,6 +56,7 @@ typedef struct {
#define EVENT_DEFAULTLISTENER 0x0001
static
const
event_info_t
event_info
[]
=
{
{
changeW
,
onchangeW
,
EVENT_DEFAULTLISTENER
},
{
clickW
,
onclickW
,
EVENT_DEFAULTLISTENER
},
{
keyupW
,
onkeyupW
,
EVENT_DEFAULTLISTENER
},
{
loadW
,
onloadW
,
0
}
...
...
dlls/mshtml/htmlselect.c
View file @
a3a9a317
...
...
@@ -177,8 +177,10 @@ static HRESULT WINAPI HTMLSelectElement_get_options(IHTMLSelectElement *iface, I
static
HRESULT
WINAPI
HTMLSelectElement_put_onchange
(
IHTMLSelectElement
*
iface
,
VARIANT
v
)
{
HTMLSelectElement
*
This
=
HTMLSELECT_THIS
(
iface
);
FIXME
(
"(%p)->()
\n
"
,
This
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->()
\n
"
,
This
);
return
set_node_event
(
&
This
->
element
.
node
,
EVENTID_CHANGE
,
&
v
);
}
static
HRESULT
WINAPI
HTMLSelectElement_get_onchange
(
IHTMLSelectElement
*
iface
,
VARIANT
*
p
)
...
...
dlls/mshtml/mshtml_private.h
View file @
a3a9a317
...
...
@@ -99,6 +99,7 @@ typedef enum {
}
tid_t
;
typedef
enum
{
EVENTID_CHANGE
,
EVENTID_CLICK
,
EVENTID_KEYUP
,
EVENTID_LOAD
,
...
...
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