mshtml: Added QueryStatus(IDM_FONTSIZE) implementation.

This commit is contained in:
Jacek Caban 2006-11-09 10:45:05 +01:00 committed by Alexandre Julliard
parent cab25424d2
commit fd5da1a7b9
2 changed files with 3 additions and 2 deletions

View File

@ -640,8 +640,8 @@ static HRESULT WINAPI OleCommandTarget_QueryStatus(IOleCommandTarget *iface, con
prgCmds[i].cmdf = query_edit_status(This, NULL);
break;
case IDM_FONTSIZE:
FIXME("CGID_MSHTML: IDM_FONTSIZE\n");
prgCmds[i].cmdf = OLECMDF_SUPPORTED|OLECMDF_ENABLED;
TRACE("CGID_MSHTML: IDM_FONTSIZE\n");
prgCmds[i].cmdf = query_edit_status(This, NULL);
break;
case IDM_PASTE:
FIXME("CGID_MSHTML: IDM_PASTE\n");

View File

@ -2040,6 +2040,7 @@ static void test_MSHTML_QueryStatus(IUnknown *unk, DWORD cmdf)
else unk = _unk;
test_QueryStatus(unk, &CGID_MSHTML, IDM_FONTNAME, cmdf);
test_QueryStatus(unk, &CGID_MSHTML, IDM_FONTSIZE, cmdf);
test_QueryStatus(unk, &CGID_MSHTML, IDM_BOLD, cmdf);
test_QueryStatus(unk, &CGID_MSHTML, IDM_ITALIC, cmdf);
test_QueryStatus(unk, &CGID_MSHTML, IDM_UNDERLINE, cmdf);