mshtml: Added IHTMLElement::dblclick property implementation.
This commit is contained in:
parent
e79e409819
commit
c89b4aec99
|
@ -431,15 +431,19 @@ static HRESULT WINAPI HTMLElement_get_onclick(IHTMLElement *iface, VARIANT *p)
|
||||||
static HRESULT WINAPI HTMLElement_put_ondblclick(IHTMLElement *iface, VARIANT v)
|
static HRESULT WINAPI HTMLElement_put_ondblclick(IHTMLElement *iface, VARIANT v)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM_THIS(iface);
|
HTMLElement *This = HTMLELEM_THIS(iface);
|
||||||
FIXME("(%p)->()\n", This);
|
|
||||||
return E_NOTIMPL;
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
||||||
|
|
||||||
|
return set_node_event(&This->node, EVENTID_DBLCLICK, &v);
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement_get_ondblclick(IHTMLElement *iface, VARIANT *p)
|
static HRESULT WINAPI HTMLElement_get_ondblclick(IHTMLElement *iface, VARIANT *p)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM_THIS(iface);
|
HTMLElement *This = HTMLELEM_THIS(iface);
|
||||||
FIXME("(%p)->(%p)\n", This, p);
|
|
||||||
return E_NOTIMPL;
|
TRACE("(%p)->(%p)\n", This, p);
|
||||||
|
|
||||||
|
return get_node_event(&This->node, EVENTID_DBLCLICK, p);
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement_put_onkeydown(IHTMLElement *iface, VARIANT v)
|
static HRESULT WINAPI HTMLElement_put_onkeydown(IHTMLElement *iface, VARIANT v)
|
||||||
|
|
|
@ -54,6 +54,9 @@ 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 clickW[] = {'c','l','i','c','k',0};
|
||||||
static const WCHAR onclickW[] = {'o','n','c','l','i','c','k',0};
|
static const WCHAR onclickW[] = {'o','n','c','l','i','c','k',0};
|
||||||
|
|
||||||
|
static const WCHAR dblclickW[] = {'d','b','l','c','l','i','c','k',0};
|
||||||
|
static const WCHAR ondblclickW[] = {'o','n','d','b','l','c','l','i','c','k',0};
|
||||||
|
|
||||||
static const WCHAR dragW[] = {'d','r','a','g',0};
|
static const WCHAR dragW[] = {'d','r','a','g',0};
|
||||||
static const WCHAR ondragW[] = {'o','n','d','r','a','g',0};
|
static const WCHAR ondragW[] = {'o','n','d','r','a','g',0};
|
||||||
|
|
||||||
|
@ -105,6 +108,7 @@ static const event_info_t event_info[] = {
|
||||||
{blurW, onblurW, EVENT_DEFAULTLISTENER},
|
{blurW, onblurW, EVENT_DEFAULTLISTENER},
|
||||||
{changeW, onchangeW, EVENT_DEFAULTLISTENER|EVENT_BUBBLE},
|
{changeW, onchangeW, EVENT_DEFAULTLISTENER|EVENT_BUBBLE},
|
||||||
{clickW, onclickW, EVENT_DEFAULTLISTENER|EVENT_BUBBLE},
|
{clickW, onclickW, EVENT_DEFAULTLISTENER|EVENT_BUBBLE},
|
||||||
|
{dblclickW, ondblclickW, EVENT_DEFAULTLISTENER|EVENT_BUBBLE},
|
||||||
{dragW, ondragW, 0},
|
{dragW, ondragW, 0},
|
||||||
{dragstartW, ondragstartW, 0},
|
{dragstartW, ondragstartW, 0},
|
||||||
{focusW, onfocusW, EVENT_DEFAULTLISTENER},
|
{focusW, onfocusW, EVENT_DEFAULTLISTENER},
|
||||||
|
|
|
@ -21,6 +21,7 @@ typedef enum {
|
||||||
EVENTID_BLUR,
|
EVENTID_BLUR,
|
||||||
EVENTID_CHANGE,
|
EVENTID_CHANGE,
|
||||||
EVENTID_CLICK,
|
EVENTID_CLICK,
|
||||||
|
EVENTID_DBLCLICK,
|
||||||
EVENTID_DRAG,
|
EVENTID_DRAG,
|
||||||
EVENTID_DRAGSTART,
|
EVENTID_DRAGSTART,
|
||||||
EVENTID_FOCUS,
|
EVENTID_FOCUS,
|
||||||
|
|
Loading…
Reference in New Issue