Gets or sets the state of an Input Method Editor (IME).
HRESULT IHTMLStyle2::get_imeMode(BSTR *p);HRESULT IHTMLStyle2::put_imeMode(BSTR v);
- Pointer to a variable of type BSTR that receives one of the values listed in Possible Values.
- BSTR that specifies one of the values listed in Possible Values.
auto Default. IME is not affected. This is the same as not specifying the -ms-ime-mode attribute. active All characters are entered through the IME. Users can still deactivate the IME. inactive All characters are entered without IME. Users can still activate the IME. disabled IME is completely disabled. Users cannot activate the IME if the control has focus.
Returns S_OK if successful, or an error value otherwise.
Windows Internet Explorer 8. The -ms-ime-mode attribute is an extension to CSS, and can be used as a synonym for ime-mode in IE8 Standards mode.
An Input Method Editor (IME) allows users to enter and edit Chinese, Japanese, and Korean characters. The IME is an essential component for writing Chinese, Japanese, and Korean scripts. These writing systems have more characters than can be encoded for a regular keyboard. The IMEs for these languages use sequences of base characters that describe an individual character or group of characters to enter a larger set of characters. Base characters can be component letters from Hangul syllables, phonetic components for Japanese Kanji characters, or various combinations for Chinese characters.
To compose text with an IME, the user generally uses dictionary lookup and contextual analysis, especially in languages where homonyms are frequent, as in Japanese. A user typically starts by entering a few component characters, optionally selecting from various choices, and a confirmation command.
Input Method Editors have two principle states:
- Inactive mode. The keyboard acts like a regular keyboard and input is limited to a small set of characters.
- Active mode. The IME accepts component characters or processing commands.