HE_GETKKSTATUS

Determines the mode of the Kana-to-Kanji conversion in the Input Method Editor
(IME). Submessage of WM_PENCTL. (Japanese version only.)

Parameters

wParam

HE_GETKKSTATUS.

lParam

Reserved and must be 0.

Return Value

Returns one of the following values or FALSE:

Value

Current Status

HEKKR_PRECONVERT

In preconversion mode.

HEKKR_CONVERT

In conversion mode

HHEKKR_NOCONVERT

In nonconversion mode

Comments

The IME recognizes three modes: preconversion mode, conversion mode, and
non-conversion mode. In preconversion mode, the user has entered text intended for
conversion by the IME and the text is marked. When the user invokes the IME on
the marked range of characters, the conversion mode is entered and the IME is
active. Once the user confirms an IME conversion, the nonconversion mode (normal
mode) is entered.

The term "marked" refers to the range of cells in the bedit that have been
selected for character conversion. Characters marked for conversion appear
differently to the user than normally selected characters.

This submessage is available for bedits only. This message can also be used to
determine keyboard IME status by checking for HEKKR_CONVERT.