Multi-Language Problem....Awaiting For Multilingual Guru Answer
-
PROBLEM -------- Actually i want to change the Layout of Dialog at run time, so i call CWnd::ModifyStyleEx(0,WS_EX_LAYOUTRTL); It changes the tiltle and System Menu location from right to left.but it did not change the location of other controls lying on the dialog, eg Button, ComboBox, etc. if i set the "Right to left layout (More Extended Style)at design time, then it changes the layout of all other controls lying on dialog automatically" so would u tell me where is the problem. Explanation ----------- if i fix the property at design time (More Extended Style) "Right to lfet layout" then it works fine, it changes the layout of all controls, even CTreeCtrl, but if i chnage this property at run time by calling CWnd::ModifyStyleEx(0,WS_EX_LAYOUTRTL);then it changes only title bar and no effect on other controls. Have a nice wishes for multilingual guru
-
PROBLEM -------- Actually i want to change the Layout of Dialog at run time, so i call CWnd::ModifyStyleEx(0,WS_EX_LAYOUTRTL); It changes the tiltle and System Menu location from right to left.but it did not change the location of other controls lying on the dialog, eg Button, ComboBox, etc. if i set the "Right to left layout (More Extended Style)at design time, then it changes the layout of all other controls lying on dialog automatically" so would u tell me where is the problem. Explanation ----------- if i fix the property at design time (More Extended Style) "Right to lfet layout" then it works fine, it changes the layout of all controls, even CTreeCtrl, but if i chnage this property at run time by calling CWnd::ModifyStyleEx(0,WS_EX_LAYOUTRTL);then it changes only title bar and no effect on other controls. Have a nice wishes for multilingual guru
Surely the answer to this is to convert your code to Unicode !! This support Multi-Languages, All you need to do then is to use different resource for each Language.