0 out of 1 rated this helpful - Rate this topic

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

 

 

Send comments about this topic to Microsoft

Build date: 2/25/2013

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.