The name of the input locale identifier to load. The MSDN page for LoadKeyboardLayout() says this about the pwszKLID parameter: The little "IME box" is missing when typing something. Then the language is indeed changed to Chinese, but the keyboard settings are wrong. If I remove Chinese from Keyboards and languages in the Control Panel and run this: HKL hKeyboardLayout = ::LoadKeyboardLayout(_T("00000804"), KLF_ACTIVATE | KLF_SETFORPROCESS) The problem is this: I must set the user's language to Simplified Chinese and the keyboard to "Chinese (Simplified) - Microsoft Pinyin New Experience Input st".īy setting this combo manually in the Control Panel (Region -> Keyboards and languages) and then running a small test program which calls GetKeyboardLayoutName(), I've found out that the KLID is 00000804 (supposedly).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |