Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VC++
Hi,
 
I have a problem of UI mirroring (For Arabic or Hebrew languages) with system dialogs such as file open/save, browser for folder. I have set WS_EX_LAYOUTRTL style but still its not working. Some controls on the dialog get mirrored, not all. What else I have to do to get it working?
 
Thanks & Regards,
Vaibhav D. Gade.
Posted 30-Aug-12 21:13pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Try also:
WS_EX_RIGHT
WS_EX_RTLREADING
 
You may also have to call ::EnumChildWindows() and change styles of child windows. For buttons and checboxes, BS_RIGHT | BS_LEFTTEXT; for static controls, SS_RIGHT: for all child windows, WS_EX_RIGHT.
 
Hope this helps,
Pablo.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Thanks your response.
 
Few minutes ago, I have found a solution as following:
If parent dialog is having WS_EX_LAYOUTRTL and operating system language is arablic or any other right to left reading language, then file open/save dialog or browse for folder dialog automatically gets mirrored.
 
Thanks,
Vaibhav.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 CHill60 360
1 Sarvesh Kumar Gupta 238
2 OriginalGriff 163
3 Sergey Alexandrovich Kryukov 163
4 DamithSL 153


Advertise | Privacy | Mobile
Web03 | 2.8.140709.1 | Last Updated 2 Sep 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid