Help Center

CRichEditCtx.EditStylemethod

Gets/sets the current edit style flags.

Windowsmethoddocumented

Syntax

PRIVATE PROPERTY CRichEditCtx.EditStyle () AS DWORD

Parameters

NameDescription
fStyleSpecifies one or more edit style flags. For a list of possible values, see the 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

(GET) Returns the current edit style flags, which can include one or more of the following values (see table above).

(SET) 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. Call the (GET) EditStyle property to check if the value has changed.

Description

Gets/sets the current edit style flags.

Example

(GET) PROPERTY EditStyle () AS DWORD (SET) PROPERTY EditStyle (BYVAL fStyle AS LONG, BYVAL fMask AS LONG)

Reference

  • Defined in AfxNova/CRichEditCtx.inc:1065
  • Documented in Windows/WIndows Controls/RichEdit/CRichEditCtx Class.md
  • Topic: CRichEditCtx Class