windows_programming_notes.nbk: Home | Index | Next Page: win32 msgs: WM_IME_SETCONTEXT | Previous Page: win32 msgs: WM_IME_REQUEST


 win32 msgs: WM_IME_SELECT

The WM_IME_SELECT message is sent to an application when the system is about to change the current IME. An application that has created an IME window should pass this message to that window so that it can retrieve the keyboard layout handle for the newly selected IME.

A window receives this message through its WindowProc function.

    LRESULT CALLBACK WindowProc(
      HWND hwnd,       // handle to window
      WM_IME_SELECT,   // message to send
      WPARAM wParam,   // selection indicator
      LPARAM lParam    // input locale identifier (HANDLE)
    );

Parameters

Return Values

This message has no return value.

Remarks

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

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 Imm.h; include Windows.h.

windows_programming_notes.nbk: Home | Index | Next Page: win32 msgs: WM_IME_SETCONTEXT | Previous Page: win32 msgs: WM_IME_REQUEST


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