Edit_FmtLines macro (windowsx.h)

Sets a flag that determines whether text retrieved from a multiline edit control includes soft line-break characters. A soft line break consists of two carriage returns and a line feed and is inserted at the end of a line that is broken because of word wrapping. You can use this macro or send the EM_FMTLINES message explicitly.

Syntax

void Edit_FmtLines(
   hwndCtl,
   fAddEOL
);

Parameters

hwndCtl

Type: HWND

A handle to the control.

fAddEOL

Type: BOOL

TRUE to insert line breaks; otherwise FALSE.

Return value

None

Remarks

For more information, see EM_FMTLINES.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header windowsx.h