user32: Added support for WS_EX_RIGHT in the static control.
This commit is contained in:
parent
f4136deecb
commit
5cc82b07b3
|
@ -688,6 +688,9 @@ static void STATIC_PaintTextfn( HWND hwnd, HDC hdc, DWORD style )
|
|||
return;
|
||||
}
|
||||
|
||||
if (GetWindowLongW( hwnd, GWL_EXSTYLE ) & WS_EX_RIGHT)
|
||||
wFormat = DT_RIGHT | (wFormat & ~(DT_LEFT | DT_CENTER));
|
||||
|
||||
if (style & SS_NOPREFIX)
|
||||
wFormat |= DT_NOPREFIX;
|
||||
|
||||
|
|
Loading…
Reference in New Issue