I need to know how to find out if the phone's selected language (the global one) is written left-to-right or right-to-left.
Longer story, for those interested
My application uses a CAknColumnListBox control, and also an external scrollbar (not directly bound to the list).
Everything works fine, except when the phone is set to use a right-to-left language, such as Arabic or Hebrew. In this case, the order of the list columns is reversed (first column at the right-most side, last column at the left), and the scroll appears on the left side.
Although this actually makes sense, I need to control this behavior, because:
- The list is left-to-right by nature (it includes technical English-only terms).
- Unlike standard lists, when using CAknColumnListBox directly, it does not properly lay out its scroll bars. So I'm using an external scroll bar, laying out the list myself to make room for the scrollbar. Therefore, I need to know on which side would the scrollbar appear.