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
Post a Comment