[This is preliminary documentation and subject to change.]
Rich Edit 2.0 and later: Send an EM_SETLANGOPTIONS message to set options for input method editors (IME) and Far East language support in a rich edit control.
Rich Edit 1.0: This message is not supported.
EM_SETLANGOPTIONS
wParam = 0 ; // not used; must be zero
lParam = (LPARAM) fOptions // language options
Value | Meaning |
---|---|
IMF_AUTOKEYBOARD | If this flag is set, the control automatically changes the keyboard layout when the user explictly changes to a different font, or when the user explictly changes the insertion point to a new location in the text. |
IMF_AUTOFONT | If this flag is set, the control automatically changes fonts when the user explicitly changes to a different keyboard layout. |
IMF_IMECANCELCOMPLETE | This flag determines how the control uses the composition string of an IME if the user cancels it. If this flag is set, the control discards the composition string. If this flag is not set, the control uses the composition string as the result string. |
This message does not return a value.
The IMF_AUTOFONT flag is set by default. The IMF_AUTOKEYBOARD and IMF_IMECANCELCOMPLETE flags are clear by default.
Windows NT: Requires version 4.0 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in richedit.h.
Rich Edit Controls Overview, Rich Edit Messages, EM_GETLANGOPTIONS