Platform SDK: International Features |
The ImmSetCompositionFont function sets the logical font to be used to display characters in the composition window.
BOOL ImmSetCompositionFont( HIMC hIMC, LPLOGFONT lplf );
If the function succeeds, the return value is a nonzero value.
If the function fails, the return value is zero.
Even if an application never uses the composition window, it must set the appropriate font to ensure that characters are displayed properly. This is especially true for vertical writing.
This function causes a IMN_SETCOMPOSITIONFONT command to be sent to the application.
Windows NT/2000: Requires Windows NT 4.0 or later.
Windows 95/98: Requires Windows 95 or later.
Header: Declared in Imm.h.
Library: Use Imm32.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows NT/2000.
Input Method Editor Overview, Input Method Editor Functions, IMN_SETCOMPOSITIONFONT, LOGFONT