IMR_COMPOSITIONFONT notification code

Notifies an application 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 parameters as shown below.

LRESULT IMR_COMPOSITIONFONT

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 Value

Returns a nonzero value if the application fills in the LOGFONT structure. Otherwise, the command returns 0.

Remarks

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

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Imm.h (include Windows.h)

See also

Input Method Manager

Input Method Manager Commands

WM_IME_REQUEST

WM_IME_SETCONTEXT