Home > Back-end >  CPP are how to obtain under Windows for the state of the Chinese input?
CPP are how to obtain under Windows for the state of the Chinese input?

Time:10-12

After we select an input method for Chinese input, then there will be a pinyin, a UI to choose words,

I want to know, under Windows is how to determine the choice of the UI (is, I'm in the input, but haven't finished input),

Because the keyboard events will not be because you are Chinese input, will not be distributed to the program,

I guess there should be a WINDOWS_API do this, after all, the state will certainly commonly used when the application is written to, hope that they can help me answer the bosses

CodePudding user response:

Windows have so two events to notify
Wm_ime_startcomposition
wm_ime_endcomposition
  • Related