Поделиться через


Traditional Chinese Input Method Implementation (Windows Embedded CE 6.0)

1/6/2010

The Chinese Traditional IM is implemented as an in-process Component Object Model (COM) server and exposed through the input panel. The Chinese Traditional IM implementation in Windows Embedded 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 Embedded 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 Embedded 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) subsystem.

See Also

Other Resources

Traditional Chinese Input Methods
GWES Component Model
Component Services (COM and DCOM)
Software-based Input Panel Application Development
Programming Input Methods
IInputMethod
IIMCallback