The Static control processes its text according to its window bidi attributes.
The DT_RIGHT flag is the default when the window has RtL orientation.
The DT_WORDBREAK is sensitive to the text orientation in the BiDi attributes word.
When SS_GROUPBOX is specified in Static controls that have RtL window orientation, the text is right-justified.