Rediger

Del via


EM_GETEDITSTYLEEX message

Retrieves the current extended edit style flags.

#define EM_GETEDITSTYLEEX       (WM_USER + 276)

Parameters

wParam

Not used; must be zero.

lParam

Not used; must be zero.

Return value

Returns the extended edit style flags, which can include one or more of the following values.

Return code Description
SES_EX_HANDLEFRIENDLYURL
Display friendly name links with the same text color and underlining as automatic links, provided that temporary formatting isn t used or uses text autocolor (default: 0).
SES_EX_MULTITOUCH
Enable touch support in Rich Edit. This includes selection, caret placement, and context-menu invocation. When this flag is not set, touch is emulated by mouse commands, which do not take touch-mode specifics into account (default: 0).
SES_EX_NOACETATESELECTION
Display selected text using classic Windows selection text and background colors instead of background acetate color (default: 0).
SES_EX_NOMATH
Disable insertion of math zones (default: 1). To enable math editing and display, send the EM_SETEDITSTYLEEX message with wParam set to 0, and lParam set to SES_EX_NOMATH.
SES_EX_NOTABLE
Disable insertion of tables. The EM_INSERTTABLE message returns E_FAIL and RTF tables are skipped (default: 0).
SES_EX_USESINGLELINE
Enable a multiline control to act like a single-line control with the ability to scroll vertically when the single-line height is greater than the window height (default: 0).
SES_HIDETEMPFORMAT
Hide temporary formatting that is created when ITextFont.Reset is called with tomApplyTmp. For example, such formatting is used by spell checkers to display a squiggly underline under possibly misspelled words.
SES_EX_USEMOUSEWPARAM
Use wParam when handling the WM_MOUSEMOVE message and do not call GetAsyncKeyState.

Requirements

Requirement Value
Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]
Header
Richedit.h

See also

EM_SETEDITSTYLEEX