Index   Commented   Search   About

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.

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET

More Online Helps

Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun