mshtml: Added IDM_UNDERLINE implementation.
This commit is contained in:
parent
9fb9ca0d5d
commit
fd79923100
|
@ -379,6 +379,16 @@ static HRESULT exec_italic(HTMLDocument *This)
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT exec_underline(HTMLDocument *This)
|
||||
{
|
||||
TRACE("(%p)\n", This);
|
||||
|
||||
if(This->nscontainer)
|
||||
do_ns_command(This->nscontainer, "cmd_underline", NULL);
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT exec_browsemode(HTMLDocument *This)
|
||||
{
|
||||
WARN("(%p)\n", This);
|
||||
|
@ -748,6 +758,10 @@ static HRESULT WINAPI OleCommandTarget_Exec(IOleCommandTarget *iface, const GUID
|
|||
if(pvaIn || pvaOut)
|
||||
FIXME("unsupported arguments\n");
|
||||
return exec_italic(This);
|
||||
case IDM_UNDERLINE:
|
||||
if(pvaIn || pvaOut)
|
||||
FIXME("unsupported arguments\n");
|
||||
return exec_underline(This);
|
||||
case IDM_BROWSEMODE:
|
||||
if(pvaIn || pvaOut)
|
||||
FIXME("unsupported arguments\n");
|
||||
|
|
Loading…
Reference in New Issue