WM_IME_NOTIFY message

Sent to an application to notify it of changes to the IME window. A window receives this message through its WindowProc function.

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

Parameters

hwnd

A handle to window.

wParam

The command. This parameter can have one of the following values.

[IMN\_CHANGECANDIDATE](imn-changecandidate.md)
[IMN\_CLOSECANDIDATE](imn-closecandidate.md)
[IMN\_CLOSESTATUSWINDOW](imn-closestatuswindow.md)
[IMN\_GUIDELINE](imn-guideline.md)
[IMN\_OPENCANDIDATE](imn-opencandidate.md)
[IMN\_OPENSTATUSWINDOW](imn-openstatuswindow.md)
[IMN\_SETCANDIDATEPOS](imn-setcandidatepos.md)
[IMN\_SETCOMPOSITIONFONT](imn-setcompositionfont.md)
[IMN\_SETCOMPOSITIONWINDOW](imn-setcompositionwindow.md)
[IMN\_SETCONVERSIONMODE](imn-setconversionmode.md)
[IMN\_SETOPENSTATUS](imn-setopenstatus.md)
[IMN\_SETSENTENCEMODE](imn-setsentencemode.md)
[IMN\_SETSTATUSWINDOWPOS](imn-setstatuswindowpos.md)

lParam

Command-specific data, with format dependent on the value of the wParam parameter. For more information, refer to the documentation for each command.

Return value

The return value depends on the command sent.

Remarks

An application processes this message if it is responsible for managing the IME window.

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

IMN_CHANGECANDIDATE

IMN_CLOSECANDIDATE

IMN_CLOSESTATUSWINDOW

IMN_GUIDELINE

IMN_OPENCANDIDATE

IMN_OPENSTATUSWINDOW

IMN_SETCANDIDATEPOS

IMN_SETCOMPOSITIONFONT

IMN_SETCOMPOSITIONWINDOW

IMN_SETCONVERSIONMODE

IMN_SETOPENSTATUS

IMN_SETSENTENCEMODE

IMN_SETSTATUSWINDOWPOS