From af200111b472e5daaf04ede61fafa357bf58683b Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 24 Sep 2010 15:37:16 +0200 Subject: [PATCH] comctl32: Return the correct hittest for the size grip in mirrored windows. --- dlls/comctl32/status.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dlls/comctl32/status.c b/dlls/comctl32/status.c index 1b69ef2d053..eeaf299f6b3 100644 --- a/dlls/comctl32/status.c +++ b/dlls/comctl32/status.c @@ -1047,7 +1047,10 @@ STATUSBAR_WMNCHitTest (const STATUS_INFO *infoPtr, INT x, INT y) rect.top += 2; if (PtInRect (&rect, pt)) - return HTBOTTOMRIGHT; + { + if (GetWindowLongW( infoPtr->Self, GWL_EXSTYLE ) & WS_EX_LAYOUTRTL) return HTBOTTOMLEFT; + else return HTBOTTOMRIGHT; + } } return HTERROR; -- 2.11.4.GIT