Things happen once, there will be many mistakes, please have a lot of ax.
I am writing the best input law in China, liberate the Chinese hands.
Today, from zero, you can die in the stream.
Input Method Editor
An Input Method Editor (IME) IS A Program That Allows Computer Users to Enter Complex Characters and Symbols, Such as Japanese Kanji Characters, by Using A Standard Keyboard.
The input method editor (IME) is a program that allows computer users to enter complex characters and symbols, such as Chinese characters in Japanese (Chinese are the most popular text in the world, here should be Chinese is good!) Characters.
.
About Input Method Editor Using Input Method Editor Input Method Editor Reference
This preview describes IME and explains how to create and manage the IME window using the Input Method Management (IMM) function.
¨ About the input method editor
¨ Use the input method editor
¨ Input method editor reference
About Input Method Editor
The input method editor relieves users of the need to remember all possible character values. Instead, the IME monitors the user's keystrokes, anticipates the characters the user may want, and presents a list of candidate characters from which to choose.
The input method editor mitigates the need for the user to remember that the required character value is replaced, the IME monitors the user's hit button, foresee the possible desired characters, and provides a list of optional characters, and the user can select the desired character.
By default, the IME provides an IME window through which users enter keystrokes and view and select candidates. Applications can use the input method manager (IMM) functions and messages to create and manage their own IME windows, providing a custom interface while using the conversion Capabilities of the IME.
By default, IME provides an IME window. With this window, the user can use the keyboard to enter and view and select the desired characters. Applications can create and manage their own IME windows using the input method manager (IMM) function and message (such as five in QQ and is pinyin), and provides a custom interface when using IME conversion function. (do not understand).
IMM is only enabled on East Asian (Chinese, Japanese, Korean) localized Windows. On these systems, call GetSystemMetrics with SM_DBCSENABLED to determine if IMM is enabled. Note that Windows 2000 provides full-featured IME support in all localized language versions, however, that IMM is enabled only when an Asian language pack is installed. An IME-enabled application can call GetSystemMetrics with SM_IMMENABLED to determine if IMM is enabled.IMM only in East Asia (China, Japan, Korea) localized Windows is available. In these systems, the GetSystemMetrics function is called in the SM_DBCSENABLED message to determine if the IMM is available. Note that Windows 2000 provides full-featured IME support in all localized versions, but IMM is only available when the Asian language pack is installed. A program that is IME-enabled calls the getSystemMetrics function in SM_IMMENABLED to determine if IMM is available.
Status, Composition, And Candidates Windows
The status, composition, and candidates windows form the user interface for the IME. The status window indicates that the IME is open and provides the user the means to set the conversion modes. The composition window appears when the user enters text and, depending on the conversion mode, either displays the text as entered or displays converted text. The candidates window appears in conjunction with the composition window. It contains a list of "candidates" (alternative characters) for the selected character or characters in the composition window. The user can scroll through the candidates list and select the desired characters, then return to the composition window. The user can compose the desired text in this way until the composition string is finalized and the window is closed. The IME sends the composed characters to the Application in the form of wm_ime_char or wm_ime_composition / gcs_result message. if The Application Does Not Process There Messages, The DefWindowProc Functi On Translates The INTO One or more WM_CHAR Messages. Status window, alphanumeric window, and column selection window form an IME user interface. The status window indicates that the IME is turned on and provides the user to set the conversion mode. The alphanumeric window will appear when the user enters characters, and its form is based on the conversion mode, and the alphabet that has been entered or the characters already converted. (Conversion Mode Conversion Mode = Input Method, such as Microsoft Pinyin, Five Flords ... In fact, the essence of different input methods is different conversion rules.) Column selection window will appear next to the alphanumeric window. It contains a list constructed of "candidate entry", which matches characters or characters in the alphanumeric window. The user can scroll through the selection window and select the desired character, then (focus) returns to the alphanumeric window. By this user, the user can combine the desired text until the character combined string ends, the window will turn off. IME will use a WM_IME_CHAR or WM_IME_COMPSITION / GCS_RESULT message to send a combined characters to an application in the form. If the application does not process these messages, the DEFWINDOWPROC function translates them into one or more WM_CHAR messages.
By default, the system automatically creates and manages status, composition, and candidates windows for all windows that require text input. For many applications, this default processing is sufficient. These applications rely entirely on the system for IME support and are said to be IME -unaWare Because The System Carries Out To Manage The System Carries Out To Manage The IME Windows. By default, the system automatically generates and manages the status window, alphabetic window, and column selection window for all windows that require input text. This default process is enough for many programs. These completely dependent on the system to provide IME support applications called IME-UNAWARE (IME None Record) programs because they have no feelings for many tasks that the system is completed by the management IME window.
An IME-aware application, on the other hand, participates in the creation and management of IME windows. Such applications control the operation, position, and appearance of the default windows by sending messages to and by intercepting and processing messages intended for these windows. In Some Cases, Applications Create Their OWN IME Windows and Provide Complete Processing for Their Custom Status, Composition and Candidates Windows.
Instead, an IME-Aware (IME perceived) program participates in the creation and management of the IME window. For example, the program may control the options, locations, and appearance of these (IME) windows by sending or intercepting messages and having destination. In some cases, the application creates their own IME window and provides complete control processing on its custom status, alphanumeric, and column selection window.