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
bd95cb54
Commit
bd95cb54
authored
Feb 24, 2014
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 24, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wmp: Added DoVerb(OLEIVERB_HIDE) implementation.
parent
b0f4ed18
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
oleobj.c
dlls/wmp/oleobj.c
+10
-0
oleobj.c
dlls/wmp/tests/oleobj.c
+4
-0
No files found.
dlls/wmp/oleobj.c
View file @
bd95cb54
...
...
@@ -396,6 +396,16 @@ static HRESULT WINAPI OleObject_DoVerb(IOleObject *iface, LONG iVerb, LPMSG lpms
case
OLEIVERB_INPLACEACTIVATE
:
TRACE
(
"(%p)->(OLEIVERB_INPLACEACTIVATE)
\n
"
,
This
);
return
activate_inplace
(
This
);
case
OLEIVERB_HIDE
:
if
(
!
This
->
hwnd
)
{
FIXME
(
"No window to hide
\n
"
);
return
E_UNEXPECTED
;
}
ShowWindow
(
This
->
hwnd
,
SW_HIDE
);
return
S_OK
;
default:
FIXME
(
"Unsupported iVerb %d
\n
"
,
iVerb
);
}
...
...
dlls/wmp/tests/oleobj.c
View file @
bd95cb54
...
...
@@ -926,6 +926,10 @@ static void test_wmp(void)
test_window
(
hwnd
);
hres
=
IOleObject_DoVerb
(
oleobj
,
OLEIVERB_HIDE
,
NULL
,
&
ClientSite
,
0
,
container_hwnd
,
&
pos
);
ok
(
hres
==
S_OK
,
"DoVerb failed: %08x
\n
"
,
hres
);
ok
(
!
IsWindowVisible
(
hwnd
),
"Window is visible
\n
"
);
SET_EXPECT
(
OnShowWindow_FALSE
);
SET_EXPECT
(
OnInPlaceDeactivate
);
hres
=
IOleObject_Close
(
oleobj
,
0
);
...
...
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