EC_ENDOFLINE enumeration (commctrl.h)

Indicates the end of line character used by an edit control.

Syntax

typedef enum EC_ENDOFLINE {
  EC_ENDOFLINE_DETECTFROMCONTENT = 0,
  EC_ENDOFLINE_CRLF = 1,
  EC_ENDOFLINE_CR = 2,
  EC_ENDOFLINE_LF = 3
} ;

Constants

 
EC_ENDOFLINE_DETECTFROMCONTENT
Value: 0
End of line character specified in content.
EC_ENDOFLINE_CRLF
Value: 1
End of line character is CRLF.
EC_ENDOFLINE_CR
Value: 2
End of line character is CR.
EC_ENDOFLINE_LF
Value: 3
End of line character is LF.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809 [desktop apps only]
Minimum supported server Windows Server [desktop apps only]
Header commctrl.h

See also

EM_GETENDOFLINE

EM_SETENDOFLINE

Edit_GetEndOfLine

Edit_SetEndOfLine