Converting a Composition String (Windows Embedded CE 6.0)

1/6/2010

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