EmEditor Home - EmEditor Help - Plug-in Reference - Messages

EE_CONVERT

Converts characters. You can send this message explicitly or use the Editor_Convert inline function.

EE_CONVERT
    wParam = (WPARAM) (UINT) nFlags;
    lParam = 0;

Parameters

nFlags

You can specify a combination of the following values.

Value Meaning
FLAG_MAKE_LOWER Converts to lowercase characters.
FLAG_MAKE_UPPER Converts to uppercase characters.
FLAG_HAN_TO_ZEN Converts to full-size characters.
FLAG_ZEN_TO_HAN. Converts to half-size characters
FLAG_CAPITALIZE Capitalizes the first letter of each word.
FLAG_CONVERT_SELECT_ALL Converts the entire text. If this flag is not set, EE_CONVERT converts the characters only in the selection.
FLAG_CONVERT_KATA Converts Katakana.
FLAG_CONVERT_ALPHANUMERIC Converts Alphabets and numeric characters.
FLAG_CONVERT_MARK Converts marks.
FLAG_CONVERT_SPACE Converts spaces.
FLAG_CONVERT_KANA_MARK Converts Kana marks.

Return Values

If the message succeeds, the return value is nonzero. If the message fails, the return value is zero.

Copyright 2003-2014 by Emurasoft, Inc.