Edit Control Extended Styles

This section lists extended styles used when creating edit controls. The value of extended styles is a bitwise combination of these styles.

Constant Description
ES_EX_ALLOWEOL_CR
Windows Vista and later. Enables support for carriage return (CR) end-of-line characters to break lines.
ES_EX_ALLOWEOL_LF
Windows Vista and later. Enables support for linefeed (LF) end-of-line characters to break lines.
ES_EX_ALLOWEOL_ALL
Windows Vista and later. Enables support for both carriage return (CR) and linefeed (LF) end-of-line characters to break lines.
ES_EX_CONVERT_EOL_ON_PASTE
Windows Vista and later. Converts end-of-line characters enabled for this edit control in pasted content to match the end-of-line character used by the current document.
ES_EX_ZOOMABLE
Windows Vista and later. Enables zooming using Ctrl+MouseWheel and the EM_GETZOOM/EM_SETZOOM messages.

Requirements

Requirement Value
Header
CommCtrl.h