c# - WPF TextBox.Select is asynchronous in Google Japanese IME from Win8? -


i using code below insert text inside textbox @ background, @ same time when user typing inside it. worked until windows 7, when asian language input method on, both ms japanese ime , google japanese ime.

private void inserttext(int pos, string text) {     textbox.select(pos, 0);     textbox.selectedtext = text; } 

however, in windows 8, when google japanese ime used, textbox.select() doesn't take effect after called. selectedtext above not pointing pos until after releases ui thread.

does know how solve problem?

p.s. ms ime works in win8, japanese input candidate cancelled when calling above method.


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -