Share via


Converting a Composition String

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

To request the conversion service to perform the Kana-to-Kanji conversion on the current composition string, the IME UI calls the IImeIPoint2::ControlIME method with IPCTRL_CONVERTALL. To request the conversion service to send back the interim conversion results through the IImeIPointNotifySink callback function, the IME UI calls the IImeIPoint2::UpdateContext method.

The following code sample shows how to convert a composition string:

// Convert
pIP->ControlIME(IPCTRL_CONVERTALL, IPCTRLPARAM_DEFAULT);
pIP->UpdateContext(TRUE);

See Also

Concepts

Accessing the Conversion Service
Creating a Notification Sink
Processing User Input from the Keyboard
Editing the Composition String
Processing User Input with Alternatives
Creating the Candidate List
Determining the Composition String

Other Resources

Using the IImeIPoint2 Interface