How to determine the current keyboard layout ? ( That is, when we switch the language by CTRL+SHIFT or ALT+SHIFT )
Why does not the definition of language ID ? :
!define SPI_GETDEFAULTINPUTLANG 0x0059
System::Call "user32::SystemParametersInfo(i${SPI_GETDEFAULTINPUTLANG},i0,i1,i0)"
MessageBox MB_OK "Lang ID: $1"
How to determine the current keyboard layout ?
2 posts