CRichEdit.GetEllipsisModemethod
Retrieves the current ellipsis mode.
Syntax
FUNCTION GetEllipsisMode (BYVAL hRichEdit AS HWND, BYVAL pmode AS DWORD PTR) AS DWORD
Parameters
| Name | Description | |
|---|---|---|
hRichEdit | The handle of the rich edit control. | |
pmode | Pointer to a DWORD which receives one of the following values. 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 pmode is not NULL, the return value equals TRUE; otherwise, the return value equals FALSE.
Description
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.
Reference
- Defined in AfxNova/CRichEdit.inc:421
- Documented in Windows/WIndows Controls/CRichEdit Class.md
- Topic: CRichEdit Class