Sets the options for a rich edit control.
EM_SETOPTIONS
wParam = (WPARAM) (UINT) fOperation;
lParam = (LPARAM) (UINT) fOptions;
ECOOP_SET | Set the options to those specified by fOptions. |
ECOOP_OR | Combine the specified options with the current options. |
ECOOP_AND | Retain only those current options that are also specified by fOptions. |
ECOOP_XOR | Logically Exclusive OR the current options with those specified by fOptions. |
Value | Meaning |
---|---|
ECO_AUTOWORDSELECTION | Automatic selection of word on doubleclick. |
ECO_AUTOVSCROLL | Same as ES_AUTOVSCROLL style. |
ECO_AUTOHSCROLL | Same as ES_AUTOHSCROLL style. |
ECO_NOHIDESEL | Same as ES_NOHIDESEL style. |
ECO_READONLY | Same as ES_READONLY style. |
ECO_WANTRETURN | Same as ES_WANTRETURN style. |
ECO_SAVESEL | Same as ES_SAVESEL style. |
ECO_SELECTIONBAR | Same as ES_SELECTIONBAR style. |
ECO_VERTICAL | Same as ES_VERTICAL style. Available in Asian-language versions only. |
Returns current option of edit control.
Windows NT: Requires version 3.51 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in richedit.h.
Rich Edit Controls Overview, Rich Edit Messages