MultiLanguage Problem |
Post Reply |
Author | |
Kenneth
Senior Member Joined: 23 May 2004 Location: United States Status: Offline Points: 256 |
Post Options
Thanks(0)
Posted: 04 June 2007 at 2:54pm |
I have an application that uses the CXTPStatusBar which contains various controls such as text panes, images and a progress control. When this statusbar is displayed upon program start, regardless of language type, everything is perfect.
If I change the language type from a left to right language style to a right to left language style (such as English to Saudi Arabia) all the extra items are not displayed correctly. If I exit and restart the application, everything is then displayed correctly.
Is there some special function that must be called for the CXTPStatusBar when the language display type is changed? I checked the MultiLanguage and ScribbleMultiLang examples, however neither has additional controls.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
How do you switch RTL mode? Do you set WS_EX_LAYOUTRTL for all items in statusbar?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Kenneth
Senior Member Joined: 23 May 2004 Location: United States Status: Offline Points: 256 |
Post Options
Thanks(0)
|
Oleg
I use the same logic as the toolkit MultiLanguage langManager.cpp and the respective code in mainfrm.cpp. I did verify that WS_EX_LAYOUTRTL was set in all child windows by a routine in the langManager.cpp.
You can see this problem by simply adding a few panes, etc. from the toolkit Statusbar example to the MultiLanguage sample.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |