This article was previously published under Q123145
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
In the Arabic, Hebrew, and Greek versions of Windows version 3.1, you cancan change the keyboard language dynamically.
The WM_KEYBOARD_CHANGE and WM_LANGUAGE_CHANGE messages are sent toapplications to inform them of the language change.
WM_LANGUAGE_CHANGE is sent prior to changing the keyboard language. It isnot sent it to the topmost window of the active application. It should beignored by the application, unless for some reason the application wishesto stop the change of language. wParam holds either KEYB_LATIN orKEYB_BIDI. lParam is undefined.
WM_KEYBOARD_CHANGE is sent to the window with the focus whenever thekeyboard language changes. It is sent to the active window. wParam holdseither KEYB_LATIN or KEYB_BIDI. lParam is undefined.