mirror of
https://github.com/reactos/reactos.git
synced 2024-09-27 21:16:34 +00:00
[COMCTL32] Checking size grip bounds in x-axis only
This commit is contained in:
parent
b9ddad0bbb
commit
76dfa2b284
|
@ -1023,10 +1023,7 @@ STATUSBAR_WMNCHitTest (const STATUS_INFO *infoPtr, INT x, INT y)
|
||||||
pt.y = y;
|
pt.y = y;
|
||||||
ScreenToClient (infoPtr->Self, &pt);
|
ScreenToClient (infoPtr->Self, &pt);
|
||||||
|
|
||||||
rect.left = rect.right - 13;
|
if (pt.x >= rect.right - GetSystemMetrics(SM_CXVSCROLL))
|
||||||
rect.top += 2;
|
|
||||||
|
|
||||||
if (PtInRect (&rect, pt))
|
|
||||||
{
|
{
|
||||||
if (GetWindowLongW( infoPtr->Self, GWL_EXSTYLE ) & WS_EX_LAYOUTRTL) return HTBOTTOMLEFT;
|
if (GetWindowLongW( infoPtr->Self, GWL_EXSTYLE ) & WS_EX_LAYOUTRTL) return HTBOTTOMLEFT;
|
||||||
else return HTBOTTOMRIGHT;
|
else return HTBOTTOMRIGHT;
|
||||||
|
|
Loading…
Reference in a new issue