ImeStatus Function | |
-- todo --
Turns the IME (Input Method Editor) window on or off or returns the current IME status.
Namespace:
XSharp.VFP
Assembly:
XSharp.VFP (in XSharp.VFP.dll) Version: 2.21
Syntax FUNCTION ImeStatus(
nExpression
) AS LONG CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public static int ImeStatus(
Usual nExpression = default
)
Request Example
View SourceParameters
- nExpression (Optional)
- Type: Usual
Turns the IME window on or off. The table in the remarks section lists the values for
nExpression and the corresponding state of the IME window.
Return Value
Type:
Long
Numeric
Remarks
For more information, see Developing International Applications.
This function is useful for manipulating double-byte character sets for languages such as Hiragana and Katakana.
nExpression | IME window action |
---|
0 | Turns the IME window off. |
1 | Turns the IME window on. |
If nExpression is omitted,
ImeStatus( ) returns the current IME status.
The following table lists the values returned for the IME status. Use VERSION(3) to determine the current locale.
The following table lists the values returned for the IME status in the Japanese locale.
Return value | IME status |
---|
0 | No IME installed |
1 | IME on |
2 | IME off |
3 | IME disabled |
4 | Hiragana mode (double-byte) |
5 | Katakana mode (double-byte) |
6 | Katakana mode (single-byte) |
7 | Alphanumeric mode (double-byte) |
8 | Alphanumeric mode (single-byte) |
The following table lists the values returned for the IME status in the Korean locale.
Return value | IME status |
---|
0 | No IME installed |
1 | Hangul mode (single-byte) |
2 | English mode (single-byte) |
11 | English mode (double-byte) |
15 | Hangul mode (double-byte) |
23 | Hanja conversion mode (Hangul + single-byte mode) |
31 | Hanja conversion mode (Hangul + double-byte mode) |
See Also