Alexandre Julliard : comctl32: Return the correct hittest for the size grip in mirrored windows.
Alexandre Julliard
julliard at winehq.org
Fri Sep 24 11:43:46 CDT 2010
Module: wine
Branch: master
Commit: af200111b472e5daaf04ede61fafa357bf58683b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=af200111b472e5daaf04ede61fafa357bf58683b
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Sep 24 15:37:16 2010 +0200
comctl32: Return the correct hittest for the size grip in mirrored windows.
---
dlls/comctl32/status.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/status.c b/dlls/comctl32/status.c
index 1b69ef2..eeaf299 100644
--- a/dlls/comctl32/status.c
+++ b/dlls/comctl32/status.c
@@ -1047,7 +1047,10 @@ STATUSBAR_WMNCHitTest (const STATUS_INFO *infoPtr, INT x, INT y)
rect.top += 2;
if (PtInRect (&rect, pt))
- return HTBOTTOMRIGHT;
+ {
+ if (GetWindowLongW( infoPtr->Self, GWL_EXSTYLE ) & WS_EX_LAYOUTRTL) return HTBOTTOMLEFT;
+ else return HTBOTTOMRIGHT;
+ }
}
return HTERROR;
More information about the wine-cvs
mailing list