Current input method becomes English input method in VB

xiaoxiao2021-03-06  37

Private Declare Function GetKeyboardLayoutList lib "User32" (Byval NBuff As Long, _

LPLIST AS Long) As long

Private Declare Function ActivateKeyboardLayout Lib "User32" (Byval HKL As Long, Byval_

Flags as long? as long

DIM LA (1) As long

DIM X as long

X = getKeyboardLayoutList (32, LA (1))

ActivateKeyboardLayout La (1), 1

转载请注明原文地址:https://www.9cbs.com/read-66511.html

New Post(0)