Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Right-to-Left languages not displayed properly Collapse All
Subject Author Date
Vasil Georgiev Jan 13, 2011 - 11:07 PM

Dear Prof-UIS Tech Support Team,


I wrote you on the support email more than 2 weeks ago but I have not received any response about this issue. So here is the problem again:

We were notified about a problem in our product and we see that it exists in your LanguageSwitcher-u.exe sample too!

The reserve of  words when we are in right-to-left mode is not done properly as it was before.

For example you can choose Arabic and check the context menu on the toolbar or menubar in your LanguageSwitcher sample, the text is the same - left oriented no matter if we select Right-to-Left or not

The check mars are moved to right the text itself is not left oriented always.

The text is shown properly in previous versions of Prof-UI in the same sample.

The problem is not just to the context menu, but we seen in all the controls in our project like : CExtLabel, ReportGrid, etc.



Thank you  for your support!

Technical Support Jan 20, 2011 - 8:04 AM

The RTL subsystem inside Prof-UIS is provided by the unicode.org consortium. This subsystem was just adopted for Prof-UIS. It’s no based on our source code and we still trying to fix the text processing in it.

If you are not using HTML formatted text with Prof-UIS classes, then you can temporarily fix the RTL problem using the following line of code invoked during app initialization:

CExtRichContentLayout::g_bUseWin32ForPlainText = true;