Rediger

Del via


EM_GETELLIPSISMODE message

Retrieves the current ellipsis mode. When enabled, an ellipsis ( ) is displayed for text that doesn t fit in the display window. The ellipsis is only used when the control is not active. When active, scroll bars are used to reveal text that doesn t fit into the display window.

#define EM_GETELLIPSISMODE       (WM_USER + 305)

Parameters

wParam

Not used; must be zero.

lParam

Pointer to a DWORD which receives one of the following values.

Value Meaning
ELLIPSIS_NONE
No ellipsis is used.
ELLIPSIS_END
Ellipsis at the end (forced break).
ELLIPSIS_WORD
Ellipsis at the end (word break).

Return value

If wparam is 0 and lparam is not NULL, the return value equals TRUE; otherwise, the return value equals FALSE.

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_SETELLIPSISMODE

EM_GETELLIPSISSTATE