comctl32: Return the correct hittest for the size grip in mirrored windows.

This commit is contained in:
Alexandre Julliard 2010-09-24 15:37:16 +02:00
parent deaf2f593d
commit af200111b4
1 changed files with 4 additions and 1 deletions

View File

@ -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;