WM_IME_STARTCOMPOSITION

The WM_IME_STARTCOMPOSITION message is sent immediately before an IME generates a composition string as a result of a user's keystroke. The UI window opens its composition window when it receives this message.

There is no return value.

An application that needs to display composition characters by itself should not pass this message to either the application IME window or DefWindowProc, which passes the message to the default IME window.