Share via


Setting the Input Method Programmatically (Windows Embedded CE 6.0)

1/6/2010

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

Concepts

Simplified Chinese MSPY 3.0 IME OS Design Development