登录 注册
当前位置:主页 > 资源下载 > 16 > 在VB环境下输入法自动切换

在VB环境下输入法自动切换

  • 更新:2024-11-23 10:51:56
  • 大小:3KB
  • 推荐:★★★★★
  • 来源:网友上传分享
  • 类别:VB - 后端
  • 格式:RAR

资源介绍

'设置输入法自动切换 Public ImeNo As Integer, ImeName As String Public Declare Function GetKeyboardLayoutList Lib "user32" (ByVal nBuff As Long, _ lpList As Long) As Long Public Declare Function GetKeyboardLayoutName Lib "user32" Alias "GetKeyboardLayoutNameA" _ (ByVal pwszKLID As String) As Long Public Declare Function GetKeyboardLayout Lib "user32" (ByVal dwLayout As Long) As Long Public Declare Function ImmGetDescription Lib "imm32.dll" Alias "ImmGetDescriptionA" (ByVal _ hkl As Long, ByVal lpsz As String, ByVal uBufLen As Long) As Long Public Declare Function ActivateKeyboardLayout Lib "user32" (ByVal hkl As Long, ByVal _ flags As Long) As Long ... ...