ryancheung / ImeSharp

C# wrapper for Windows IME APIs
MIT License
71 stars 12 forks source link

Find a way to hide OS rendered ImeWindow #3

Closed ryancheung closed 4 years ago

ryancheung commented 4 years ago

The default TextStore of WPF have implemented ITfTransitoryExtensionSink(doc) to easily support text composition events. But in this way, if we want to hide the OS rendered ImeWindow, we have to use ITfTransitoryExtensionUIElement(doc) to hide the ImeWindow. But I'm not sure how to make it work.

If this way cannot work. We may switch to ITextStoreACP and use ITfUIElementSink to hide the OS ImeWindow.