mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 22:13:06 +00:00
[win32k]
-WM_WINDOWPOSCHANGED should contain the final window position svn path=/trunk/; revision=47273
This commit is contained in:
parent
4b41a0b347
commit
0a81d8d27b
1 changed files with 9 additions and 0 deletions
|
@ -1416,7 +1416,16 @@ co_WinPosSetWindowPos(
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((WinPos.flags & SWP_AGG_STATUSFLAGS) != SWP_AGG_NOPOSCHANGE)
|
if ((WinPos.flags & SWP_AGG_STATUSFLAGS) != SWP_AGG_NOPOSCHANGE)
|
||||||
|
{
|
||||||
|
/* WM_WINDOWPOSCHANGED is sent even if SWP_NOSENDCHANGING is set
|
||||||
|
and always contains final window position.
|
||||||
|
*/
|
||||||
|
WinPos.x = NewWindowRect.left;
|
||||||
|
WinPos.y = NewWindowRect.top;
|
||||||
|
WinPos.cx = NewWindowRect.right - NewWindowRect.left;
|
||||||
|
WinPos.cy = NewWindowRect.bottom - NewWindowRect.top;
|
||||||
co_IntSendMessageNoWait(WinPos.hwnd, WM_WINDOWPOSCHANGED, 0, (LPARAM) &WinPos);
|
co_IntSendMessageNoWait(WinPos.hwnd, WM_WINDOWPOSCHANGED, 0, (LPARAM) &WinPos);
|
||||||
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue