Help Center

CRichEditCtx.AddLF/AddCR/AddCRLFmethod

Inserts a line feed, a carriage return or a carriage return and line feed at the cursor position or at the end of the text.

Windowsmethoddoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Parameters

NameDescription
atEndOptional. Boolean true (-1) or false (0). If true, the character is added at the end of the text; if false, it is added at the cursor position.

Description

Inserts a line feed, a carriage return or a carriage return and line feed at the cursor position or at the end of the text.

Reference

  • Documented in Windows/WIndows Controls/RichEdit/CRichEditCtx Class.md
  • Topic: CRichEditCtx Class