Help Center

CRichEdit.SetEditStyleExmethod

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

Windowsmethoddocumented

Syntax

FUNCTION SetEditStyleEx (BYVAL hRichEdit AS HWND, BYVAL fStyle AS LONG, BYVAL fMask AS LONG) AS DWORD

Parameters

NameDescription
hRichEditThe handle of the rich edit control.
fStyleSpecifies one or more edit style flags. For a list of possible values, see table below.
fMaskA mask consisting of one or more of the fStyle 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.

Description

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

Reference

  • Defined in AfxNova/CRichEdit.inc:994
  • Documented in Windows/WIndows Controls/CRichEdit Class.md
  • Topic: CRichEdit Class