Help Center

CRichEditCtx.AddCRLFmethod

Windowsmethoddocumented

Syntax

SUB AddCRLF (BYVAL atEnd AS BOOLEAN = FALSE)
Also documented as AddLF/AddCR/AddCRLF — one description covers them all.

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

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