mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 22:47:28 +00:00
[EXPLORER]
- Avoid activating windows when updating their size and position CORE-11217 svn path=/trunk/; revision=71318
This commit is contained in:
parent
6df01a9cb0
commit
297eae47ed
|
@ -1052,7 +1052,7 @@ ChangePos:
|
||||||
rcTray.top,
|
rcTray.top,
|
||||||
rcTray.right - rcTray.left,
|
rcTray.right - rcTray.left,
|
||||||
rcTray.bottom - rcTray.top,
|
rcTray.bottom - rcTray.top,
|
||||||
SWP_NOZORDER);
|
SWP_NOZORDER | SWP_NOACTIVATE);
|
||||||
|
|
||||||
ResizeWorkArea();
|
ResizeWorkArea();
|
||||||
|
|
||||||
|
@ -1146,7 +1146,7 @@ ChangePos:
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
SWP_NOMOVE | SWP_NOSIZE);
|
SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE);
|
||||||
|
|
||||||
/* Determine a minimum tray window rectangle. The "client" height is
|
/* Determine a minimum tray window rectangle. The "client" height is
|
||||||
zero here since we cannot determine an optimal minimum width when
|
zero here since we cannot determine an optimal minimum width when
|
||||||
|
@ -1456,7 +1456,7 @@ ChangePos:
|
||||||
{
|
{
|
||||||
SetWindowStyle(m_hWnd, WS_THICKFRAME | WS_BORDER, WS_THICKFRAME | WS_BORDER);
|
SetWindowStyle(m_hWnd, WS_THICKFRAME | WS_BORDER, WS_THICKFRAME | WS_BORDER);
|
||||||
}
|
}
|
||||||
SetWindowPos(NULL, 0, 0, 0, 0, SWP_FRAMECHANGED | SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER | SWP_NOOWNERZORDER);
|
SetWindowPos(NULL, 0, 0, 0, 0, SWP_FRAMECHANGED | SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER | SWP_NOOWNERZORDER);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
@ -1825,7 +1825,7 @@ ChangePos:
|
||||||
{
|
{
|
||||||
SetWindowStyle(m_hWnd, WS_THICKFRAME | WS_BORDER, WS_THICKFRAME | WS_BORDER);
|
SetWindowStyle(m_hWnd, WS_THICKFRAME | WS_BORDER, WS_THICKFRAME | WS_BORDER);
|
||||||
}
|
}
|
||||||
SetWindowPos(NULL, 0, 0, 0, 0, SWP_FRAMECHANGED | SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER | SWP_NOOWNERZORDER);
|
SetWindowPos(NULL, 0, 0, 0, 0, SWP_FRAMECHANGED | SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER | SWP_NOOWNERZORDER);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue