Click or drag to resize

ImeStatus Function

X#
-- 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
Request Example View Source

Parameters

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.
nExpressionIME window action
0Turns the IME window off.
1Turns 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 valueIME status
0No IME installed
1IME on
2IME off
3IME disabled
4Hiragana mode (double-byte)
5Katakana mode (double-byte)
6Katakana mode (single-byte)
7Alphanumeric mode (double-byte)
8Alphanumeric mode (single-byte)

The following table lists the values returned for the IME status in the Korean locale.
Return valueIME status
0No IME installed
1Hangul mode (single-byte)
2English mode (single-byte)
11English mode (double-byte)
15Hangul mode (double-byte)
23Hanja conversion mode (Hangul + single-byte mode)
31Hanja conversion mode (Hangul + double-byte mode)
See Also