mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
- Patch by hto: User32: MDICascade() bug, see bug 3919.
svn path=/trunk/; revision=37788
This commit is contained in:
parent
27204c5847
commit
1de5c6737b
1 changed files with 2 additions and 1 deletions
|
@ -746,10 +746,11 @@ static LONG MDICascade( HWND client, MDICLIENTINFO *ci )
|
|||
/* walk the list (backwards) and move windows */
|
||||
for (i = total - 1; i >= 0; i--)
|
||||
{
|
||||
MDI_CalcDefaultChildPos(client, n++, pos, delta, NULL);
|
||||
|
||||
TRACE("move %p to (%ld,%ld) size [%ld,%ld]\n",
|
||||
win_array[i], pos[0].x, pos[0].y, pos[1].x, pos[1].y);
|
||||
|
||||
MDI_CalcDefaultChildPos(client, n++, pos, delta, NULL);
|
||||
SetWindowPos( win_array[i], 0, pos[0].x, pos[0].y, pos[1].x, pos[1].y,
|
||||
SWP_DRAWFRAME | SWP_NOACTIVATE | SWP_NOZORDER);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue