简体   繁体   中英

how to know a input is ime or tsf?

i use win7 64bit, local language is chinese.

some input use ime, and some input use tsf.

i want use LoadKeyboardLayout() to active a special keyboard layout sometimes, but when call GetKeyboardLayoutName(), the tsf input and default ime return same keyboard layout "0x00000804"。

so i can't active tsf input use LoadKeyboardLayout(), i know how to active tsf input through ITfInputProcessorProfiles interface.

but how to get current input is ime or tsf?

thanks.

语言更改时,TSF将通过ITfLanguageProfileNotifySink发送通知,当IME更改时,TSF将通过ItfActiveLanguageProfileNotifySink发送通知。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM