Muokkaa

Jaa


EM_SETLANGOPTIONS message

Sets options for Input Method Editor (IME) and Asian language support in a rich edit control.

Parameters

wParam

This parameter is not used; it must be zero.

lParam

Specifies the language options. For a list of possible values, see EM_GETLANGOPTIONS.

Return value

This message returns a value of 1.

Remarks

The EM_SETLANGOPTIONS message controls the following:

  • Automatic font binding.
  • Automatic keyboard switching.
  • Automatic font size adjustment.
  • Use of user-interface default fonts instead of document default fonts.
  • Notifications to client during IME composition.
  • How IME aborts composition mode.
  • Spell checking, autocorrect, and touch keyboard prediction.

This message sets the values of all language option flags. To change a subset of the flags, send the EM_GETLANGOPTIONS message to get the current option flags, change the flags that you need to change, and then send the EM_SETLANGOPTIONS message with the result.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Richedit.h

See also

EM_GETLANGOPTIONS