HE_KKCONVERT

Starts Kana-to-Kanji conversion. Submessage of WM_PENCTL. (Japanese version only.)

Parameters

wParam

HE_KKCONVERT.

lParam

Must be one of the following values:

Value

Meaning

HEKK_DEFAULT

The first time the conversion is specified, the selected character string is replaced with the conversion result; the second time it is specified, the conversion candidate dialog box appears.

HEKK_CONVERT

The selected character string is replaced with the conversion result regardless of how many times conversion has been specified.

HEKK_CANDIDATE

Causes the conversion candidate dialog box to appear.

HEKK_DBCSCHAR

The SBCS characters (0x20 - 0x7E, 0xA1 - 0xDF) are replaced by their DBCS equivalents.

HEKK_SBCSCHAR

The DBCS characters in the selected character string or marked conversion string that have equivalent SBCS representations are replaced by their equivalent SBCS characters.

HEKK_HIRAGANA

The katakana characters (DBCS or SBCS) in the selected character string or marked conversion string are replaced with their hiragana equivalents.

HEKK_KATAKANA

The hiragana characters in the selected character string or marked conversion string are replaced with their DBCS katakana representation.

 

Return Value

Returns TRUE if there are no errors; otherwise, returns FALSE:

Comments

In this message,  marked conversion string  indicates the string in the Input Method Editor (IME) that is marked for conversion. Text marked for conversion is indicated by a different selection color than that used for normal text selection in a standard text edit control. Available for bedits only.