EmEditor Home - EmEditor Help - Plug-in Reference - Inline Functions


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

Editor_Convert( HWND hwnd, UINT nFlags );



Specifies the window handle of the view or frame of EmEditor.


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.