https://git.reactos.org/?p=reactos.git;a=commitdiff;h=76dfa2b284b03e276b917…
commit 76dfa2b284b03e276b91782eff69fcecdd72210c
Author:     Waritnan Sookbuntherng <lion328(a)hotmail.co.th>
AuthorDate: Tue Dec 11 22:25:16 2018 +0700
Commit:     Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Fri Aug 16 16:22:24 2019 +0200
    [COMCTL32] Checking size grip bounds in x-axis only
---
 dll/win32/comctl32/status.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/dll/win32/comctl32/status.c b/dll/win32/comctl32/status.c
index dd39f13f082..6ef04a66282 100644
--- a/dll/win32/comctl32/status.c
+++ b/dll/win32/comctl32/status.c
@@ -1023,10 +1023,7 @@ STATUSBAR_WMNCHitTest (const STATUS_INFO *infoPtr, INT x, INT y)
        pt.y = y;
        ScreenToClient (infoPtr->Self, &pt);
-       rect.left = rect.right - 13;
-       rect.top += 2;
-
-       if (PtInRect (&rect, pt))
+       if (pt.x >= rect.right - GetSystemMetrics(SM_CXVSCROLL))
         {
             if (GetWindowLongW( infoPtr->Self, GWL_EXSTYLE ) & WS_EX_LAYOUTRTL)
return HTBOTTOMLEFT;
            else return HTBOTTOMRIGHT;