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
e90418d3
Commit
e90418d3
authored
Jun 06, 2013
by
Sergey Guralnik
Committed by
Alexandre Julliard
Jun 06, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Bring reference MDI child to bottom when switching to next.
parent
4ee9aef0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
mdi.c
dlls/user32/mdi.c
+4
-1
win.c
dlls/user32/tests/win.c
+0
-2
No files found.
dlls/user32/mdi.c
View file @
e90418d3
...
...
@@ -1156,8 +1156,11 @@ LRESULT MDIClientWndProc_common( HWND hwnd, UINT message, WPARAM wParam, LPARAM
case
WM_MDINEXT
:
/* lParam != 0 means previous window */
{
HWND
next
=
MDI_GetWindow
(
ci
,
WIN_GetFullHandle
(
(
HWND
)
wParam
),
!
lParam
,
0
);
HWND
hwnd
=
wParam
?
WIN_GetFullHandle
((
HWND
)
wParam
)
:
ci
->
hwndActiveChild
;
HWND
next
=
MDI_GetWindow
(
ci
,
hwnd
,
!
lParam
,
0
);
MDI_SwitchActiveChild
(
ci
,
next
,
TRUE
);
if
(
!
lParam
)
SetWindowPos
(
hwnd
,
HWND_BOTTOM
,
0
,
0
,
0
,
0
,
SWP_NOSIZE
|
SWP_NOMOVE
|
SWP_NOACTIVATE
);
break
;
}
...
...
dlls/user32/tests/win.c
View file @
e90418d3
...
...
@@ -1545,7 +1545,6 @@ static void test_MDI_child_stack(HWND mdi_client)
stack
[
1
]
=
GetWindow
(
stack
[
0
],
GW_HWNDNEXT
);
stack
[
2
]
=
GetWindow
(
stack
[
1
],
GW_HWNDNEXT
);
stack
[
3
]
=
GetWindow
(
stack
[
2
],
GW_HWNDNEXT
);
todo_wine
ok
(
stack
[
0
]
==
child_2
&&
stack
[
1
]
==
child_4
&&
stack
[
2
]
==
child_1
&&
stack
[
3
]
==
child_3
,
"Broken MDI child stack:
\n
expected: %p->%p->%p->%p, but got: %p->%p->%p->%p
\n
"
,
...
...
@@ -1558,7 +1557,6 @@ todo_wine
stack
[
1
]
=
GetWindow
(
stack
[
0
],
GW_HWNDNEXT
);
stack
[
2
]
=
GetWindow
(
stack
[
1
],
GW_HWNDNEXT
);
stack
[
3
]
=
GetWindow
(
stack
[
2
],
GW_HWNDNEXT
);
todo_wine
ok
(
stack
[
0
]
==
child_4
&&
stack
[
1
]
==
child_2
&&
stack
[
2
]
==
child_1
&&
stack
[
3
]
==
child_3
,
"Broken MDI child stack:
\n
expected: %p->%p->%p->%p, but got: %p->%p->%p->%p
\n
"
,
...
...
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