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
64fe2774
Commit
64fe2774
authored
Nov 02, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 02, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added implementation of QueryStatus(IDM_UNDERLINE).
parent
5e0d749c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
olecmd.c
dlls/mshtml/olecmd.c
+4
-3
htmldoc.c
dlls/mshtml/tests/htmldoc.c
+1
-0
No files found.
dlls/mshtml/olecmd.c
View file @
64fe2774
...
...
@@ -41,6 +41,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(mshtml);
#define NSCMD_BOLD "cmd_bold"
#define NSCMD_ITALIC "cmd_italic"
#define NSCMD_UNDERLINE "cmd_underline"
/**********************************************************
* IOleCommandTarget implementation
...
...
@@ -408,7 +409,7 @@ static HRESULT exec_underline(HTMLDocument *This)
TRACE
(
"(%p)
\n
"
,
This
);
if
(
This
->
nscontainer
)
do_ns_command
(
This
->
nscontainer
,
"cmd_underline"
,
NULL
);
do_ns_command
(
This
->
nscontainer
,
NSCMD_UNDERLINE
,
NULL
);
return
S_OK
;
}
...
...
@@ -674,8 +675,8 @@ static HRESULT WINAPI OleCommandTarget_QueryStatus(IOleCommandTarget *iface, con
prgCmds
[
i
].
cmdf
=
OLECMDF_SUPPORTED
|
OLECMDF_ENABLED
;
break
;
case
IDM_UNDERLINE
:
FIXM
E
(
"CGID_MSHTML: IDM_UNDERLINE
\n
"
);
prgCmds
[
i
].
cmdf
=
OLECMDF_SUPPORTED
|
OLECMDF_ENABLED
;
TRAC
E
(
"CGID_MSHTML: IDM_UNDERLINE
\n
"
);
prgCmds
[
i
].
cmdf
=
query_edit_status
(
This
,
NSCMD_UNDERLINE
)
;
break
;
case
IDM_HORIZONTALLINE
:
FIXME
(
"CGID_MSHTML: IDM_HORIZONTALLINE
\n
"
);
...
...
dlls/mshtml/tests/htmldoc.c
View file @
64fe2774
...
...
@@ -2041,6 +2041,7 @@ static void test_MSHTML_QueryStatus(IUnknown *unk, DWORD 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
);
}
static
void
test_OleCommandTarget
(
IUnknown
*
unk
)
...
...
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