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.
Value Meaning - 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
Requirement | Value |
---|---|
Minimum supported client |
Windows 8 [desktop apps only] |
Minimum supported server |
Windows Server 2012 [desktop apps only] |
Header |
|