projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b9ddad0
)
[COMCTL32] Checking size grip bounds in x-axis only
author
Waritnan Sookbuntherng
<lion328@hotmail.co.th>
Tue, 11 Dec 2018 15:25:16 +0000
(22:25 +0700)
committer
Mark Jansen
<mark.jansen@reactos.org>
Fri, 16 Aug 2019 14:22:24 +0000
(16:22 +0200)
dll/win32/comctl32/status.c
patch
|
blob
|
history
diff --git
a/dll/win32/comctl32/status.c
b/dll/win32/comctl32/status.c
index
dd39f13
..
6ef04a6
100644
(file)
--- 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);
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;
{
if (GetWindowLongW( infoPtr->Self, GWL_EXSTYLE ) & WS_EX_LAYOUTRTL) return HTBOTTOMLEFT;
else return HTBOTTOMRIGHT;