Platform SDK: International Features

IMC_SETCOMPOSITIONFONT

An application sends the IMC_SETCOMPOSITIONFONT command to an IME window to specify the logical font to use for displaying intermediate characters in the composition window.

To send this command, use the WM_IME_CONTROL message with wParam and lParam set as follows.

Parameters

wParam
Set to IMC_SETCOMPOSITIONFONT.
lParam
Pointer to a LOGFONT structure that contains information about the logical font.

Return Values

Returns zero if successful, nonzero otherwise.

Remarks

When processing this command, the IME window changes the current selected font in the input context.

Requirements

  Windows NT/2000: Requires Windows NT 4.0 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Imm.h.

See Also

Input Method Editor Overview, Input Method Editor Commands, LOGFONT, WM_IME_CONTROL