Freigeben über


Handling IME Window Messages (Windows CE 5.0)

Send Feedback

The system sends IME window messages to the window that has focus when certain events occur. For example, the system sends the WM_IME_SETCONTEXT message when a window is activated. IME-unaware windows pass these messages to the DefWindowProc function, which sends them to the corresponding default IME window. IME-aware windows either process these messages or forward them to their own IME windows.

To have an IME window carry out an action, use the WM_IME_CONTROL message. To have the IME notify an application about changes to the composition string, use the WM_IME_COMPOSITION message. Use the WM_IME_NOTIFY message for general changes to the status of IME windows.

To process the WM_IME_COMPOSITION message, applications test the bits in the lParam parameter and call the ImmGetCompositionString function to retrieve the indicated string or data.

See Also

DefWindowProc | ImmGetCompositionString | WM_IME_COMPOSITION | WM_IME_CONTROL | WM_IME_NOTIFY | WM_IME_SETCONTEXT

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.