windows_programming_notes.nbk: Home | Index | Next Page: WM_INITDIALOG | Previous Page: WM_IME_NOTIFY


 WM_IME_STARTCOMPOSITION

The WM_IME_STARTCOMPOSITION message is sent immediately before the IME generates the composition string as a result of a keystroke. The message is a notification to an IME window to open its composition window. An application should process this message if it displays composition characters itself.

A window receives this message through its WindowProc function.

    LRESULT CALLBACK WindowProc(
      HWND hwnd,       // handle to window
      WM_IME_STARTCOMPOSITION,  // message to send
      WPARAM wParam,   // not used
      LPARAM lParam    // not used
    );

Parameters

This message has no parameters.

Return Values

This message has no return value.

Remarks

If an application has created an IME window, it should pass the WM_IME_STARTCOMPOSITION message to that window. The DefWindowProc function processes this message by passing it to the default IME window.

Requirements


windows_programming_notes.nbk: Home | Index | Next Page: WM_INITDIALOG | Previous Page: WM_IME_NOTIFY


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