EM_SETEDITSTYLE message

Sets the current edit style flags for a rich edit control.

Parameters

wParam

Specifies one or more edit style flags. For a list of possible values, see EM_GETEDITSTYLE.

lParam

A mask consisting of one or more of the wParam values. Only the values specified in this mask will be set or cleared. This allows a single flag to be set or cleared without reading the current flag states.

Return value

The return value is the state of the edit style flags after the rich edit control has attempted to implement your edit style changes. The edit style flags are a set of flags that indicate the current edit style.

Requirements

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

See also

EM_GETEDITSTYLE