WM_IME_REQUEST message

Sent to an application to provide commands and request information. A window receives this message through its WindowProc function.

LRESULT CALLBACK WindowProc(
  HWND  hwnd,       
  WM_IME_REQUEST,  
  WPARAM wParam,   
  LPARAM lParam    
);

Parameters

hwnd

A handle to window.

wParam

Command. This parameter can have one of the following values:

IMR_CANDIDATEWINDOW
IMR_COMPOSITIONFONT
IMR_COMPOSITIONWINDOW
IMR_CONFIRMRECONVERTSTRING
IMR_DOCUMENTFEED
IMR_QUERYCHARPOSITION
IMR_RECONVERTSTRING

lParam

Command-specific data. For more information, see the description for each command.

Return value

Returns a command-specific value.

Requirements

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

See also

Input Method Manager

Input Method Manager Messages

IMR_CANDIDATEWINDOW

IMR_COMPOSITIONFONT

IMR_COMPOSITIONWINDOW

IMR_CONFIRMRECONVERTSTRING

IMR_DOCUMENTFEED

IMR_QUERYCHARPOSITION

IMR_RECONVERTSTRING