mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[COMCTL32] Checking size grip bounds in x-axis only
This commit is contained in:
parent
b9ddad0bbb
commit
76dfa2b284
1 changed files with 1 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue