There is a EDWIN in my application for holding received text from internet. Users can edit the text in the EDWIN. Now I want to change the input language according to the text language in the EDWIN.
For example, if the received text in EDWIN is English, the text input language for the EDWIN will be set to "Abc" automatically. And if the text is Chinese, the input language will be set to "PinYin" automatically. But I do not know the API for changing input language in EDWIN.
I tried the following codes, but it did not work:
Please help me!