Traditional Chinese Input Method Implementation

The Chinese Traditional IM is implemented as an in-process Component Object Model (COM) server and exposed through the input panel component. The Chinese Traditional IM implementation in Windows CE consists of two parts: the Software-Based Input Panel subsystem and the IM. The input panel is responsible for converting non-keyboard input into a keyboard event.

The IM implements the IInputMethod interface. Windows CE provides a default QWERTY keyboard IM to handle alphanumeric input. The IM manages the space inside the input panel window. Within this window, the IM is responsible for screen output and for responding to user input. Typically, an IM creates a child window of the input panel window. This action enables the IM window to respond to user input through the input panel window; the IM does not have access to the WindowProc function of the input panel window unless the IM subclasses that window. The IM usually converts user input into characters and sends those characters to the input panel through the IIMCallback interface.

In the IM architecture in Windows CE, the IM is situated under the input panel. The input panel creates the IM through the IInputMethod interface. After the IM is created, the IM receives user input and passes this data to the input panel through the IIMCallback interface. After the input panel receives data from the IM, the input panel passes the data to the Graphics, Windowing, and Events Subsystem (GWES) module.

See Also

GWES Component Model | Component Services (COM and DCOM) | Software-Based Input Panel | Programming Input Methods | IInputMethod | IIMCallback

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.