Platform SDK: International Features

IMR_COMPOSITIONFONT

The IMR_COMPOSITIONFONT command is sent when a selected IME needs information about the font used by the composition window.

The application receives this command through the WM_IME_REQUEST message with wParam and lParam set as follows.

Parameters

wParam
Set to IMR_COMPOSITIONFONT.
lParam
Pointer to a buffer containing a LOGFONT structure. The application fills in the values for the current composition window.

Return Values

Returns a nonzero value if the application filled in the LOGFONT structure specified by lParam. Otherwise, returns zero.

Remarks

This notification may be sent by the IME to a window that cleared the ISC_SHOWUICOMPOSITIONWINDOW flag in the WM_IME_SETCONTEXT message handler.

Requirements

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

See Also

Input Method Editor Overview, Input Method Editor Commands, WM_IME_REQUEST, WM_IME_SETCONTEXT, LOGFONT