Share via


Multiple IME Support (Windows Embedded CE 6.0)

1/6/2010

Windows Embedded CE includes predefined HKL values for the East Asian IMEs and keyboards. For Japanese and Korean, only one HKL value has been defined, therefore only one IME can be installed. For Simplified Chinese and Traditional Chinese multiple HKL values have been defined for each locale to accommodate multiple IME types. For example, you can include both the Pinyin IME and the Shuang Pin IME in the same run-time image.

Note

You cannot include two Pinyin IMEs in a run-time image because one IME will overwrite the other in the registry.

In Windows Embedded CE, only one IME can be preloaded at all times with the exception of the Simplified Chinese Pocket IME and Traditional Chinese Pocket IME. Users can only toggle between one IME and additional keyboards at device runtime.

If your OS design includes more than one IME, you must update platform.reg with the required preload information, including the data for the default IME.

To implement multiple IMEs for a run-time image

  1. In Platform Builder, add the appropriate Catalog item for each IME to your OS design. For more information, see International Catalog Items.

  2. In your OS design, modify the platform.reg file and add the HKL value for each preload under the [HKEY_CURRENT_USER\Keyboard Layout\Preload key using the following syntax:

    [HKEY_CURRENT_USER\Keyboard Layout\Preload]
       @="<HKL value>"
    [HKEY_CURRENT_USER\Keyboard Layout\Preload\1]
       @="<HKL value>"
    [HKEY_CURRENT_USER\Keyboard Layout\Preload\2]
       @="<HKL value>"
    

    Note

    A value for the [HKEY_CURRENT_USER\Keyboard Layout\Preload\2 key should only be defined for Simplified Chinese Pocket IME and Traditional Chinese Pocket IME, or if the OS design includes additional keyboard layouts that are not associated with an IME.

Locale-Specific Considerations

If the preloaded IME is changed for a device, the control panel will update the registry with the new information.

Note

If you want to add a third-party IME, or if you want to set the Japanese Edit Control level to 3 by default, you must modify Control Panel source code directly. For more information about Japanese Edit Control, see Japanese Edit Control.

When building a run-time image with a preloaded IME, ensure that the registry settings for your OS design match the default preload IME. You can verify that the registry settings are accurate by opening the wceshellfe.reg file, which is located in the release directory for your OS design.

The following scenarios are possible:

  • If IME97 is set as the default input language for your OS design, verify that the following settings are present in wceshellfe.reg:

    [HKEY_LOCAL_MACHINE\System\Ime]
    "Settings"=dword:2c
    [HKEY_LOCAL_MACHINE\SYSTEM\GWE\EDIT]
    "IMELEVEL"=dword:3
    
  • If MSPY 3.0 is set as the default input language for your OS design, verify that the following settings are present in wceshellfe.reg:

    HKEY_LOCAL_MACHINE\SYSTEM\GWE\EDIT]
    "IMELEVEL"=dword:3
    
  • If one of the following IMEs is set as the default input language for your OS design, remove the [HKEY_LOCAL_MACHINE\SYSTEM\GWE\EDIT\IMELEVEL and the [HKEY_LOCAL_MACHINE\System\Ime\Settings keys from wceshellfe.reg:

    • IME 3.1
    • Japanese TESTIME
    • Pocket IME for Japanese
    • Pocket IME for Simplified Chinese
    • Pocket IME for traditional Chinese

See Also

Concepts

Multiple Input Language Support

Other Resources

International
Input Languages
Keyboard Drivers
Device Layout Data