Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Plug-in Reference > Inline Functions

EmEditor Plug-in Reference: Editor_IsCharHalfOrFull

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - Plug-in Reference - Inline Functions

Editor_IsCharHalfOrFull

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

Editor_IsCharHalfOrFull( HWND hwnd, WCHAR ch );

Parameters

hwnd

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

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-2016 by Emurasoft, Inc.