Jump to content
Sign in to follow this  

WM to switch input direction

Recommended Posts


hello all RTL & non-RTL typers,


as you must have noticed, the keyboard combination Alt + Shift is often used to switch input language.

for RTL (right-to-left) languages, the keyboard combination Right Ctrl + Shift is commonly used to switch writing direction to RTL, and Left Ctrl + Shift to switch back to LTR. note: this is not the same as paragraph right-align / left-align!


i want to switch language and direction for the active window, and i found Send() to be somewhat unreliable.

solution (so far):

i managed to change the language by sending WM_INPUTLANGCHANGEREQUEST with lParam being the language code. that works perfectly. ref:




i can't find the relevant WM for changing the direction.

thanks to anyone who can provide any hint on that.

Share this post

Link to post
Share on other sites







yet again my premonitions misguide me! i was sure these only switch the language to whatever is next (or previous) on the list of languages. you are correct, that is exactly what i was looking for, thanks!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.