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

EE_IS_CHAR_HALF_OR_FULL

Queries whether a specified character is a half-width or full-width character. You can send this message explicitly or use the Editor_IsCharHalfOrFull inline function. 

EE_IS_CHAR_HALF_OR_FULL
    wParam = (WPARAM)(WCHAR)ch;
    lParam = (LPARAM)0;

Parameters

ch

Specifies the character code by Unicode to be queried.

Return Values

If the character is a full-width character, the return value is two. If the character is a half-width character, the return value is one.

Copyright 2003-2014 by Emurasoft, Inc.