windows_programming_notes.nbk: Home | Index | Next Page: WM_INPUTLANGCHANGEREQUEST | Previous Page: WM_INITMENUPOPUP


 WM_INPUTLANGCHANGE

The WM_INPUTLANGCHANGE message is 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.

    LRESULT CALLBACK WindowProc(
      HWND hwnd,       // handle to window
      UINT uMsg,       // WM_INPUTLANGCHANGE
      WPARAM wParam,   // character set
      LPARAM lParam    // input locale identifier (HKL)
    );

Parameters

Return Values

An application should return nonzero if it processes this message.

Requirements

  Windows NT/2000 or later: Requires Windows NT 4.0 or later.
  Windows 95/98/Me: Requires Windows 95 or later.
  Header: Declared in Winuser.h; include Windows.h.

windows_programming_notes.nbk: Home | Index | Next Page: WM_INPUTLANGCHANGEREQUEST | Previous Page: WM_INITMENUPOPUP


Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time