Export (0) Print
Expand All

How to: Set Pocket PC Input Methods

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The Pocket PC contains a collection of input methods that specify how the user enters text and data. When you set the CurrentInputMethod property for an InputPanel, the method remains in effect until changed by the user.

A Pocket PC has the following input methods, which can vary by manufacturer:

  • Transcriber

  • Keyboard

  • Letter Recognizer

  • Block Recognizer

The InputPanel.InputMethodCollection provides access to the installed input methods on a device. You can identity an input method by either its name or GUID (the Name property or Clsid property).

The following code example sets a preferred input method by matching a specified method with a method in the collection.


foreach (InputMethod m in inputPanel1.InputMethods)
{
    if (m.Name == "Letter Recognizer")
        inputPanel1.CurrentInputMethod = m;
}
inputPanel1.Enabled = true;


This example requires references to the following namespaces:

Show:
© 2014 Microsoft