Edit_FmtLines macro

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 wordwrapping. You can use this macro or send the EM_FMTLINES message explicitly.

Syntax


void Edit_FmtLines(
  HWND hwndCtl,
  BOOL fAddEOL
);

Parameters

hwndCtl

Type: HWND

A handle to the control.

fAddEOL

Type: BOOL

TRUE to insert line breaks; otherwise FALSE.

Return value

No return value.

Remarks

For more information, see EM_FMTLINES.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Windowsx.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft