EM_GETEDITSTYLE message
Retrieves the current edit style flags.
Parameters
-
wParam
-
Not used; must be zero.
-
lParam
-
Not used; must be zero.
Return value
Returns the current edit style flags, which can include one or more of the following values:
Return code | Description |
---|---|
|
Rich Edit will call the system beeper if the user attempts to enter more than the maximum characters. |
|
Turns on bidirectional processing. This is automatically turned on by Rich Edit if any of the following window styles are active: WS_EX_RIGHT, WS_EX_RTLREADING, WS_EX_LEFTSCROLLBAR. However, this setting is useful for handling these window styles when using a custom implementation of ITextHost (default: 0). |
|
Windows XP with SP1: Allow embedded objects to be inserted using TSF (default: 0). |
|
Windows XP with SP1: Allows TSF proofing tips (default: 0). |
|
Windows XP with SP1: Allows TSF SmartTag tips (default: 0). |
|
Windows 8: Do not allow the TSF lock read/write access. This pauses TSF input. |
|
Windows 8: Fonts with an fi ligature are displayed with default OpenType features resulting in improved typography (default: 0). |
|
Windows XP with SP1: Use draft mode fonts to display text. Draft mode is an accessibility option where the control displays the text with a single font; the font is determined by the system setting for the font used in message boxes. For example, accessible users may read text easier if it is uniform, rather than a mix of fonts and styles (default: 0). |
SES_EMULATE10 |
Windows 8: Emulate RichEdit 1.0 behavior. Note: If you really want this behavior, use the Windows riched32.dll instead of riched20.dll or msftedit.dll. Riched32.dll had more functionality. |
|
When this bit is on, rich edit attempts to emulate the system edit control (default: 0). |
|
Extends the background color all the way to the edges of the client rectangle (default: 0). |
|
Windows XP with SP1: If the width of table gridlines is zero, gridlines are not displayed. This is equivalent to the hide gridlines feature in Word's table menu (default: 0). |
|
Windows 8: When the cursor is over a link, display a tooltip with the target link address (default: 0). |
|
Windows 8: Provide logical caret information instead of a caret bitmap as described in ITextHost::TxSetCaretPos (default: 0). |
|
Converts all input characters to lowercase (default: 0). |
|
Obsolete. Do not use. |
|
Windows 8: Enable multiselection with individual mouse selections made while the Ctrl key is pressed (default: 0). |
|
Windows 8: Do not adjust line height for East Asian text (default: 0 which adjusts the line height by 15%). |
|
Sends EN_LINK notification from links that do not have focus. |
|
Disallows IMEs for this instance of the rich edit control (default: 0). |
|
When this bit is on, rich edit does not verify the sequence of typed text. Some languages (such as Thai and Vietnamese) require verifying the input sequence order before submitting it to the backing store (default: 0). |
|
When KillFocus occurs, scroll to the beginning of the text (character position equal to 0) (default: 0). |
|
Windows 8: Add or delete a space according to the context when dropping text (default: 0). |
|
Obsolete. Do not use. |
|
Windows 8: If word select is active, ensure that the drop location is at a word boundary (default: 0). |
|
Converts all input characters to uppercase (default: 0). |
|
Uses the Active IMM input method component that ships with Internet Explorer 4.0 or later (default: 0). |
|
Windows XP with SP1: Uses an @ font, which is designed for vertical text; this is used with the ES_VERTICAL window style. The name of an @ font begins with the @ symbol, for example, "@Batang" (default: 0, but is automatically turned on for vertical text layout). |
|
Windows XP with SP1: Turns on TSF support. (default: 0) |
|
Turns on translation of CRCRLFs to CRs. When this bit is on and a file is read in, all instances of CRCRLF will be converted to hard CRs internally. This will affect the text wrapping. Note that if such a file is saved as plain text, the CRs will be replaced by CRLFs. This is the .txt standard for plain text (default: 0, which deletes CRCRLFs on input). |
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Redistributable |
Rich Edit 3.0 |
Header |
|