Click here to Skip to main content
12,752,373 members (34,538 online)
Rate this:
Please Sign up or sign in to vote.
See more: VisualC++

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 22:13pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Try also:

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,
Rate this: bad
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.


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

    Print Answers RSS
Top Experts
Last 24hrsThis month

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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100