windows_programming_notes.nbk: Home | Index | Next Page: WM_IME_KEYUP | Previous Page: WM_IME_COMPOSITIONFULL


 WM_IME_KEYDOWN

The WM_IME_KEYDOWN message is sent to an application by the IME to notify the application of a key press. An application can process this message or pass it to the DefWindowProc function to generate a matching WM_KEYDOWN message. This message is usually generated by the IME to keep message order.

A window receives this message through its WindowProc function.

    LRESULT CALLBACK WindowProc(
        HWND hwnd,       // handle to window
        WM_IME_KEYDOWN,   // message to send
        WPARAM wParam,   // virtual-key code
        LPARAM lParam    // key data
    );

Parameters

Return Values

An application should return zero 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 Imm.h; include Windows.h.

windows_programming_notes.nbk: Home | Index | Next Page: WM_IME_KEYUP | Previous Page: WM_IME_COMPOSITIONFULL


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