Partager via


Setting the Input Method Programmatically (Windows CE 5.0)

Send Feedback

MSPY 3.0 exposes two functions that enable you to set the input mode on a target device. The on-screen keyboard can use these functions to set the input mode to whatever mode the keyboard is designed for, and then restore the mode back to its original state when the on-screen keyboard is closed. These functions provide flexibility for target devices with both Full Pinyin and Shuang Pin on-screen keyboards. You can also use them for a scenario where the target device supports, for example, a Shuang Pin on-screen keyboard and a hardware keyboard with Full Pinyin and Shuang Pin support.

The following table shows the functions that enable you to set the input mode for MSPY 3.0.

Function Description
GetPinyinType Retrieves the Pinyin input mode.
SetPinyinType Sets the Pinyin input mode.

See Also

Simplified Chinese MSPY 3.0 IME OS Design Development

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.