如何获取当前正在使用的系统输入法,注意不是系统输入法列表

解决方案 »

  1.   

    你可以试一试通过获得又下角的Icon,然后把相同的Icon放到ImageList里面
    比较ICon
      

  2.   

    HKL GetKeyboardLayout( DWORD dwThreadId );
    The keyboard layout handle for the thread indicates success. The low-order word contains a language identifier for the input language and the high-order word contains a device handle for the physical layout of the keyboard. For more information about language identifiers, see Language Identifiers and Locales.