Hello,
Welcome to our Microsoft Q&A platform!
The Q&A platform is currently in preview, and your question is not currently supported. Your question is more about C++, so you can go to C++ forum to ask it.
Thanks.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm author of a Traditional Chinese Input Method.
My IME works very well before Windows 10 Version 1703, but the screen keyboard always shows English layout instead of Chinese Phonetic (Bopomofo) layout after Windows 10 Version 1709.
The steps to reproduce this problem:
#define TEXTSERVICE_LANGID MAKELANGID(LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED)
to
#define TEXTSERVICE_LANGID MAKELANGID(LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL)
*pwPreferredLayoutId = TKBL_OPT_SIMPLIFIED_CHINESE_PINYIN;
to
*pwPreferredLayoutId = TKBL_OPT_TRADITIONAL_CHINESE_PHONETIC;
Then it is only able to show English keyboard, but not Chinese Phonetic keyboard.
After doing some traces and debugs, it seems that system didn't use ITfFunctionProvider::GetFunction to query IID_ITfFnGetPreferredTouchKeyboardLayout and then have a chance to call its GetLayout method to change the touch-screen keyboard layout.
Thanks for your help in advance.
Hello,
Welcome to our Microsoft Q&A platform!
The Q&A platform is currently in preview, and your question is not currently supported. Your question is more about C++, so you can go to C++ forum to ask it.
Thanks.