EM_GETLANGOPTIONS

[This is preliminary documentation and subject to change.]

Rich Edit 2.0 and later: Send an EM_GETLANGOPTIONS message to get a rich edit control's option settings for input method editors (IME) and Far East language support.

Rich Edit 1.0: This message is not supported.

EM_GETLANGOPTIONS 
wParam = 0 ;       // not used;  must be zero 
lParam = 0 ;       // not used;  must be zero 
 

Parameters

The parameters are not used; they must be zero.

Return Values

The return value is a combination of the following bit flags, which indicate the current language option settings.

Enumerator 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.

QuickInfo

  Windows NT: Requires version 4.0 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in richedit.h.

See Also

Rich Edit Controls Overview, Rich Edit Messages, EM_SETLANGOPTIONS