Overview
Group
Quick Info

Windows NT
Yes
Win95
Yes
Win32s
No
Import Library
-
Header File
richedit.h
Unicode
No
Platform Notes
None

EM_SETOPTIONS

Sets the options for a rich edit control.

EM_SETOPTIONS
wParam = (WPARAM) (UINT) fOperation;
lParam = (LPARAM) (UINT) fOptions;

Parameters

fOperation

Operation flag. Can be one of these values:

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.

fOptions

Rich edit control options. Can be a combination of these values:

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.

Return Values

Returns current option of edit control.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database