mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08:00
[COMCTL32] Checking size grip bounds in x-axis only
This commit is contained in:
committed by
Mark Jansen
parent
b9ddad0bbb
commit
76dfa2b284
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user