Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Using the IImeIPoint2 Interface | 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
Send Feedback on this topic to the authors