comctl32: Return the correct hittest for the size grip in mirrored windows.
This commit is contained in:
parent
deaf2f593d
commit
af200111b4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue