Method GetCurrent
GetCurrent()
Uses GetKeyboardLayout(), must be called from thread with message pump, otherwise it won't work as expected
Declaration
KeyboardLayout GetCurrent()
Returns
Type | Description |
---|---|
KeyboardLayout |
GetCurrent(IWindowHandle)
Uses GetKeyboardLayout for specified window thread, must be called from thread with message pump, otherwise it won't work as expected
Declaration
KeyboardLayout GetCurrent(IWindowHandle targetWindow)
Parameters
Type | Name | Description |
---|---|---|
IWindowHandle | targetWindow |
Returns
Type | Description |
---|---|
KeyboardLayout |