IME编程例子 介绍了如何获取IME信息,极有价值: It shows how to control IME mode using C/C++. You can set the initial IME mode of CIMEEdit as to input language, shape, and so on.