The WM_INPUTLANGCHANGE message is sent to the topmost affected window after a task's locale has been changed. It should be used to make any application-specific settings and passed on to the DefWindowProc function to be passed on to any children.
WM_INPUTLANGCHANGE
charset = wParam;
hkl = (HKL) lParam;
Parameters
charset
Value of wParam. Specifies the character set of the new keyboard layout.
hkl
Value of lParam. Identifies the new keyboard layout.
Return Values
An application should return nonzero if it processes this message.
See Also