Help Center

CRichEdit.SetWordWrapModemethod

Sets the word-wrapping and word-breaking options for the rich edit control.

Windowsmethoddocumented

Syntax

FUNCTION SetWordWrapMode (BYVAL hRichEdit AS HWND, BYVAL values AS LONG) AS LONG

Parameters

NameDescription
hRichEditThe handle of the rich edit control.
pvaluesSpecifies one or more of the following values.

Return value

This message returns the current word-wrapping and word-breaking options.

Description

Sets the word-wrapping and word-breaking options for a rich edit control.

Remarks

This message must not be sent by the application defined word breaking procedure.

Reference

  • Defined in AfxNova/CRichEdit.inc:1295
  • Documented in Windows/WIndows Controls/CRichEdit Class.md
  • Topic: CRichEdit Class