This chapter describes new functions and Presentation Manager messages to control the Input Method program.

The Input Method program (IM) is a dynamically loadable and executable module. It gets a KeyEvent packet from Presentation Manager (PM) and converts it to a character set meaningful to applications and users. For instance, in the Japanese version, IM converts Hiragana characters to Kanji characters.

IM generates a character set based on a sequence entered by the user through a candidate window. This character set is then fed back to PM for converting it to WM_CHAR messages. The translated character set is then returned to the application through WM_CHAR messages.

For example, a user enters "alpha" from an application and requests an IM to convert this to Greek representation. The IM generates " à " and feeds it back to PM, which in turn sends " à " back to the application with a WM_CHAR message.

The functions and messages described in this chapter control the function and behavior of the Input Method program.

The chapter includes the following sections:


[Back: TID]
[Next: IM Functions]