Method ActivateForWindow
ActivateForWindow(KeyboardLayout, IWindowHandle)
Works much more reliable than ActivateKeyboardLayout
Declaration
void ActivateForWindow(KeyboardLayout layout, IWindowHandle targetWindow)
Parameters
Type | Name | Description |
---|---|---|
KeyboardLayout | layout | |
IWindowHandle | targetWindow |