如果你控制打开的话,可以用IMM
Delphi syntax:
type TImeMode = (imDisable, imClose, imOpen, imDontCare, imSAlpha, imAlpha, imHira, imSKata, imKata, imChinese, imSHanguel, imHanguel);
C++ syntax:
enum TImeMode { imDisable, imClose, imOpen, imDontCare, imSAlpha, imAlpha, imHira, imSKata, imKata, imChinese, imSHanguel, imHanguel };
Description
TImeMode represents the way an Input Method Editor operates to convert keyboard input typed on an Asian version of Windows. TImeMode has the following values:
Value Meaning
imDisable Shut down the IME. imDisable has no effect on Chinese, Taiwanese, or Korean IMEs.
imClose Close the IME conversion window, but leave the IME running in the background. The IME can be reactivated by a hot key combination.
imOpen Open the IME conversion window. The conversion mode is the last conversion mode used by the IME.
imDontCare Launch the IME if it is disabled. The conversion mode is the last conversion mode used by the IME.
imSAlpha Open the IME conversion window and set the conversion mode to accept single-width Roman alphabet input.
imAlpha Open the IME conversion window and set the conversion mode to accept double-width Roman alphabet input.
imHira Open the IME conversion window and set the conversion mode to double-width Hiragana. imHira is only available for Japanese IMEs.
imSKata Open the IME conversion window and set the conversion mode to single-width Katakana (Hankaku Katakana). imSKata is only available for Japanese IMEs.
imKata Open the IME conversion window and set the conversion mode to double-width Katakana (Zenkaku Katakana). imKata is only available for Japanese IMEs.
imChinese Open the IME conversion window and set the conversion mode to double-width Chinese. imChinese is only available for Chinese IMEs.
imSHanguel Open the IME conversion window and set the conversion mode to single-width Hanguel. imSHanguel is only available for Korean IMEs.
imHanguel Open the IME conversion window and set the conversion mode to double-width Hanguel. imHanguel is only available for Korean IMEs.