Export (0) Print
Expand All

WM_INPUTLANGCHANGE message

Sent to the topmost affected window after an application's input language has been changed. You should make any application-specific settings and pass the message to the DefWindowProc function, which passes the message to all first-level child windows. These child windows can pass the message to DefWindowProc to have it pass the message to their child windows, and so on.

A window receives this message through its WindowProc function.


#define WM_INPUTLANGCHANGE              0x0051

Parameters

wParam

The character set of the new locale.

lParam

The input locale identifier. For more information, see Languages, Locales, and Keyboard Layouts.

Return value

Type: LRESULT

An application should return nonzero if it processes this message.

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)

See also

Reference
DefWindowProc
WM_INPUTLANGCHANGEREQUEST
Conceptual
Windows

 

 

Community Additions

ADD
Show:
© 2014 Microsoft