Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

EM_SETELLIPSISMODE message

This message sets 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 isn’t active. When active, scroll bars are used to reveal text that doesn’t fit into the display window.


#define EM_SETELLIPSISMODE       (WM_USER + 306)

Parameters

wParam

Not used; must be zero.

lParam

A DWORD which receives one of the following values.

ValueMeaning
ELLIPSIS_NONE

No ellipsis is used.

ELLIPSIS_END

Ellipsis at the end (forced break).

ELLIPSIS_WORD

Ellipsis at the end (word break).

 

The bits for these values all fit in the ELLIPSIS_MASK.

Return value

If wparam is 0 and lparam is one of the values in the table above, the return value equals TRUE; otherwise, the return value equals FALSE.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Richedit.h

See also

EM_GETELLIPSISMODE
EM_GETELLIPSISSTATE

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.