From a8e4425cdc5f36cdfca8334e877744b60763ceaf Mon Sep 17 00:00:00 2001 From: Vadim Andrievskiy Date: Fri, 9 Apr 2010 14:13:06 +0400 Subject: [PATCH 2/3] user32: Allow WM_MOVING messages from window --- dlls/user32/winpos.c | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/dlls/user32/winpos.c b/dlls/user32/winpos.c index 8f87e89..4c620c9 100644 --- a/dlls/user32/winpos.c +++ b/dlls/user32/winpos.c @@ -2587,8 +2587,14 @@ void WINPOS_SysCommandSizeMove( HWND hwnd, WPARAM wParam ) /* determine the hit location */ if (hittest >= HTLEFT && hittest <= HTBOTTOMRIGHT) + { wpSizingHit = WMSZ_LEFT + (hittest - HTLEFT); - SendMessageW( hwnd, WM_SIZING, wpSizingHit, (LPARAM)&newRect ); + SendMessageW( hwnd, WM_SIZING, wpSizingHit, (LPARAM)&newRect ); + } + else if (hittest == HTCAPTION) + { + SendMessageW( hwnd, WM_MOVING, wpSizingHit, (LPARAM)&newRect ); + } /* convert back to client coordinates id needed */ if(converted) -- 1.6.5.8