Help Center

CRichEditCtx.SetEllipsisModemethod

Windowsmethoddocumented

Syntax

FUNCTION SetEllipsisMode (BYVAL fMode AS DWORD) AS BOOLEAN
Also documented as EllipsisMode — one description covers them all.

Parameters

NameDescription
fMode(SET) One of the values listed below.

Return value

A boolean true(-1) or false (0).

Description

Gets/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.

The bits for these values all fit in the ELLIPSIS_MASK.

Example

(GET) PROPERTY EllipsisMode () AS DWORD (SET) PROPERTY EllipsisMode (BYVAL fMode AS DWORD)

Reference

  • Defined in AfxNova/CRichEditCtx.inc:1157
  • Documented in Windows/WIndows Controls/RichEdit/CRichEditCtx Class.md
  • Topic: CRichEditCtx Class