Working with the IME Candidate Window (Windows Embedded CE 6.0)

1/6/2010

The candidate window contains a list of candidate characters for the selected character in the composition window. Users can scroll through this list and select the character that they want before composition of the character is completed in the composition window. A user can compose the text that they want in this manner until the composition string is finalized and the candidate window is closed. The following screen shot shows the composition window with Hiragana text and the candidate window with Kanji conversion options.

Ee490982.eb3e5b60-ac20-42e3-aaf1-95056006fdab(en-US,WinEmbedded.60).gif

Once the character that a user wants has been determined, the IME sends this character to the application in the form of WM_IME_CHAR or WM_IME_COMPOSITION/GCS_RESULT messages. If the application does not process these messages, the DefWindowProc function translates them into one or more WM_CHAR messages.

The characters in the candidate list are arranged in an array of strings in the CANDIDATELIST structure. Use the ImmGetCandidateList function to retrieve a candidate list and copy the list to a buffer. Use the ImmGetCandidateListCount function to retrieve the total size, in bytes, of all the candidate lists. To get or set information about the Candidate window in the CANDIDATEFORM structure, use the ImmGetCandidateWindow and ImmSetCandidateWindow functions.

See Also

Concepts

Using the IME Composition Window

Other Resources

Overview of the IME User Interface