Edit

Share via


WM_IME_SELECT message

Sent to an application when the operating system is about to change the current IME. A window receives this message through its WindowProc function.

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

Parameters

hwnd

A handle to window.

wParam

Selection indicator. This parameter specifies TRUE if the indicated IME is selected. The parameter is set to FALSE if the specified IME is no longer selected.

lParam

Input locale identifier associated with the IME.

Return value

This message has no return value.

Remarks

An application that has created an IME window should pass this message to that window so that it can retrieve the keyboard layout handle to the newly selected IME.

The DefWindowProc function processes this message by passing the information to the default IME window.

Requirements

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

See also

Input Method Manager

Input Method Manager Messages