Changes the current input mode (IME) into the mode user specified at its parameter. IMESetMode is supported for Windows DBCS system only.
IMESetMode ( IMEMode )
IMEMode
Integer value for the desired IME mode user prefer to set. You can specify the values listed in the following table for the IMEMode parameter.
Country or Region |
Constant |
Value |
Description |
---|---|---|---|
All |
IME_ON |
1 |
Set IME on |
IME_OFF |
2 |
Set IME off |
|
Japan |
IME_HIRAGANA |
4 |
Double-byte Hiragana |
IME_KATAKANA_DBCS |
5 |
Double-byte Katakana |
|
IME_KATAKANA_SBCS |
6 |
Single-byte Katakana |
|
IME_ALPHA_DBCS |
7 |
Double-byte alphanumeric |
|
IME_ALPHA_SBCS |
8 |
Single-byte alphanumeric |
|
Taiwan |
IME_NATIVE_MODE |
4 |
Taiwan native mode |
IME_ALPHA_DBCS |
7 |
Double-byte alphanumeric |
|
IME_ALPHA_SBCS |
8 |
Single-byte alphanumeric |
|
Korea |
IME_HANGEUL |
4 |
Hangeul DBC |
IME_HANJACONVERT |
5 |
Hanja conversion |
|
IME_ALPHA_DBCS |
7 |
Double-byte alphanumeric |
|
IME_ALPHA_SBCS |
8 |
Single-byte alphanumeric |
|
PRC |
IME_NATIVE_MODE |
4 |
PRC native mode |
IME_ALPHA_DBCS |
7 |
Double-byte alphanumeric |
|
IME_ALPHA_SBCS |
8 |
Single-byte alphanumeric |
TRUE
IME mode has been set successfully.
FALSE
Unable to set IME correctly, or unable to find IME on the system.
IMESetMode is available on interactive execution of LotusScript®.
The IMESetMode function is related with the IMEStatus function and generally used with it.
The IMESetMode function is expected to be used upon the Entering event of a Notes® field.